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

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

Issue 2346973004: Mark WEBGL_compressed_texture_s3tc_srgb as draft (Closed)
Patch Set: Created 4 years, 3 months 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 | « no previous file | third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "modules/webgl/WebGL2RenderingContext.h" 5 #include "modules/webgl/WebGL2RenderingContext.h"
6 6
7 #include "bindings/modules/v8/OffscreenCanvasRenderingContext2DOrWebGLRenderingC ontextOrWebGL2RenderingContext.h" 7 #include "bindings/modules/v8/OffscreenCanvasRenderingContext2DOrWebGLRenderingC ontextOrWebGL2RenderingContext.h"
8 #include "bindings/modules/v8/RenderingContext.h" 8 #include "bindings/modules/v8/RenderingContext.h"
9 #include "core/frame/LocalFrame.h" 9 #include "core/frame/LocalFrame.h"
10 #include "core/frame/Settings.h" 10 #include "core/frame/Settings.h"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 } 91 }
92 92
93 ImageBitmap* WebGL2RenderingContext::transferToImageBitmap(ExceptionState& excep tionState) 93 ImageBitmap* WebGL2RenderingContext::transferToImageBitmap(ExceptionState& excep tionState)
94 { 94 {
95 NOTIMPLEMENTED(); 95 NOTIMPLEMENTED();
96 return nullptr; 96 return nullptr;
97 } 97 }
98 98
99 void WebGL2RenderingContext::registerContextExtensions() 99 void WebGL2RenderingContext::registerContextExtensions()
100 { 100 {
101 // TODO(kainino): add DraftExtension flag to some of these before WebGL 2
102 // is rolled out.
103 // https://bugs.chromium.org/p/chromium/issues/detail?id=647892
104
101 // Register extensions. 105 // Register extensions.
102 registerExtension<EXTColorBufferFloat>(m_extColorBufferFloat); 106 registerExtension<EXTColorBufferFloat>(m_extColorBufferFloat);
103 registerExtension<EXTDisjointTimerQuery>(m_extDisjointTimerQuery); 107 registerExtension<EXTDisjointTimerQuery>(m_extDisjointTimerQuery);
104 registerExtension<EXTTextureFilterAnisotropic>(m_extTextureFilterAnisotropic ); 108 registerExtension<EXTTextureFilterAnisotropic>(m_extTextureFilterAnisotropic );
105 registerExtension<OESTextureFloatLinear>(m_oesTextureFloatLinear); 109 registerExtension<OESTextureFloatLinear>(m_oesTextureFloatLinear);
106 registerExtension<WebGLCompressedTextureASTC>(m_webglCompressedTextureASTC); 110 registerExtension<WebGLCompressedTextureASTC>(m_webglCompressedTextureASTC);
107 registerExtension<WebGLCompressedTextureATC>(m_webglCompressedTextureATC); 111 registerExtension<WebGLCompressedTextureATC>(m_webglCompressedTextureATC);
108 registerExtension<WebGLCompressedTextureETC1>(m_webglCompressedTextureETC1); 112 registerExtension<WebGLCompressedTextureETC1>(m_webglCompressedTextureETC1);
109 registerExtension<WebGLCompressedTexturePVRTC>(m_webglCompressedTexturePVRTC ); 113 registerExtension<WebGLCompressedTexturePVRTC>(m_webglCompressedTexturePVRTC );
110 registerExtension<WebGLCompressedTextureS3TC>(m_webglCompressedTextureS3TC); 114 registerExtension<WebGLCompressedTextureS3TC>(m_webglCompressedTextureS3TC);
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 visitor->traceWrappers(m_webglCompressedTextureETC1); 147 visitor->traceWrappers(m_webglCompressedTextureETC1);
144 visitor->traceWrappers(m_webglCompressedTexturePVRTC); 148 visitor->traceWrappers(m_webglCompressedTexturePVRTC);
145 visitor->traceWrappers(m_webglCompressedTextureS3TC); 149 visitor->traceWrappers(m_webglCompressedTextureS3TC);
146 visitor->traceWrappers(m_webglCompressedTextureS3TCsRGB); 150 visitor->traceWrappers(m_webglCompressedTextureS3TCsRGB);
147 visitor->traceWrappers(m_webglDebugRendererInfo); 151 visitor->traceWrappers(m_webglDebugRendererInfo);
148 visitor->traceWrappers(m_webglDebugShaders); 152 visitor->traceWrappers(m_webglDebugShaders);
149 visitor->traceWrappers(m_webglLoseContext); 153 visitor->traceWrappers(m_webglLoseContext);
150 } 154 }
151 155
152 } // namespace blink 156 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698