diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 3c8af43e8..723f7f414 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -16042,6 +16042,17 @@ interface WEBGL_compressed_texture_astc { readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR: GLenum; } +interface WEBGL_compressed_texture_etc1 { + readonly COMPRESSED_RGB_ETC1_WEBGL: GLenum; +} + +interface WEBGL_compressed_texture_pvrtc { + readonly COMPRESSED_RGBA_PVRTC_2BPPV1_IMG: GLenum; + readonly COMPRESSED_RGBA_PVRTC_4BPPV1_IMG: GLenum; + readonly COMPRESSED_RGB_PVRTC_2BPPV1_IMG: GLenum; + readonly COMPRESSED_RGB_PVRTC_4BPPV1_IMG: GLenum; +} + /** The WEBGL_compressed_texture_s3tc extension is part of the WebGL API and exposes four S3TC compressed texture formats. */ interface WEBGL_compressed_texture_s3tc { readonly COMPRESSED_RGBA_S3TC_DXT1_EXT: GLenum; diff --git a/baselines/webworker.generated.d.ts b/baselines/webworker.generated.d.ts index 378670cad..a715edfa4 100644 --- a/baselines/webworker.generated.d.ts +++ b/baselines/webworker.generated.d.ts @@ -3291,6 +3291,17 @@ interface WEBGL_compressed_texture_astc { readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR: GLenum; } +interface WEBGL_compressed_texture_etc1 { + readonly COMPRESSED_RGB_ETC1_WEBGL: GLenum; +} + +interface WEBGL_compressed_texture_pvrtc { + readonly COMPRESSED_RGBA_PVRTC_2BPPV1_IMG: GLenum; + readonly COMPRESSED_RGBA_PVRTC_4BPPV1_IMG: GLenum; + readonly COMPRESSED_RGB_PVRTC_2BPPV1_IMG: GLenum; + readonly COMPRESSED_RGB_PVRTC_4BPPV1_IMG: GLenum; +} + /** The WEBGL_compressed_texture_s3tc extension is part of the WebGL API and exposes four S3TC compressed texture formats. */ interface WEBGL_compressed_texture_s3tc { readonly COMPRESSED_RGBA_S3TC_DXT1_EXT: GLenum; diff --git a/inputfiles/idl/WebGL WEBGL_compressed_texture_etc1.widl b/inputfiles/idl/WebGL WEBGL_compressed_texture_etc1.widl new file mode 100644 index 000000000..2be65d9e0 --- /dev/null +++ b/inputfiles/idl/WebGL WEBGL_compressed_texture_etc1.widl @@ -0,0 +1,5 @@ +[Exposed=(Window,Worker), LegacyNoInterfaceObject] +interface WEBGL_compressed_texture_etc1 { + /* Compressed Texture Format */ + const GLenum COMPRESSED_RGB_ETC1_WEBGL = 0x8D64; +}; diff --git a/inputfiles/idl/WebGL WEBGL_compressed_texture_pvrtc.widl b/inputfiles/idl/WebGL WEBGL_compressed_texture_pvrtc.widl new file mode 100644 index 000000000..f17aced3a --- /dev/null +++ b/inputfiles/idl/WebGL WEBGL_compressed_texture_pvrtc.widl @@ -0,0 +1,8 @@ +[Exposed=(Window,Worker), LegacyNoInterfaceObject] +interface WEBGL_compressed_texture_pvrtc { + /* Compressed Texture Formats */ + const GLenum COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 0x8C00; + const GLenum COMPRESSED_RGB_PVRTC_2BPPV1_IMG = 0x8C01; + const GLenum COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02; + const GLenum COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03; +}; diff --git a/inputfiles/idlSources.json b/inputfiles/idlSources.json index a52edd252..9addded7f 100644 --- a/inputfiles/idlSources.json +++ b/inputfiles/idlSources.json @@ -626,6 +626,14 @@ "url": "https://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_s3tc_srgb/", "title": "WebGL WEBGL_compressed_texture_s3tc_srgb" }, + { + "url": "https://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_pvrtc/", + "title": "WebGL WEBGL_compressed_texture_pvrtc" + }, + { + "url": "https://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_etc1/", + "title": "WebGL WEBGL_compressed_texture_etc1" + }, { "url": "https://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/", "title": "WebGL WEBGL_debug_renderer_info"