OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
| 5 // https://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_et
c/ |
| 6 |
5 [ | 7 [ |
6 DependentLifetime, | 8 DependentLifetime, |
7 NoInterfaceObject, | 9 NoInterfaceObject, |
8 DoNotCheckConstants, | 10 DoNotCheckConstants, |
9 ] interface WebGLCompressedTextureETC { | 11 ] interface WebGLCompressedTextureETC { |
10 /* Compressed Texture Format */ | 12 /* Compressed Texture Format */ |
11 const unsigned long COMPRESSED_R11_EAC = 0x9270; | 13 const unsigned long COMPRESSED_R11_EAC = 0x9270; |
12 const unsigned long COMPRESSED_SIGNED_R11_EAC = 0x9271; | 14 const unsigned long COMPRESSED_SIGNED_R11_EAC = 0x9271; |
13 const unsigned long COMPRESSED_RG11_EAC = 0x9272; | 15 const unsigned long COMPRESSED_RG11_EAC = 0x9272; |
14 const unsigned long COMPRESSED_SIGNED_RG11_EAC = 0x9273; | 16 const unsigned long COMPRESSED_SIGNED_RG11_EAC = 0x9273; |
15 const unsigned long COMPRESSED_RGB8_ETC2 = 0x9274; | 17 const unsigned long COMPRESSED_RGB8_ETC2 = 0x9274; |
16 const unsigned long COMPRESSED_SRGB8_ETC2 = 0x9275; | 18 const unsigned long COMPRESSED_SRGB8_ETC2 = 0x9275; |
17 const unsigned long COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 0x9276; | 19 const unsigned long COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 0x9276; |
18 const unsigned long COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 0x9277; | 20 const unsigned long COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 0x9277; |
19 const unsigned long COMPRESSED_RGBA8_ETC2_EAC = 0x9278; | 21 const unsigned long COMPRESSED_RGBA8_ETC2_EAC = 0x9278; |
20 const unsigned long COMPRESSED_SRGB8_ALPHA8_ETC2_EAC = 0x9279; | 22 const unsigned long COMPRESSED_SRGB8_ALPHA8_ETC2_EAC = 0x9279; |
21 }; | 23 }; |
OLD | NEW |