Name EXT_texture_format_BGRA8888 Name Strings GL_EXT_texture_format_BGRA8888 Notice Copyright Imagination Technologies Limited, 2005. Contact Imagination Technologies Status Shipping Version 1.2, 26 October 2009 Number OpenGL ES Extension #51 Dependencies The extension is written against the OpenGLES 1.0 Specification, which in turn is based OpenGL 1.3. Thus this spec is effectively written against OpenGL 1.3 but does not address sections explicitly removed or reduced by OpenGL-ES 1.0. Overview This extension provides an additional format and type combination for use when specifying texture data. The current allowed combinations are: Internal Format External Format Type Bytes per Pixel --------------- --------------- ---- --------------- RGBA RGBA UNSIGNED_BYTE 4 RGB RGB UNSIGNED_BYTE 3 RGBA RGBA UNSIGNED_SHORT_4_4_4_4 2 RGBA RGBA UNSIGNED_SHORT_5_5_5_1 2 RGB RGB UNSIGNED_SHORT_5_6_5 2 LUMINANCE_ALPHA LUMINANCE_ALPHA UNSIGNED_BYTE 2 LUMINANCE LUMINANCE UNSIGNED_BYTE 1 ALPHA ALPHA UNSIGNED_BYTE 1 This table is extended to include format BGRA_EXT and type UNSIGNED_BYTE: Internal Format External Format Type Bytes per Pixel --------------- --------------- ---- --------------- BGRA_EXT BGRA_EXT UNSIGNED_BYTE 4 RGBA RGBA UNSIGNED_BYTE 4 RGB RGB UNSIGNED_BYTE 3 RGBA RGBA UNSIGNED_SHORT_4_4_4_4 2 RGBA RGBA UNSIGNED_SHORT_5_5_5_1 2 RGB RGB UNSIGNED_SHORT_5_6_5 2 LUMINANCE_ALPHA LUMINANCE_ALPHA UNSIGNED_BYTE 2 LUMINANCE LUMINANCE UNSIGNED_BYTE 1 ALPHA ALPHA UNSIGNED_BYTE 1 IP Status Unknown Issues None. New Procedures and Functions None. New Tokens Accepted by the and parameters of TexImage2D and the parameter of TexSubImage2D: GL_BGRA_EXT 0x80E1 Additions to Chapter 2 of the OpenGL 1.3 Specification (OpenGL Operation) None Additions to Chapter 3 of the OpenGL 1.3 Specification (Rasterization) None Additions to Chapter 4 of the OpenGL 1.3 Specification (Per-Fragment Operations and the Frame Buffer) None Additions to Chapter 5 of the OpenGL 1.3 Specification (Special Functions) None Additions to Chapter 6 of the OpenGL 1.3 Specification (State and State Requests) None Additions to the GLX / WGL / AGL Specifications None GLX Protocol None Errors None New State None New Implementation Dependent State None Revision History 0.1, 26/04/2005 sks: Initial revision. 1.0, 08/05/2005 gdc: Final revision. 1.1, 03/19/2009 Jon Leech: add extension number and fix tabbing / whitespace issues. 1.2, 10/26/2009 Benj Lipchak: add EXT suffix to BGRA token.