OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 11 matching lines...) Expand all Loading... |
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
24 */ | 24 */ |
25 | 25 |
26 #include "config.h" | 26 #include "config.h" |
27 #include "core/html/canvas/WebGLRenderingContext.h" | 27 #include "core/html/canvas/WebGLRenderingContext.h" |
28 | 28 |
29 #include "core/frame/LocalFrame.h" | 29 #include "core/frame/LocalFrame.h" |
30 #include "core/html/canvas/ANGLEInstancedArrays.h" | 30 #include "core/html/canvas/ANGLEInstancedArrays.h" |
31 #include "core/html/canvas/EXTFragDepth.h" | 31 #include "core/html/canvas/EXTFragDepth.h" |
| 32 #include "core/html/canvas/EXTShaderTextureLOD.h" |
32 #include "core/html/canvas/EXTTextureFilterAnisotropic.h" | 33 #include "core/html/canvas/EXTTextureFilterAnisotropic.h" |
33 #include "core/html/canvas/OESElementIndexUint.h" | 34 #include "core/html/canvas/OESElementIndexUint.h" |
34 #include "core/html/canvas/OESStandardDerivatives.h" | 35 #include "core/html/canvas/OESStandardDerivatives.h" |
35 #include "core/html/canvas/OESTextureFloat.h" | 36 #include "core/html/canvas/OESTextureFloat.h" |
36 #include "core/html/canvas/OESTextureFloatLinear.h" | 37 #include "core/html/canvas/OESTextureFloatLinear.h" |
37 #include "core/html/canvas/OESTextureHalfFloat.h" | 38 #include "core/html/canvas/OESTextureHalfFloat.h" |
38 #include "core/html/canvas/OESTextureHalfFloatLinear.h" | 39 #include "core/html/canvas/OESTextureHalfFloatLinear.h" |
39 #include "core/html/canvas/OESVertexArrayObject.h" | 40 #include "core/html/canvas/OESVertexArrayObject.h" |
40 #include "core/html/canvas/WebGLCompressedTextureATC.h" | 41 #include "core/html/canvas/WebGLCompressedTextureATC.h" |
41 #include "core/html/canvas/WebGLCompressedTexturePVRTC.h" | 42 #include "core/html/canvas/WebGLCompressedTexturePVRTC.h" |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 registerExtension<OESVertexArrayObject>(m_oesVertexArrayObject); | 133 registerExtension<OESVertexArrayObject>(m_oesVertexArrayObject); |
133 registerExtension<WebGLCompressedTextureATC>(m_webglCompressedTextureATC, En
abledDraftExtension, webkitPrefix); | 134 registerExtension<WebGLCompressedTextureATC>(m_webglCompressedTextureATC, En
abledDraftExtension, webkitPrefix); |
134 registerExtension<WebGLCompressedTexturePVRTC>(m_webglCompressedTexturePVRTC
, EnabledDraftExtension, webkitPrefix); | 135 registerExtension<WebGLCompressedTexturePVRTC>(m_webglCompressedTexturePVRTC
, EnabledDraftExtension, webkitPrefix); |
135 registerExtension<WebGLCompressedTextureS3TC>(m_webglCompressedTextureS3TC,
ApprovedExtension, bothPrefixes); | 136 registerExtension<WebGLCompressedTextureS3TC>(m_webglCompressedTextureS3TC,
ApprovedExtension, bothPrefixes); |
136 registerExtension<WebGLDepthTexture>(m_webglDepthTexture, ApprovedExtension,
bothPrefixes); | 137 registerExtension<WebGLDepthTexture>(m_webglDepthTexture, ApprovedExtension,
bothPrefixes); |
137 registerExtension<WebGLDrawBuffers>(m_webglDrawBuffers); | 138 registerExtension<WebGLDrawBuffers>(m_webglDrawBuffers); |
138 registerExtension<WebGLLoseContext>(m_webglLoseContext, ApprovedExtension, b
othPrefixes); | 139 registerExtension<WebGLLoseContext>(m_webglLoseContext, ApprovedExtension, b
othPrefixes); |
139 | 140 |
140 // Register draft extensions. | 141 // Register draft extensions. |
141 registerExtension<EXTFragDepth>(m_extFragDepth, DraftExtension); | 142 registerExtension<EXTFragDepth>(m_extFragDepth, DraftExtension); |
| 143 registerExtension<EXTShaderTextureLOD>(m_extShaderTextureLOD, DraftExtension
); |
142 | 144 |
143 // Register privileged extensions. | 145 // Register privileged extensions. |
144 registerExtension<WebGLDebugRendererInfo>(m_webglDebugRendererInfo, WebGLDeb
ugRendererInfoExtension); | 146 registerExtension<WebGLDebugRendererInfo>(m_webglDebugRendererInfo, WebGLDeb
ugRendererInfoExtension); |
145 registerExtension<WebGLDebugShaders>(m_webglDebugShaders, PrivilegedExtensio
n); | 147 registerExtension<WebGLDebugShaders>(m_webglDebugShaders, PrivilegedExtensio
n); |
146 } | 148 } |
147 | 149 |
148 } // namespace WebCore | 150 } // namespace WebCore |
OLD | NEW |