Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(691)

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLCompressedTextureES30.idl

Issue 2354713004: Implement WEBGL_compressed_texture_es3_0 extension for WebGL 1/2 (Closed)
Patch Set: fixup Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/webgl/WebGLCompressedTextureES30.idl
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLCompressedTextureES30.idl b/third_party/WebKit/Source/modules/webgl/WebGLCompressedTextureES30.idl
new file mode 100644
index 0000000000000000000000000000000000000000..6e4847bec564723316b5a0ac0c665adf23beaee0
--- /dev/null
+++ b/third_party/WebKit/Source/modules/webgl/WebGLCompressedTextureES30.idl
@@ -0,0 +1,21 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+[
+ NoInterfaceObject,
+ DoNotCheckConstants,
+ SetWrapperReferenceFrom=canvas,
+] interface WebGLCompressedTextureES30 {
+ /* Compressed Texture Format */
+ const unsigned long COMPRESSED_R11_EAC = 0x9270;
+ const unsigned long COMPRESSED_SIGNED_R11_EAC = 0x9271;
+ const unsigned long COMPRESSED_RG11_EAC = 0x9272;
+ const unsigned long COMPRESSED_SIGNED_RG11_EAC = 0x9273;
+ const unsigned long COMPRESSED_RGB8_ETC2 = 0x9274;
+ const unsigned long COMPRESSED_SRGB8_ETC2 = 0x9275;
+ const unsigned long COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 0x9276;
+ const unsigned long COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 0x9277;
+ const unsigned long COMPRESSED_RGBA8_ETC2_EAC = 0x9278;
+ const unsigned long COMPRESSED_SRGB8_ALPHA8_ETC2_EAC = 0x9279;
+};

Powered by Google App Engine
This is Rietveld 408576698