Path: blob/main_old/extensions/ANGLE_compressed_texture_etc.txt
1693 views
Name12ANGLE_compressed_texture_etc34Name Strings56GL_ANGLE_compressed_texture_etc78Version910Last Modifed Date: October 5, 20191112Dependencies1314OpenGL ES 2.0 is required.1516Overview1718This extension exposes the OpenGL ES 3.0 core compressed texture19formats in OpenGL ES 2.0.2021New Procedures and Functions2223None2425New Tokens2627Accepted by the <internalformat> parameter of CompressedTexImage2D and the28<format> parameter of CompressedTexSubImage2D:2930COMPRESSED_R11_EAC 0x927031COMPRESSED_SIGNED_R11_EAC 0x927132COMPRESSED_RG11_EAC 0x927233COMPRESSED_SIGNED_RG11_EAC 0x927334COMPRESSED_RGB8_ETC2 0x927435COMPRESSED_SRGB8_ETC2 0x927536COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x927637COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x927738COMPRESSED_RGBA8_ETC2_EAC 0x927839COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x92794041Querying COMPRESSED_TEXTURE_FORMATS will include these new formats.4243New Procedures and Functions4445None.4647Errors4849The error INVALID_VALUE is generated if the <internalformat> parameter of50CompressedTexImage2D or the <format> parameter of CompressedTexSubImage2D is51COMPRESSED_R11_EAC, COMPRESSED_SIGNED_R11_EAC, COMPRESSED_RGB8_ETC2,52COMPRESSED_SRGB8_ETC2, COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 or53COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2, and imageSize is not5455floor((width + 3) / 4) * floor((height + 3) / 4) * 85657The error INVALID_VALUE is generated if the <internalformat> parameter of58CompressedTexImage2D or the <format> paremeter of CompressedTexSubImage2D is59COMPRESSED_RG11_EAC, COMPRESSED_SIGNED_RG11_EAC, COMPRESSED_RGBA8_ETC2_EAC,60or COMPRESSED_SRGB8_ALPHA8_ETC2_EAC, and imageSize is not6162floor((width + 3) / 4) * floor((height + 3) / 4) * 16636465New State6667None.6869Revision History70719/19/2016 First revision7210/5/2019 Rename to ANGLE_compressed_texture_etc737475