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