| 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 EXTBlendMinMaxName, |
| 13 EXTFragDepthName, | 14 EXTFragDepthName, |
| 14 EXTShaderTextureLODName, | 15 EXTShaderTextureLODName, |
| 15 EXTTextureFilterAnisotropicName, | 16 EXTTextureFilterAnisotropicName, |
| 16 OESElementIndexUintName, | 17 OESElementIndexUintName, |
| 17 OESStandardDerivativesName, | 18 OESStandardDerivativesName, |
| 18 OESTextureFloatLinearName, | 19 OESTextureFloatLinearName, |
| 19 OESTextureFloatName, | 20 OESTextureFloatName, |
| 20 OESTextureHalfFloatLinearName, | 21 OESTextureHalfFloatLinearName, |
| 21 OESTextureHalfFloatName, | 22 OESTextureHalfFloatName, |
| 22 OESVertexArrayObjectName, | 23 OESVertexArrayObjectName, |
| 23 WebGLCompressedTextureATCName, | 24 WebGLCompressedTextureATCName, |
| 24 WebGLCompressedTextureETC1Name, | 25 WebGLCompressedTextureETC1Name, |
| 25 WebGLCompressedTexturePVRTCName, | 26 WebGLCompressedTexturePVRTCName, |
| 26 WebGLCompressedTextureS3TCName, | 27 WebGLCompressedTextureS3TCName, |
| 27 WebGLDebugRendererInfoName, | 28 WebGLDebugRendererInfoName, |
| 28 WebGLDebugShadersName, | 29 WebGLDebugShadersName, |
| 29 WebGLDepthTextureName, | 30 WebGLDepthTextureName, |
| 30 WebGLDrawBuffersName, | 31 WebGLDrawBuffersName, |
| 31 WebGLLoseContextName, | 32 WebGLLoseContextName, |
| 32 WebGLExtensionNameCount, // Must be the last entry | 33 WebGLExtensionNameCount, // Must be the last entry |
| 33 }; | 34 }; |
| 34 | 35 |
| 35 } | 36 } |
| 36 | 37 |
| 37 #endif // WebGLExtensionName_h | 38 #endif // WebGLExtensionName_h |
| OLD | NEW |