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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 registerExtension<WebGLCompressedTextureETC1>(m_webglCompressedTextureETC1); | 120 registerExtension<WebGLCompressedTextureETC1>(m_webglCompressedTextureETC1); |
121 registerExtension<WebGLCompressedTexturePVRTC>(m_webglCompressedTexturePVRTC
, ApprovedExtension, bothPrefixes); | 121 registerExtension<WebGLCompressedTexturePVRTC>(m_webglCompressedTexturePVRTC
, ApprovedExtension, bothPrefixes); |
122 registerExtension<WebGLCompressedTextureS3TC>(m_webglCompressedTextureS3TC,
ApprovedExtension, bothPrefixes); | 122 registerExtension<WebGLCompressedTextureS3TC>(m_webglCompressedTextureS3TC,
ApprovedExtension, bothPrefixes); |
123 registerExtension<WebGLDebugRendererInfo>(m_webglDebugRendererInfo); | 123 registerExtension<WebGLDebugRendererInfo>(m_webglDebugRendererInfo); |
124 registerExtension<WebGLDebugShaders>(m_webglDebugShaders); | 124 registerExtension<WebGLDebugShaders>(m_webglDebugShaders); |
125 registerExtension<WebGLDepthTexture>(m_webglDepthTexture, ApprovedExtension,
bothPrefixes); | 125 registerExtension<WebGLDepthTexture>(m_webglDepthTexture, ApprovedExtension,
bothPrefixes); |
126 registerExtension<WebGLDrawBuffers>(m_webglDrawBuffers); | 126 registerExtension<WebGLDrawBuffers>(m_webglDrawBuffers); |
127 registerExtension<WebGLLoseContext>(m_webglLoseContext, ApprovedExtension, b
othPrefixes); | 127 registerExtension<WebGLLoseContext>(m_webglLoseContext, ApprovedExtension, b
othPrefixes); |
128 } | 128 } |
129 | 129 |
130 void WebGLRenderingContext::trace(Visitor* visitor) | 130 DEFINE_TRACE(WebGLRenderingContext) |
131 { | 131 { |
132 visitor->trace(m_angleInstancedArrays); | 132 visitor->trace(m_angleInstancedArrays); |
133 visitor->trace(m_chromiumSubscribeUniform); | 133 visitor->trace(m_chromiumSubscribeUniform); |
134 visitor->trace(m_extBlendMinMax); | 134 visitor->trace(m_extBlendMinMax); |
135 visitor->trace(m_extFragDepth); | 135 visitor->trace(m_extFragDepth); |
136 visitor->trace(m_extShaderTextureLOD); | 136 visitor->trace(m_extShaderTextureLOD); |
137 visitor->trace(m_extsRGB); | 137 visitor->trace(m_extsRGB); |
138 visitor->trace(m_extTextureFilterAnisotropic); | 138 visitor->trace(m_extTextureFilterAnisotropic); |
139 visitor->trace(m_oesTextureFloat); | 139 visitor->trace(m_oesTextureFloat); |
140 visitor->trace(m_oesTextureFloatLinear); | 140 visitor->trace(m_oesTextureFloatLinear); |
141 visitor->trace(m_oesTextureHalfFloat); | 141 visitor->trace(m_oesTextureHalfFloat); |
142 visitor->trace(m_oesTextureHalfFloatLinear); | 142 visitor->trace(m_oesTextureHalfFloatLinear); |
143 visitor->trace(m_oesStandardDerivatives); | 143 visitor->trace(m_oesStandardDerivatives); |
144 visitor->trace(m_oesVertexArrayObject); | 144 visitor->trace(m_oesVertexArrayObject); |
145 visitor->trace(m_oesElementIndexUint); | 145 visitor->trace(m_oesElementIndexUint); |
146 visitor->trace(m_webglLoseContext); | 146 visitor->trace(m_webglLoseContext); |
147 visitor->trace(m_webglDebugRendererInfo); | 147 visitor->trace(m_webglDebugRendererInfo); |
148 visitor->trace(m_webglDebugShaders); | 148 visitor->trace(m_webglDebugShaders); |
149 visitor->trace(m_webglDrawBuffers); | 149 visitor->trace(m_webglDrawBuffers); |
150 visitor->trace(m_webglCompressedTextureATC); | 150 visitor->trace(m_webglCompressedTextureATC); |
151 visitor->trace(m_webglCompressedTextureETC1); | 151 visitor->trace(m_webglCompressedTextureETC1); |
152 visitor->trace(m_webglCompressedTexturePVRTC); | 152 visitor->trace(m_webglCompressedTexturePVRTC); |
153 visitor->trace(m_webglCompressedTextureS3TC); | 153 visitor->trace(m_webglCompressedTextureS3TC); |
154 visitor->trace(m_webglDepthTexture); | 154 visitor->trace(m_webglDepthTexture); |
155 WebGLRenderingContextBase::trace(visitor); | 155 WebGLRenderingContextBase::trace(visitor); |
156 } | 156 } |
157 | 157 |
158 } // namespace blink | 158 } // namespace blink |
OLD | NEW |