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

Unified Diff: Source/modules/webgl/WebGLCompressedTextureASTC.idl

Issue 1265703005: Implement the texture uploading of ASTC compression for WebGL(part II) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add braces. Created 5 years, 4 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
« no previous file with comments | « Source/modules/webgl/WebGLCompressedTextureASTC.cpp ('k') | Source/modules/webgl/WebGLExtensionName.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webgl/WebGLCompressedTextureASTC.idl
diff --git a/Source/modules/webgl/WebGLCompressedTextureASTC.idl b/Source/modules/webgl/WebGLCompressedTextureASTC.idl
new file mode 100644
index 0000000000000000000000000000000000000000..43db7d6b3417e1747d7d3a4b1e63d1c6a6b925b0
--- /dev/null
+++ b/Source/modules/webgl/WebGLCompressedTextureASTC.idl
@@ -0,0 +1,40 @@
+// Copyright 2015 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,
+ GarbageCollected,
+ SetWrapperReferenceFrom=canvas,
+] interface WebGLCompressedTextureASTC {
+ /* Compressed Texture Formats */
+ const unsigned long COMPRESSED_RGBA_ASTC_4x4_KHR = 0x93B0;
+ const unsigned long COMPRESSED_RGBA_ASTC_5x4_KHR = 0x93B1;
+ const unsigned long COMPRESSED_RGBA_ASTC_5x5_KHR = 0x93B2;
+ const unsigned long COMPRESSED_RGBA_ASTC_6x5_KHR = 0x93B3;
+ const unsigned long COMPRESSED_RGBA_ASTC_6x6_KHR = 0x93B4;
+ const unsigned long COMPRESSED_RGBA_ASTC_8x5_KHR = 0x93B5;
+ const unsigned long COMPRESSED_RGBA_ASTC_8x6_KHR = 0x93B6;
+ const unsigned long COMPRESSED_RGBA_ASTC_8x8_KHR = 0x93B7;
+ const unsigned long COMPRESSED_RGBA_ASTC_10x5_KHR = 0x93B8;
+ const unsigned long COMPRESSED_RGBA_ASTC_10x6_KHR = 0x93B9;
+ const unsigned long COMPRESSED_RGBA_ASTC_10x8_KHR = 0x93BA;
+ const unsigned long COMPRESSED_RGBA_ASTC_10x10_KHR = 0x93BB;
+ const unsigned long COMPRESSED_RGBA_ASTC_12x10_KHR = 0x93BC;
+ const unsigned long COMPRESSED_RGBA_ASTC_12x12_KHR = 0x93BD;
+ const unsigned long COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR = 0x93D0;
+ const unsigned long COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR = 0x93D1;
+ const unsigned long COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR = 0x93D2;
+ const unsigned long COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR = 0x93D3;
+ const unsigned long COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR = 0x93D4;
+ const unsigned long COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR = 0x93D5;
+ const unsigned long COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR = 0x93D6;
+ const unsigned long COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR = 0x93D7;
+ const unsigned long COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR = 0x93D8;
+ const unsigned long COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR = 0x93D9;
+ const unsigned long COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR = 0x93DA;
+ const unsigned long COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR = 0x93DB;
+ const unsigned long COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR = 0x93DC;
+ const unsigned long COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR = 0x93DD;
+};
« no previous file with comments | « Source/modules/webgl/WebGLCompressedTextureASTC.cpp ('k') | Source/modules/webgl/WebGLExtensionName.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698