15bd8deadSopenharmony_ciName 25bd8deadSopenharmony_ci 35bd8deadSopenharmony_ci EXT_texture_sRGB_RG8 45bd8deadSopenharmony_ci 55bd8deadSopenharmony_ciName Strings 65bd8deadSopenharmony_ci 75bd8deadSopenharmony_ci GL_EXT_texture_sRGB_RG8 85bd8deadSopenharmony_ci 95bd8deadSopenharmony_ciContributors 105bd8deadSopenharmony_ci 115bd8deadSopenharmony_ci Sam Holmes 125bd8deadSopenharmony_ci Maurice Ribble 135bd8deadSopenharmony_ci Tobias Hector 145bd8deadSopenharmony_ci Jan-Harald Fredriksen 155bd8deadSopenharmony_ci Dylan Perks 165bd8deadSopenharmony_ci Contributors to EXT_texture_sRGB_R8, on which this is based. 175bd8deadSopenharmony_ci 185bd8deadSopenharmony_ciContact 195bd8deadSopenharmony_ci 205bd8deadSopenharmony_ci Tobias Hector (tobias.hector 'at' imgtec.com) 215bd8deadSopenharmony_ci 225bd8deadSopenharmony_ciStatus 235bd8deadSopenharmony_ci 245bd8deadSopenharmony_ci Complete. 255bd8deadSopenharmony_ci 265bd8deadSopenharmony_ciVersion 275bd8deadSopenharmony_ci 285bd8deadSopenharmony_ci Last Modified Date: December 11, 2020 295bd8deadSopenharmony_ci Revision: 4 305bd8deadSopenharmony_ci 315bd8deadSopenharmony_ciNumber 325bd8deadSopenharmony_ci 335bd8deadSopenharmony_ci OpenGL ES Extension #223 345bd8deadSopenharmony_ci OpenGL Extension #555 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 SRG8_EXT as an acceptable internal format. 545bd8deadSopenharmony_ci This allows efficient sRGB sampling for source images stored with 2 555bd8deadSopenharmony_ci channels. 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 SRG8_EXT 0x8FBE 685bd8deadSopenharmony_ci 695bd8deadSopenharmony_ciAdditions to Chapter 8 of the OpenGL ES 3.1 Specification (Textures and 705bd8deadSopenharmony_ciSamplers) 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 RG UNSIGNED_BYTE 2 SRG8_EXT 785bd8deadSopenharmony_ci 795bd8deadSopenharmony_ci The following table entry is added to Table 8.13 (Correspondence of sized 805bd8deadSopenharmony_ci internal color formats to base internal formats): 815bd8deadSopenharmony_ci 825bd8deadSopenharmony_ci Sized Internal Format Base Internal Format R G B A S CR TF Req. rend. Req. tex. 835bd8deadSopenharmony_ci --------------------- -------------------- - - - - - -- -- ---------- --------- 845bd8deadSopenharmony_ci SRG8_EXT RG 8 8 X X 855bd8deadSopenharmony_ci 865bd8deadSopenharmony_ci The following table entry is added to Table 8.24 (sRGB texture internal 875bd8deadSopenharmony_ci formats): 885bd8deadSopenharmony_ci 895bd8deadSopenharmony_ci Internal Format 905bd8deadSopenharmony_ci --------------- 915bd8deadSopenharmony_ci SRG8_EXT 925bd8deadSopenharmony_ci 935bd8deadSopenharmony_ciAdditions to Chapter 8 of the OpenGL 4.6 (Core Profile) Specification 945bd8deadSopenharmony_ci(Textures and Samplers) 955bd8deadSopenharmony_ci 965bd8deadSopenharmony_ci The following table entry is added to Table 8.2 (Valid combinations of 975bd8deadSopenharmony_ci format, type and sized internalformat): 985bd8deadSopenharmony_ci 995bd8deadSopenharmony_ci Format Type External Bytes per Pixel Internal Format 1005bd8deadSopenharmony_ci ------ ---- ------------------------ --------------- 1015bd8deadSopenharmony_ci RG UNSIGNED_BYTE 2 SRG8_EXT 1025bd8deadSopenharmony_ci 1035bd8deadSopenharmony_ci The following table entry is added to Table 8.12 (Correspondence of sized 1045bd8deadSopenharmony_ci internal color formats to base internal formats): 1055bd8deadSopenharmony_ci 1065bd8deadSopenharmony_ci Sized Internal Format Base Internal Format R G B A S CR TF Req. rend. Req. tex. 1075bd8deadSopenharmony_ci --------------------- -------------------- - - - - - -- -- ---------- --------- 1085bd8deadSopenharmony_ci SRG8_EXT RG 8 8 X X 1095bd8deadSopenharmony_ci 1105bd8deadSopenharmony_ci The following table entry is added to Table 8.22 (Compatible internal 1115bd8deadSopenharmony_ci formats for TextureView): 1125bd8deadSopenharmony_ci 1135bd8deadSopenharmony_ci Class Internal formats 1145bd8deadSopenharmony_ci --------------- ---------------- 1155bd8deadSopenharmony_ci VIEW_CLASS_16_BITS SRG8_EXT 1165bd8deadSopenharmony_ci 1175bd8deadSopenharmony_ci The following table entry is added to Table 8.24 (sRGB texture internal 1185bd8deadSopenharmony_ci formats): 1195bd8deadSopenharmony_ci 1205bd8deadSopenharmony_ci Internal Format 1215bd8deadSopenharmony_ci --------------- 1225bd8deadSopenharmony_ci SRG8_EXT 1235bd8deadSopenharmony_ci 1245bd8deadSopenharmony_ciDependencies on OpenGL 1255bd8deadSopenharmony_ci 1265bd8deadSopenharmony_ci If OpenGL is not supported, ignore all references to 1D textures, 1275bd8deadSopenharmony_ci including TexImage1D, TexStorage1D, and TextureStorage1D. 1285bd8deadSopenharmony_ci 1295bd8deadSopenharmony_ciDependencies on OpenGL 4.5 and ARB_direct_state_access 1305bd8deadSopenharmony_ci 1315bd8deadSopenharmony_ci If neither OpenGL 4.5 nor ARB_direct_state_access are supported, 1325bd8deadSopenharmony_ci ignore all references to TextureStorage3D, TextureStorage2D, and 1335bd8deadSopenharmony_ci TextureStorage1D. 1345bd8deadSopenharmony_ci 1355bd8deadSopenharmony_ciDependencies on ARB_texture_view 1365bd8deadSopenharmony_ci 1375bd8deadSopenharmony_ci If ARB_texture_view is supported, add SRG8_EXT to the Internal formats 1385bd8deadSopenharmony_ci column of the VIEW_CLASS_16_BITS row in Table 3.X.2. 1395bd8deadSopenharmony_ci 1405bd8deadSopenharmony_ciDependencies on EXT_texture_view 1415bd8deadSopenharmony_ci 1425bd8deadSopenharmony_ci If EXT_texture_view is supported, add SRG8_EXT to the Internal formats 1435bd8deadSopenharmony_ci column of the VIEW_CLASS_16_BITS row in Table 8.X.2. 1445bd8deadSopenharmony_ci 1455bd8deadSopenharmony_ciDependencies on OES_texture_view 1465bd8deadSopenharmony_ci 1475bd8deadSopenharmony_ci If OES_texture_view is supported, add SRG8_EXT to the Internal formats 1485bd8deadSopenharmony_ci column of the VIEW_CLASS_16_BITS row in Table 8.X.2. 1495bd8deadSopenharmony_ci 1505bd8deadSopenharmony_ciErrors 1515bd8deadSopenharmony_ci 1525bd8deadSopenharmony_ci None 1535bd8deadSopenharmony_ci 1545bd8deadSopenharmony_ciNew State 1555bd8deadSopenharmony_ci 1565bd8deadSopenharmony_ci None 1575bd8deadSopenharmony_ci 1585bd8deadSopenharmony_ciRevision History 1595bd8deadSopenharmony_ci 1605bd8deadSopenharmony_ci #01 2/5/2015 Tobias Hector Initial revision. 1615bd8deadSopenharmony_ci #02 2/5/2015 Tobias Hector Fixed Table 8.13 entry and whitespace issues. 1625bd8deadSopenharmony_ci #03 2/17/2015 Tobias Hector Fixed Table 8.2 entry to correctly say 2 bytes. 1635bd8deadSopenharmony_ci #04 12/11/2020 Dylan Perks Add GL interactions and register for GL 164