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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLDebugShaders.cpp

Issue 2670213005: Hook ANGLE_request_extension up to the passthrough cmd decoder. (Closed)
Patch Set: Address zmo@'s comments Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc ('k') | ui/gl/generate_bindings.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/webgl/WebGLDebugShaders.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLDebugShaders.cpp b/third_party/WebKit/Source/modules/webgl/WebGLDebugShaders.cpp
index 26dddd7f93389538db5a38bafc5ccb34907f8be4..a3b880198ffafab3168477aca9ca56dce1828675 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLDebugShaders.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLDebugShaders.cpp
@@ -33,7 +33,10 @@
namespace blink {
WebGLDebugShaders::WebGLDebugShaders(WebGLRenderingContextBase* context)
- : WebGLExtension(context) {}
+ : WebGLExtension(context) {
+ context->extensionsUtil()->ensureExtensionEnabled(
+ "GL_ANGLE_translated_shader_source");
+}
WebGLExtensionName WebGLDebugShaders::name() const {
return WebGLDebugShadersName;
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc ('k') | ui/gl/generate_bindings.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698