15bd8deadSopenharmony_ciName
25bd8deadSopenharmony_ci
35bd8deadSopenharmony_ci    EXT_texture_format_BGRA8888
45bd8deadSopenharmony_ci
55bd8deadSopenharmony_ciName Strings
65bd8deadSopenharmony_ci
75bd8deadSopenharmony_ci    GL_EXT_texture_format_BGRA8888
85bd8deadSopenharmony_ci
95bd8deadSopenharmony_ciNotice
105bd8deadSopenharmony_ci
115bd8deadSopenharmony_ci    Copyright Imagination Technologies Limited, 2005.
125bd8deadSopenharmony_ci
135bd8deadSopenharmony_ciContact
145bd8deadSopenharmony_ci
155bd8deadSopenharmony_ci    Imagination Technologies
165bd8deadSopenharmony_ci
175bd8deadSopenharmony_ciStatus
185bd8deadSopenharmony_ci
195bd8deadSopenharmony_ci    Shipping
205bd8deadSopenharmony_ci
215bd8deadSopenharmony_ciVersion
225bd8deadSopenharmony_ci
235bd8deadSopenharmony_ci    1.3, 12 September 2016
245bd8deadSopenharmony_ci
255bd8deadSopenharmony_ciNumber
265bd8deadSopenharmony_ci
275bd8deadSopenharmony_ci    OpenGL ES Extension #51
285bd8deadSopenharmony_ci
295bd8deadSopenharmony_ciDependencies
305bd8deadSopenharmony_ci
315bd8deadSopenharmony_ci    The extension is written against the OpenGLES 1.0 Specification,
325bd8deadSopenharmony_ci    which in turn is based OpenGL 1.3. Thus this spec is effectively
335bd8deadSopenharmony_ci    written against OpenGL 1.3 but does not address sections explicitly
345bd8deadSopenharmony_ci    removed or reduced by OpenGL-ES 1.0.
355bd8deadSopenharmony_ci    
365bd8deadSopenharmony_ci    This extension has interactions with the OpenGL ES 2.0 API.
375bd8deadSopenharmony_ci
385bd8deadSopenharmony_ciOverview
395bd8deadSopenharmony_ci
405bd8deadSopenharmony_ci    This extension provides an additional format and type combination
415bd8deadSopenharmony_ci    for use when specifying texture data.  The current allowed combinations
425bd8deadSopenharmony_ci    are:
435bd8deadSopenharmony_ci
445bd8deadSopenharmony_ci    Internal Format     External Format Type                    Bytes per Pixel
455bd8deadSopenharmony_ci    ---------------     --------------- ----                    ---------------
465bd8deadSopenharmony_ci    RGBA                RGBA             UNSIGNED_BYTE          4
475bd8deadSopenharmony_ci    RGB                 RGB              UNSIGNED_BYTE          3
485bd8deadSopenharmony_ci    RGBA                RGBA             UNSIGNED_SHORT_4_4_4_4 2
495bd8deadSopenharmony_ci    RGBA                RGBA             UNSIGNED_SHORT_5_5_5_1 2
505bd8deadSopenharmony_ci    RGB                 RGB              UNSIGNED_SHORT_5_6_5   2
515bd8deadSopenharmony_ci    LUMINANCE_ALPHA     LUMINANCE_ALPHA  UNSIGNED_BYTE          2
525bd8deadSopenharmony_ci    LUMINANCE           LUMINANCE        UNSIGNED_BYTE          1
535bd8deadSopenharmony_ci    ALPHA               ALPHA            UNSIGNED_BYTE          1
545bd8deadSopenharmony_ci
555bd8deadSopenharmony_ci
565bd8deadSopenharmony_ci   This table is extended to include format BGRA_EXT and type UNSIGNED_BYTE:
575bd8deadSopenharmony_ci
585bd8deadSopenharmony_ci    Internal Format     External Format Type                    Bytes per Pixel
595bd8deadSopenharmony_ci    ---------------     --------------- ----                    ---------------
605bd8deadSopenharmony_ci    BGRA_EXT            BGRA_EXT        UNSIGNED_BYTE           4
615bd8deadSopenharmony_ci    RGBA                RGBA            UNSIGNED_BYTE           4
625bd8deadSopenharmony_ci    RGB                 RGB             UNSIGNED_BYTE           3
635bd8deadSopenharmony_ci    RGBA                RGBA            UNSIGNED_SHORT_4_4_4_4  2
645bd8deadSopenharmony_ci    RGBA                RGBA            UNSIGNED_SHORT_5_5_5_1  2
655bd8deadSopenharmony_ci    RGB                 RGB             UNSIGNED_SHORT_5_6_5    2
665bd8deadSopenharmony_ci    LUMINANCE_ALPHA     LUMINANCE_ALPHA UNSIGNED_BYTE           2
675bd8deadSopenharmony_ci    LUMINANCE           LUMINANCE       UNSIGNED_BYTE           1
685bd8deadSopenharmony_ci    ALPHA               ALPHA           UNSIGNED_BYTE           1
695bd8deadSopenharmony_ci    
705bd8deadSopenharmony_ci    This format is renderable in versions of OpenGL ES from 2.0 onwards.
715bd8deadSopenharmony_ci
725bd8deadSopenharmony_ciIP Status
735bd8deadSopenharmony_ci
745bd8deadSopenharmony_ci    Unknown
755bd8deadSopenharmony_ci
765bd8deadSopenharmony_ciIssues
775bd8deadSopenharmony_ci
785bd8deadSopenharmony_ci    None.
795bd8deadSopenharmony_ci
805bd8deadSopenharmony_ciNew Procedures and Functions
815bd8deadSopenharmony_ci
825bd8deadSopenharmony_ci    None.
835bd8deadSopenharmony_ci
845bd8deadSopenharmony_ciNew Tokens
855bd8deadSopenharmony_ci
865bd8deadSopenharmony_ci    Accepted by the <format> and <internalformat> parameters of TexImage2D
875bd8deadSopenharmony_ci    and the <format> parameter of TexSubImage2D:
885bd8deadSopenharmony_ci
895bd8deadSopenharmony_ci        GL_BGRA_EXT                                     0x80E1
905bd8deadSopenharmony_ci
915bd8deadSopenharmony_ciAdditions to Chapter 2 of the OpenGL 1.3 Specification (OpenGL Operation)
925bd8deadSopenharmony_ci
935bd8deadSopenharmony_ci    None
945bd8deadSopenharmony_ci
955bd8deadSopenharmony_ciAdditions to Chapter 3 of the OpenGL 1.3 Specification (Rasterization)
965bd8deadSopenharmony_ci
975bd8deadSopenharmony_ci    None
985bd8deadSopenharmony_ci
995bd8deadSopenharmony_ciAdditions to Chapter 4 of the OpenGL 1.3 Specification (Per-Fragment Operations and the Frame Buffer)
1005bd8deadSopenharmony_ci
1015bd8deadSopenharmony_ci    None
1025bd8deadSopenharmony_ci
1035bd8deadSopenharmony_ciAdditions to Chapter 5 of the OpenGL 1.3 Specification (Special Functions)
1045bd8deadSopenharmony_ci
1055bd8deadSopenharmony_ci    None
1065bd8deadSopenharmony_ci
1075bd8deadSopenharmony_ciAdditions to Chapter 6 of the OpenGL 1.3 Specification (State and State Requests)
1085bd8deadSopenharmony_ci
1095bd8deadSopenharmony_ci    None
1105bd8deadSopenharmony_ci
1115bd8deadSopenharmony_ciAdditions to the GLX / WGL / AGL Specifications
1125bd8deadSopenharmony_ci
1135bd8deadSopenharmony_ci    None
1145bd8deadSopenharmony_ci
1155bd8deadSopenharmony_ciGLX Protocol
1165bd8deadSopenharmony_ci
1175bd8deadSopenharmony_ci    None
1185bd8deadSopenharmony_ci
1195bd8deadSopenharmony_ciErrors
1205bd8deadSopenharmony_ci
1215bd8deadSopenharmony_ci    None
1225bd8deadSopenharmony_ci
1235bd8deadSopenharmony_ciNew State
1245bd8deadSopenharmony_ci
1255bd8deadSopenharmony_ci    None
1265bd8deadSopenharmony_ci
1275bd8deadSopenharmony_ciNew Implementation Dependent State
1285bd8deadSopenharmony_ci
1295bd8deadSopenharmony_ci    None
1305bd8deadSopenharmony_ci    
1315bd8deadSopenharmony_ciInteractions with the OpenGL ES 2.0 specification
1325bd8deadSopenharmony_ci
1335bd8deadSopenharmony_ci    Add the following entry to Table 4.5: Renderbuffer image formats,
1345bd8deadSopenharmony_ci    showing their renderable type (color-, depth-, or stencil-renderable)
1355bd8deadSopenharmony_ci    and the number of bits each format contains for color (R, G, B, A),
1365bd8deadSopenharmony_ci    depth (D), and stencil (S) components:
1375bd8deadSopenharmony_ci    
1385bd8deadSopenharmony_ci    |-----------------|------------------|------|------|------|------|------|------|
1395bd8deadSopenharmony_ci    | Sized           | Renderable       | R    | G    | B    | A    | D    | S    |
1405bd8deadSopenharmony_ci    | Internal Format | Type             | bits | bits | bits | bits | bits | bits |
1415bd8deadSopenharmony_ci    |-----------------|------------------|------|------|------|------|------|------|
1425bd8deadSopenharmony_ci    | GL_BGRA_EXT     | color-renderable | 8    | 8    | 8    | 8    |      |      |
1435bd8deadSopenharmony_ci    |-----------------|------------------|------|------|------|------|------|------|
1445bd8deadSopenharmony_ci
1455bd8deadSopenharmony_ciRevision History
1465bd8deadSopenharmony_ci
1475bd8deadSopenharmony_ci    0.1,  26/04/2005  sks:  Initial revision.
1485bd8deadSopenharmony_ci    1.0,  08/05/2005  gdc:  Final revision.
1495bd8deadSopenharmony_ci    1.1,  19/03/2009  Jon Leech: add extension number and fix tabbing /
1505bd8deadSopenharmony_ci                      whitespace issues.
1515bd8deadSopenharmony_ci    1.2,  26/10/2009  Benj Lipchak: add EXT suffix to BGRA token.
1525bd8deadSopenharmony_ci    1.3,  12/09/2016  Tobias Hector: Added interaction with ES 2.0 (made it renderable).
1535bd8deadSopenharmony_ci                      Also made revision dates use the same (dd/mm/yyyy) format.