1Name 2 3 ANGLE_compressed_texture_etc 4 5Name Strings 6 7 GL_ANGLE_compressed_texture_etc 8 9Version 10 11 Last Modifed Date: October 5, 2019 12 13Dependencies 14 15 OpenGL ES 2.0 is required. 16 17Overview 18 19 This extension exposes the OpenGL ES 3.0 core compressed texture 20 formats in OpenGL ES 2.0. 21 22New Procedures and Functions 23 24 None 25 26New Tokens 27 28 Accepted by the <internalformat> parameter of CompressedTexImage2D and the 29 <format> parameter of CompressedTexSubImage2D: 30 31 COMPRESSED_R11_EAC 0x9270 32 COMPRESSED_SIGNED_R11_EAC 0x9271 33 COMPRESSED_RG11_EAC 0x9272 34 COMPRESSED_SIGNED_RG11_EAC 0x9273 35 COMPRESSED_RGB8_ETC2 0x9274 36 COMPRESSED_SRGB8_ETC2 0x9275 37 COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276 38 COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277 39 COMPRESSED_RGBA8_ETC2_EAC 0x9278 40 COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279 41 42 Querying COMPRESSED_TEXTURE_FORMATS will include these new formats. 43 44New Procedures and Functions 45 46 None. 47 48Errors 49 50 The error INVALID_VALUE is generated if the <internalformat> parameter of 51 CompressedTexImage2D or the <format> parameter of CompressedTexSubImage2D is 52 COMPRESSED_R11_EAC, COMPRESSED_SIGNED_R11_EAC, COMPRESSED_RGB8_ETC2, 53 COMPRESSED_SRGB8_ETC2, COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 or 54 COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2, and imageSize is not 55 56 floor((width + 3) / 4) * floor((height + 3) / 4) * 8 57 58 The error INVALID_VALUE is generated if the <internalformat> parameter of 59 CompressedTexImage2D or the <format> paremeter of CompressedTexSubImage2D is 60 COMPRESSED_RG11_EAC, COMPRESSED_SIGNED_RG11_EAC, COMPRESSED_RGBA8_ETC2_EAC, 61 or COMPRESSED_SRGB8_ALPHA8_ETC2_EAC, and imageSize is not 62 63 floor((width + 3) / 4) * floor((height + 3) / 4) * 16 64 65 66New State 67 68 None. 69 70Revision History 71 72 9/19/2016 First revision 73 10/5/2019 Rename to ANGLE_compressed_texture_etc 74