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 10 matching lines...) Expand all Loading... |
21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
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/EXTBlendMinMax.h" |
31 #include "core/html/canvas/EXTFragDepth.h" | 32 #include "core/html/canvas/EXTFragDepth.h" |
32 #include "core/html/canvas/EXTShaderTextureLOD.h" | 33 #include "core/html/canvas/EXTShaderTextureLOD.h" |
33 #include "core/html/canvas/EXTTextureFilterAnisotropic.h" | 34 #include "core/html/canvas/EXTTextureFilterAnisotropic.h" |
34 #include "core/html/canvas/OESElementIndexUint.h" | 35 #include "core/html/canvas/OESElementIndexUint.h" |
35 #include "core/html/canvas/OESStandardDerivatives.h" | 36 #include "core/html/canvas/OESStandardDerivatives.h" |
36 #include "core/html/canvas/OESTextureFloat.h" | 37 #include "core/html/canvas/OESTextureFloat.h" |
37 #include "core/html/canvas/OESTextureFloatLinear.h" | 38 #include "core/html/canvas/OESTextureFloatLinear.h" |
38 #include "core/html/canvas/OESTextureHalfFloat.h" | 39 #include "core/html/canvas/OESTextureHalfFloat.h" |
39 #include "core/html/canvas/OESTextureHalfFloatLinear.h" | 40 #include "core/html/canvas/OESTextureHalfFloatLinear.h" |
40 #include "core/html/canvas/OESVertexArrayObject.h" | 41 #include "core/html/canvas/OESVertexArrayObject.h" |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 registerExtension<OESTextureHalfFloatLinear>(m_oesTextureHalfFloatLinear); | 136 registerExtension<OESTextureHalfFloatLinear>(m_oesTextureHalfFloatLinear); |
136 registerExtension<OESVertexArrayObject>(m_oesVertexArrayObject); | 137 registerExtension<OESVertexArrayObject>(m_oesVertexArrayObject); |
137 registerExtension<WebGLCompressedTextureATC>(m_webglCompressedTextureATC, En
abledDraftExtension, webkitPrefix); | 138 registerExtension<WebGLCompressedTextureATC>(m_webglCompressedTextureATC, En
abledDraftExtension, webkitPrefix); |
138 registerExtension<WebGLCompressedTexturePVRTC>(m_webglCompressedTexturePVRTC
, EnabledDraftExtension, webkitPrefix); | 139 registerExtension<WebGLCompressedTexturePVRTC>(m_webglCompressedTexturePVRTC
, EnabledDraftExtension, webkitPrefix); |
139 registerExtension<WebGLCompressedTextureS3TC>(m_webglCompressedTextureS3TC,
ApprovedExtension, bothPrefixes); | 140 registerExtension<WebGLCompressedTextureS3TC>(m_webglCompressedTextureS3TC,
ApprovedExtension, bothPrefixes); |
140 registerExtension<WebGLDepthTexture>(m_webglDepthTexture, ApprovedExtension,
bothPrefixes); | 141 registerExtension<WebGLDepthTexture>(m_webglDepthTexture, ApprovedExtension,
bothPrefixes); |
141 registerExtension<WebGLDrawBuffers>(m_webglDrawBuffers); | 142 registerExtension<WebGLDrawBuffers>(m_webglDrawBuffers); |
142 registerExtension<WebGLLoseContext>(m_webglLoseContext, ApprovedExtension, b
othPrefixes); | 143 registerExtension<WebGLLoseContext>(m_webglLoseContext, ApprovedExtension, b
othPrefixes); |
143 | 144 |
144 // Register draft extensions. | 145 // Register draft extensions. |
| 146 registerExtension<EXTBlendMinMax>(m_extBlendMinMax, DraftExtension); |
145 registerExtension<EXTFragDepth>(m_extFragDepth, DraftExtension); | 147 registerExtension<EXTFragDepth>(m_extFragDepth, DraftExtension); |
146 registerExtension<EXTShaderTextureLOD>(m_extShaderTextureLOD, DraftExtension
); | 148 registerExtension<EXTShaderTextureLOD>(m_extShaderTextureLOD, DraftExtension
); |
147 registerExtension<WebGLCompressedTextureETC1>(m_webglCompressedTextureETC1,
DraftExtension); | 149 registerExtension<WebGLCompressedTextureETC1>(m_webglCompressedTextureETC1,
DraftExtension); |
148 | 150 |
149 // Register privileged extensions. | 151 // Register privileged extensions. |
150 registerExtension<WebGLDebugRendererInfo>(m_webglDebugRendererInfo, WebGLDeb
ugRendererInfoExtension); | 152 registerExtension<WebGLDebugRendererInfo>(m_webglDebugRendererInfo, WebGLDeb
ugRendererInfoExtension); |
151 registerExtension<WebGLDebugShaders>(m_webglDebugShaders, PrivilegedExtensio
n); | 153 registerExtension<WebGLDebugShaders>(m_webglDebugShaders, PrivilegedExtensio
n); |
152 } | 154 } |
153 | 155 |
154 } // namespace WebCore | 156 } // namespace WebCore |
OLD | NEW |