From 4cd542fabb7c52b34252803c474222582ef40f3c Mon Sep 17 00:00:00 2001 From: Sukant Pal Date: Mon, 10 Aug 2020 20:12:27 +0000 Subject: [PATCH 1/2] https://github.com/microsoft/TypeScript/issues/39655 --- .../idl/WebGL WEBGL_compressed_texture_atc.widl | 7 +++++++ .../idl/WebGL WEBGL_compressed_texture_etc1.widl | 5 +++++ .../idl/WebGL WEBGL_compressed_texture_pvrtc.widl | 8 ++++++++ inputfiles/idlSources.json | 12 ++++++++++++ 4 files changed, 32 insertions(+) create mode 100644 inputfiles/idl/WebGL WEBGL_compressed_texture_atc.widl create mode 100644 inputfiles/idl/WebGL WEBGL_compressed_texture_etc1.widl create mode 100644 inputfiles/idl/WebGL WEBGL_compressed_texture_pvrtc.widl diff --git a/inputfiles/idl/WebGL WEBGL_compressed_texture_atc.widl b/inputfiles/idl/WebGL WEBGL_compressed_texture_atc.widl new file mode 100644 index 000000000..5edb74a68 --- /dev/null +++ b/inputfiles/idl/WebGL WEBGL_compressed_texture_atc.widl @@ -0,0 +1,7 @@ +[NoInterfaceObject] +interface WEBGL_compressed_texture_atc { + /* Compressed Texture Format */ + const GLenum COMPRESSED_RGB_ATC_WEBGL = 0x8C92; + const GLenum COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C92; // TODO: Is this a bug on the MDN site? + const GLenum COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE; +}; \ No newline at end of file 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..c72f75ffb --- /dev/null +++ b/inputfiles/idl/WebGL WEBGL_compressed_texture_etc1.widl @@ -0,0 +1,5 @@ +[NoInterfaceObject] +interface WEBGL_compressed_texture_etc1 { + /* Compressed Texture Format */ + const GLenum COMPRESSED_RGB_ETC1_WEBGL = 0x8D64; +}; \ No newline at end of file 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..7d064e504 --- /dev/null +++ b/inputfiles/idl/WebGL WEBGL_compressed_texture_pvrtc.widl @@ -0,0 +1,8 @@ +[NoInterfaceObject] +interface WEBGL_compressed_texture_pvrtc { + /* Compressed Texture Formats */ + const GLenum COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 0x8C00; + const GLenum COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02; + const GLenum COMPRESSED_RGB_PVRTC_2BPPV1_IMG = 0x8C01; + const GLenum COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03; +}; \ No newline at end of file diff --git a/inputfiles/idlSources.json b/inputfiles/idlSources.json index a8e0bd4b2..9560c884c 100644 --- a/inputfiles/idlSources.json +++ b/inputfiles/idlSources.json @@ -615,6 +615,18 @@ "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_compressed_texture_atc/", + "title": "WebGL WEBGL_compressed_texture_atc" + }, { "url": "https://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/", "title": "WebGL WEBGL_debug_renderer_info" From 37cbe46cf4858ef375ad911af3fbdd274f250f43 Mon Sep 17 00:00:00 2001 From: Sukant Pal Date: Thu, 20 Aug 2020 03:11:22 +0000 Subject: [PATCH 2/2] Remove WEBGL_compressed_texture_atc, as requested by @saschanaz --- inputfiles/idl/WebGL WEBGL_compressed_texture_atc.widl | 7 ------- inputfiles/idlSources.json | 4 ---- 2 files changed, 11 deletions(-) delete mode 100644 inputfiles/idl/WebGL WEBGL_compressed_texture_atc.widl diff --git a/inputfiles/idl/WebGL WEBGL_compressed_texture_atc.widl b/inputfiles/idl/WebGL WEBGL_compressed_texture_atc.widl deleted file mode 100644 index 5edb74a68..000000000 --- a/inputfiles/idl/WebGL WEBGL_compressed_texture_atc.widl +++ /dev/null @@ -1,7 +0,0 @@ -[NoInterfaceObject] -interface WEBGL_compressed_texture_atc { - /* Compressed Texture Format */ - const GLenum COMPRESSED_RGB_ATC_WEBGL = 0x8C92; - const GLenum COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C92; // TODO: Is this a bug on the MDN site? - const GLenum COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE; -}; \ No newline at end of file diff --git a/inputfiles/idlSources.json b/inputfiles/idlSources.json index 9560c884c..546a4c81b 100644 --- a/inputfiles/idlSources.json +++ b/inputfiles/idlSources.json @@ -623,10 +623,6 @@ "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_compressed_texture_atc/", - "title": "WebGL WEBGL_compressed_texture_atc" - }, { "url": "https://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/", "title": "WebGL WEBGL_debug_renderer_info"