15bd8deadSopenharmony_ciName
25bd8deadSopenharmony_ci
35bd8deadSopenharmony_ci    EXT_texture_sRGB_R8
45bd8deadSopenharmony_ci
55bd8deadSopenharmony_ciName Strings
65bd8deadSopenharmony_ci
75bd8deadSopenharmony_ci    GL_EXT_texture_sRGB_R8
85bd8deadSopenharmony_ci
95bd8deadSopenharmony_ciContributors
105bd8deadSopenharmony_ci
115bd8deadSopenharmony_ci    Sam Holmes
125bd8deadSopenharmony_ci    Maurice Ribble
135bd8deadSopenharmony_ci    Daniel Koch
145bd8deadSopenharmony_ci    Tobias Hector
155bd8deadSopenharmony_ci    Jan-Harald Fredriksen
165bd8deadSopenharmony_ci    Sourav Parmar
175bd8deadSopenharmony_ci
185bd8deadSopenharmony_ciContact
195bd8deadSopenharmony_ci
205bd8deadSopenharmony_ci    Maurice Ribble (mribble 'at' qti.qualcomm.com)
215bd8deadSopenharmony_ci
225bd8deadSopenharmony_ciStatus
235bd8deadSopenharmony_ci
245bd8deadSopenharmony_ci    Complete.
255bd8deadSopenharmony_ci
265bd8deadSopenharmony_ciVersion
275bd8deadSopenharmony_ci
285bd8deadSopenharmony_ci    Last Modified Date: November 30, 2018
295bd8deadSopenharmony_ci    Revision: 5
305bd8deadSopenharmony_ci
315bd8deadSopenharmony_ciNumber
325bd8deadSopenharmony_ci
335bd8deadSopenharmony_ci    OpenGL ES Extension #221
345bd8deadSopenharmony_ci    OpenGL Extension #534
355bd8deadSopenharmony_ci
365bd8deadSopenharmony_ciDependencies
375bd8deadSopenharmony_ci
385bd8deadSopenharmony_ci    OpenGL ES 3.0 or OpenGL 1.2 is required.
395bd8deadSopenharmony_ci
405bd8deadSopenharmony_ci    This extension is written against the OpenGL ES 3.1 and
415bd8deadSopenharmony_ci    OpenGL 4.6 (Core Profile) specifications.
425bd8deadSopenharmony_ci
435bd8deadSopenharmony_ci    This extension interacts with ARB_texture_view.
445bd8deadSopenharmony_ci
455bd8deadSopenharmony_ci    This extension interacts with EXT_texture_view.
465bd8deadSopenharmony_ci
475bd8deadSopenharmony_ci    This extension interacts with OES_texture_view.
485bd8deadSopenharmony_ci
495bd8deadSopenharmony_ci    This extension interacts with ARB_direct_state_access.
505bd8deadSopenharmony_ci
515bd8deadSopenharmony_ciOverview
525bd8deadSopenharmony_ci
535bd8deadSopenharmony_ci    This extension introduces SR8_EXT as an acceptable internal format.
545bd8deadSopenharmony_ci    This allows efficient sRGB sampling for source images stored as a separate
555bd8deadSopenharmony_ci    texture per channel.
565bd8deadSopenharmony_ci
575bd8deadSopenharmony_ciNew Procedures and Functions
585bd8deadSopenharmony_ci
595bd8deadSopenharmony_ci    None
605bd8deadSopenharmony_ci
615bd8deadSopenharmony_ciNew Tokens
625bd8deadSopenharmony_ci
635bd8deadSopenharmony_ci    Accepted by the <internalformat> parameters of TexImage3D, TexImage2D,
645bd8deadSopenharmony_ci    TexImage1D, TexStorage3D, TexStorage2D, TexStorage1D, TextureStorage3D,
655bd8deadSopenharmony_ci    TextureStorage2D, and TextureStorage1D:
665bd8deadSopenharmony_ci
675bd8deadSopenharmony_ci        SR8_EXT    0x8FBD
685bd8deadSopenharmony_ci
695bd8deadSopenharmony_ciAdditions to Chapter 8 of the OpenGL ES 3.1 Specification [GL 4.6 core
705bd8deadSopenharmony_cispecification] (Textures and Samplers)
715bd8deadSopenharmony_ci
725bd8deadSopenharmony_ci    The following table entry is added to Table 8.2 (Valid combinations of
735bd8deadSopenharmony_ci    format, type and sized internalformat):
745bd8deadSopenharmony_ci
755bd8deadSopenharmony_ci        Format    Type             External Bytes per Pixel    Internal Format
765bd8deadSopenharmony_ci        ------    ----             ------------------------    ---------------
775bd8deadSopenharmony_ci        RED       UNSIGNED_BYTE    1                           SR8_EXT
785bd8deadSopenharmony_ci
795bd8deadSopenharmony_ci    The following table entry is added to Table 8.13 [8.12 in the GL 4.6 core
805bd8deadSopenharmony_ci    profile] (Correspondence of sized internal color formats to base internal
815bd8deadSopenharmony_ci    formats):
825bd8deadSopenharmony_ci
835bd8deadSopenharmony_ci        Sized Internal Format    Base Internal Format    R    G    B    A    S    CR    TF    Req. rend.    Req. tex.
845bd8deadSopenharmony_ci        ---------------------    --------------------    -    -    -    -    -    --    --    ----------    ---------
855bd8deadSopenharmony_ci        SR8_EXT                  RED                     8                              X                      X
865bd8deadSopenharmony_ci
875bd8deadSopenharmony_ci    The following table entry is added to Table 8.22 in the GL 4.6 core profile
885bd8deadSopenharmony_ci    (Compatible internal formats for TextureView):
895bd8deadSopenharmony_ci
905bd8deadSopenharmony_ci        Class              Internal formats
915bd8deadSopenharmony_ci        ---------------    ----------------
925bd8deadSopenharmony_ci        VIEW_CLASS_8_BITS  SR8_EXT
935bd8deadSopenharmony_ci
945bd8deadSopenharmony_ci    The following table entry is added to Table 8.24 [8.24 in the GL 4.6 core
955bd8deadSopenharmony_ci    profile] (sRGB texture internal formats):
965bd8deadSopenharmony_ci
975bd8deadSopenharmony_ci        Internal Format
985bd8deadSopenharmony_ci        ---------------
995bd8deadSopenharmony_ci        SR8_EXT
1005bd8deadSopenharmony_ci
1015bd8deadSopenharmony_ciDependencies on OpenGL
1025bd8deadSopenharmony_ci
1035bd8deadSopenharmony_ci    If OpenGL is not supported, ignore all references to 1D textures,
1045bd8deadSopenharmony_ci    including TexImage1D, TexStorage1D, and TextureStorage1D.
1055bd8deadSopenharmony_ci
1065bd8deadSopenharmony_ciDependencies on OpenGL 4.5 and ARB_direct_state_access
1075bd8deadSopenharmony_ci
1085bd8deadSopenharmony_ci    If neither OpenGL 4.5 nor ARB_direct_state_access are supported,
1095bd8deadSopenharmony_ci    ignore all references to TextureStorage3D, TextureStorage2D, and
1105bd8deadSopenharmony_ci    TextureStorage1D.
1115bd8deadSopenharmony_ci
1125bd8deadSopenharmony_ciDependencies on ARB_texture_view
1135bd8deadSopenharmony_ci
1145bd8deadSopenharmony_ci    If ARB_texture_view is supported, add SR8_EXT to the Internal formats
1155bd8deadSopenharmony_ci    column of the VIEW_CLASS_8_BITS row in Table 3.X.2.
1165bd8deadSopenharmony_ci
1175bd8deadSopenharmony_ciDependencies on EXT_texture_view
1185bd8deadSopenharmony_ci
1195bd8deadSopenharmony_ci    If EXT_texture_view is supported, add SR8_EXT to the Internal formats
1205bd8deadSopenharmony_ci    column of the VIEW_CLASS_8_BITS row in Table 8.X.2.
1215bd8deadSopenharmony_ci
1225bd8deadSopenharmony_ciDependencies on OES_texture_view
1235bd8deadSopenharmony_ci
1245bd8deadSopenharmony_ci    If OES_texture_view is supported, add SR8_EXT to the Internal formats
1255bd8deadSopenharmony_ci    column of the VIEW_CLASS_8_BITS row in Table 8.X.2.
1265bd8deadSopenharmony_ci
1275bd8deadSopenharmony_ciErrors
1285bd8deadSopenharmony_ci
1295bd8deadSopenharmony_ci    None
1305bd8deadSopenharmony_ci
1315bd8deadSopenharmony_ciNew State
1325bd8deadSopenharmony_ci
1335bd8deadSopenharmony_ci    None
1345bd8deadSopenharmony_ci
1355bd8deadSopenharmony_ciRevision History
1365bd8deadSopenharmony_ci
1375bd8deadSopenharmony_ci
1385bd8deadSopenharmony_ci  Rev    Date        Author          Description
1395bd8deadSopenharmony_ci  ----   ----------  --------------  ---------------------------------
1405bd8deadSopenharmony_ci    1    1/9/2015    Sam Holmes      Initial revision.
1415bd8deadSopenharmony_ci    2    1/21/2015   Maurice Ribble  Cleanup minor issues
1425bd8deadSopenharmony_ci    3    1/22/2015   Tobias Hector   Removed "GL_" prefix and somewhat confusing version language.
1435bd8deadSopenharmony_ci    4    1/28/2015   Sam Holmes      Remove redundant specification of errors and clean up internal format name.
1445bd8deadSopenharmony_ci    5    11/30/2018  Sourav Parmar   Add GL interactions and register for GL.
145