xref: /aosp_15_r20/external/angle/extensions/ANGLE_rgbx_internal_format.txt (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1Name
2
3    ANGLE_rgbx_internal_format
4
5Name Strings
6
7    GL_ANGLE_rgbx_internal_format
8
9Contributors
10
11    Tim Van Patten, Google
12
13Contacts
14
15    Tim Van Patten, Google (timvp 'at' google 'dot' com)
16
17Notice
18
19    Copyright (c) 2021 The Khronos Group Inc. Copyright terms at
20        http://www.khronos.org/registry/speccopyright.html
21
22Status
23
24    Draft.
25
26Version
27
28    Version 1, November 22, 2021
29
30Number
31
32    OpenGL ES Extension ###
33
34Dependencies
35
36    OpenGL ES 2.0 is required.
37
38Overview
39
40    This extension introduces a sized internal RGBX format. This is a 32-bit representation of the
41    24-bit RGB format, with the Alpha channel ignored.
42
43    glBlitFramebuffer() will treat RGBX8 as RGB8 when validating the formats for the READ and DRAW
44    framebuffers match, since the X channel is ignored.
45
46    glReadPixels() will accept the following format+type combinations:
47        1. format = GL_RGBX8_ANGLE, type = GL_UNSIGNED_BYTE
48
49    glTexSubImage* will accept the following format+type combinations:
50        1. format = GL_RGB, type = GL_UNSIGNED_BYTE
51
52New Types
53
54    None.
55
56New Procedures and Functions
57
58    None.
59
60New Tokens
61
62    // 32-bit RGBX format
63    GL_RGBX8_ANGLE                    0x96BA
64
65Issues
66
67    None.
68
69Revision History
70
71    #1 - (November 22, 2021) Tim Van Patten
72         Original draft
73