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