Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.cpp

Issue 2567303004: Move WEBGL_compressed_texture_astc out of draft for WebGL 1 and 2 (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/modules/webgl/WebGL2RenderingContext.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 registerExtension<EXTsRGB>(m_extsRGB); 180 registerExtension<EXTsRGB>(m_extsRGB);
181 registerExtension<EXTTextureFilterAnisotropic>( 181 registerExtension<EXTTextureFilterAnisotropic>(
182 m_extTextureFilterAnisotropic, ApprovedExtension, bothPrefixes); 182 m_extTextureFilterAnisotropic, ApprovedExtension, bothPrefixes);
183 registerExtension<OESElementIndexUint>(m_oesElementIndexUint); 183 registerExtension<OESElementIndexUint>(m_oesElementIndexUint);
184 registerExtension<OESStandardDerivatives>(m_oesStandardDerivatives); 184 registerExtension<OESStandardDerivatives>(m_oesStandardDerivatives);
185 registerExtension<OESTextureFloat>(m_oesTextureFloat); 185 registerExtension<OESTextureFloat>(m_oesTextureFloat);
186 registerExtension<OESTextureFloatLinear>(m_oesTextureFloatLinear); 186 registerExtension<OESTextureFloatLinear>(m_oesTextureFloatLinear);
187 registerExtension<OESTextureHalfFloat>(m_oesTextureHalfFloat); 187 registerExtension<OESTextureHalfFloat>(m_oesTextureHalfFloat);
188 registerExtension<OESTextureHalfFloatLinear>(m_oesTextureHalfFloatLinear); 188 registerExtension<OESTextureHalfFloatLinear>(m_oesTextureHalfFloatLinear);
189 registerExtension<OESVertexArrayObject>(m_oesVertexArrayObject); 189 registerExtension<OESVertexArrayObject>(m_oesVertexArrayObject);
190 registerExtension<WebGLCompressedTextureASTC>(m_webglCompressedTextureASTC, 190 registerExtension<WebGLCompressedTextureASTC>(m_webglCompressedTextureASTC);
191 DraftExtension);
192 registerExtension<WebGLCompressedTextureATC>(m_webglCompressedTextureATC, 191 registerExtension<WebGLCompressedTextureATC>(m_webglCompressedTextureATC,
193 ApprovedExtension, bothPrefixes); 192 ApprovedExtension, bothPrefixes);
194 registerExtension<WebGLCompressedTextureETC>(m_webglCompressedTextureETC, 193 registerExtension<WebGLCompressedTextureETC>(m_webglCompressedTextureETC,
195 DraftExtension); 194 DraftExtension);
196 registerExtension<WebGLCompressedTextureETC1>(m_webglCompressedTextureETC1); 195 registerExtension<WebGLCompressedTextureETC1>(m_webglCompressedTextureETC1);
197 registerExtension<WebGLCompressedTexturePVRTC>( 196 registerExtension<WebGLCompressedTexturePVRTC>(
198 m_webglCompressedTexturePVRTC, ApprovedExtension, bothPrefixes); 197 m_webglCompressedTexturePVRTC, ApprovedExtension, bothPrefixes);
199 registerExtension<WebGLCompressedTextureS3TC>( 198 registerExtension<WebGLCompressedTextureS3TC>(
200 m_webglCompressedTextureS3TC, ApprovedExtension, bothPrefixes); 199 m_webglCompressedTextureS3TC, ApprovedExtension, bothPrefixes);
201 registerExtension<WebGLCompressedTextureS3TCsRGB>( 200 registerExtension<WebGLCompressedTextureS3TCsRGB>(
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 visitor->trace(m_webglDepthTexture); 237 visitor->trace(m_webglDepthTexture);
239 WebGLRenderingContextBase::trace(visitor); 238 WebGLRenderingContextBase::trace(visitor);
240 } 239 }
241 240
242 DEFINE_TRACE_WRAPPERS(WebGLRenderingContext) { 241 DEFINE_TRACE_WRAPPERS(WebGLRenderingContext) {
243 // Extensions are managed base WebGLRenderingContextBase. 242 // Extensions are managed base WebGLRenderingContextBase.
244 WebGLRenderingContextBase::traceWrappers(visitor); 243 WebGLRenderingContextBase::traceWrappers(visitor);
245 } 244 }
246 245
247 } // namespace blink 246 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/webgl/WebGL2RenderingContext.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698