OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef WebGLExtensionName_h | 5 #ifndef WebGLExtensionName_h |
6 #define WebGLExtensionName_h | 6 #define WebGLExtensionName_h |
7 | 7 |
8 namespace WebCore { | 8 namespace WebCore { |
9 | 9 |
10 // Extension names are needed to properly wrap instances in JavaScript objects. | 10 // Extension names are needed to properly wrap instances in JavaScript objects. |
11 enum WebGLExtensionName { | 11 enum WebGLExtensionName { |
12 ANGLEInstancedArraysName, | 12 ANGLEInstancedArraysName, |
13 EXTFragDepthName, | 13 EXTFragDepthName, |
| 14 EXTShaderTextureLODName, |
14 EXTTextureFilterAnisotropicName, | 15 EXTTextureFilterAnisotropicName, |
15 OESElementIndexUintName, | 16 OESElementIndexUintName, |
16 OESStandardDerivativesName, | 17 OESStandardDerivativesName, |
17 OESTextureFloatLinearName, | 18 OESTextureFloatLinearName, |
18 OESTextureFloatName, | 19 OESTextureFloatName, |
19 OESTextureHalfFloatLinearName, | 20 OESTextureHalfFloatLinearName, |
20 OESTextureHalfFloatName, | 21 OESTextureHalfFloatName, |
21 OESVertexArrayObjectName, | 22 OESVertexArrayObjectName, |
22 WebGLCompressedTextureATCName, | 23 WebGLCompressedTextureATCName, |
23 WebGLCompressedTexturePVRTCName, | 24 WebGLCompressedTexturePVRTCName, |
24 WebGLCompressedTextureS3TCName, | 25 WebGLCompressedTextureS3TCName, |
25 WebGLDebugRendererInfoName, | 26 WebGLDebugRendererInfoName, |
26 WebGLDebugShadersName, | 27 WebGLDebugShadersName, |
27 WebGLDepthTextureName, | 28 WebGLDepthTextureName, |
28 WebGLDrawBuffersName, | 29 WebGLDrawBuffersName, |
29 WebGLLoseContextName, | 30 WebGLLoseContextName, |
30 WebGLExtensionNameCount, // Must be the last entry | 31 WebGLExtensionNameCount, // Must be the last entry |
31 }; | 32 }; |
32 | 33 |
33 } | 34 } |
34 | 35 |
35 #endif // WebGLExtensionName_h | 36 #endif // WebGLExtensionName_h |
OLD | NEW |