15bd8deadSopenharmony_ciName 
25bd8deadSopenharmony_ci
35bd8deadSopenharmony_ci    IMG_read_format 
45bd8deadSopenharmony_ci
55bd8deadSopenharmony_ciName Strings 
65bd8deadSopenharmony_ci
75bd8deadSopenharmony_ci    GL_IMG_read_format 
85bd8deadSopenharmony_ci
95bd8deadSopenharmony_ciNotice
105bd8deadSopenharmony_ci
115bd8deadSopenharmony_ci    Copyright Imagination Technologies Limited, 2005, 2008.
125bd8deadSopenharmony_ci
135bd8deadSopenharmony_ciContact 
145bd8deadSopenharmony_ci
155bd8deadSopenharmony_ci    Imagination Technologies (devtech 'at' imgtec 'dot' com)
165bd8deadSopenharmony_ci
175bd8deadSopenharmony_ciStatus 
185bd8deadSopenharmony_ci
195bd8deadSopenharmony_ci    Complete
205bd8deadSopenharmony_ci
215bd8deadSopenharmony_ciVersion 
225bd8deadSopenharmony_ci
235bd8deadSopenharmony_ci    Version 1.0
245bd8deadSopenharmony_ci
255bd8deadSopenharmony_ciNumber
265bd8deadSopenharmony_ci
275bd8deadSopenharmony_ci    OpenGL ES Extension #53
285bd8deadSopenharmony_ci
295bd8deadSopenharmony_ciDependencies 
305bd8deadSopenharmony_ci
315bd8deadSopenharmony_ci    GL_OES_read_format is required
325bd8deadSopenharmony_ci
335bd8deadSopenharmony_ci    The extension is written against the OpenGLES 1.0 Specification, 
345bd8deadSopenharmony_ci    which in turn is based OpenGL 1.3. Thus this spec is effectively 
355bd8deadSopenharmony_ci    written against OpenGL 1.3 but does not address sections explicitly 
365bd8deadSopenharmony_ci    removed or reduced by OpenGL-ES 1.0.
375bd8deadSopenharmony_ci
385bd8deadSopenharmony_ciOverview 
395bd8deadSopenharmony_ci    
405bd8deadSopenharmony_ci    This extension is intended to supplement the GL_OES_read_format
415bd8deadSopenharmony_ci    extension by adding support for more format/type combinations to be used
425bd8deadSopenharmony_ci    when calling ReadPixels.  ReadPixels currently accepts one fixed
435bd8deadSopenharmony_ci    format/type combination (format RGBA and type UNSIGNED_BYTE) for
445bd8deadSopenharmony_ci    portability, and an implementation specific format/type combination
455bd8deadSopenharmony_ci    queried using the tokens IMPLEMENTATION_COLOR_READ_FORMAT_OES and
465bd8deadSopenharmony_ci    IMPLEMENTATION_COLOR_READ_TYPE_OES (GL_OES_read_format extension).  This
475bd8deadSopenharmony_ci    extension adds the following format/type combinations to those currently
485bd8deadSopenharmony_ci    allowed to be returned by GetIntegerV:
495bd8deadSopenharmony_ci
505bd8deadSopenharmony_ci    format                      type
515bd8deadSopenharmony_ci    ------                      ----
525bd8deadSopenharmony_ci    BGRA_IMG                    UNSIGNED_BYTE
535bd8deadSopenharmony_ci    BGRA_IMG                    UNSIGNED_SHORT_4_4_4_4_REV_IMG
545bd8deadSopenharmony_ci
555bd8deadSopenharmony_ci    E.g. Calling GetIntegerv with a <pname> parameter of
565bd8deadSopenharmony_ci    IMPLEMENTATION_COLOR_READ_FORMAT_OES can now return BGRA, with the
575bd8deadSopenharmony_ci    corresponding call to GetIntegerv using a <pname> parameter of
585bd8deadSopenharmony_ci    IMPLEMENTATION_COLOR_READ_TYPE_OES returning UNSIGNED_BYTE;
595bd8deadSopenharmony_ci     
605bd8deadSopenharmony_ciIP Status 
615bd8deadSopenharmony_ci
625bd8deadSopenharmony_ci    Unknown
635bd8deadSopenharmony_ci
645bd8deadSopenharmony_ciIssues 
655bd8deadSopenharmony_ci
665bd8deadSopenharmony_ci    None.
675bd8deadSopenharmony_ci
685bd8deadSopenharmony_ciNew Procedures and Functions 
695bd8deadSopenharmony_ci
705bd8deadSopenharmony_ci    None.
715bd8deadSopenharmony_ci
725bd8deadSopenharmony_ciNew Tokens 
735bd8deadSopenharmony_ci
745bd8deadSopenharmony_ci    Accepted by the <format> parameter of ReadPixels:
755bd8deadSopenharmony_ci
765bd8deadSopenharmony_ci        GL_BGRA_IMG                          0x80E1
775bd8deadSopenharmony_ci        GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG    0x8365
785bd8deadSopenharmony_ci
795bd8deadSopenharmony_ciAdditions to Chapter 2 of the OpenGL 1.3 Specification (OpenGL Operation)
805bd8deadSopenharmony_ci
815bd8deadSopenharmony_ci    None
825bd8deadSopenharmony_ci
835bd8deadSopenharmony_ciAdditions to Chapter 3 of the OpenGL 1.3 Specification (Rasterization)
845bd8deadSopenharmony_ci
855bd8deadSopenharmony_ci    None
865bd8deadSopenharmony_ci
875bd8deadSopenharmony_ciAdditions to Chapter 4 of the OpenGL 1.3 Specification (Per-Fragment Operations and the Frame Buffer)
885bd8deadSopenharmony_ci
895bd8deadSopenharmony_ci    None
905bd8deadSopenharmony_ci
915bd8deadSopenharmony_ciAdditions to Chapter 5 of the OpenGL 1.3 Specification (Special Functions)
925bd8deadSopenharmony_ci
935bd8deadSopenharmony_ci    None
945bd8deadSopenharmony_ci
955bd8deadSopenharmony_ciAdditions to Chapter 6 of the OpenGL 1.3 Specification (State and State Requests)
965bd8deadSopenharmony_ci
975bd8deadSopenharmony_ci    None
985bd8deadSopenharmony_ci
995bd8deadSopenharmony_ciErrors 
1005bd8deadSopenharmony_ci
1015bd8deadSopenharmony_ci    None
1025bd8deadSopenharmony_ci
1035bd8deadSopenharmony_ciNew State
1045bd8deadSopenharmony_ci
1055bd8deadSopenharmony_ci    None
1065bd8deadSopenharmony_ci
1075bd8deadSopenharmony_ciNew Implementation Dependent State
1085bd8deadSopenharmony_ci
1095bd8deadSopenharmony_ci    None
1105bd8deadSopenharmony_ci
1115bd8deadSopenharmony_ciRevision History
1125bd8deadSopenharmony_ci
1135bd8deadSopenharmony_ci    1.0,  10/04/2008  gdc:  Tidied for publication.
1145bd8deadSopenharmony_ci    0.2,  25/07/2005  sks:  Added 4444.
1155bd8deadSopenharmony_ci    0.1,  18/04/2005  sks:  Initial revision.
116