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

Unified Diff: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc

Issue 1143393007: Teach GPU command buffer whether a context is webgl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 | « no previous file | gpu/blink/webgraphicscontext3d_impl.cc » ('j') | gpu/command_buffer/service/context_group.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
index b06b06ecab371d576b58fc94acfdbbc380ae9aff..bd60ecc9dba40368308a04d805a4e64794034f7b 100644
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
@@ -145,9 +145,6 @@ bool WebGraphicsContext3DCommandBufferImpl::MaybeInitializeGL() {
return false;
}
- if (gl_ && attributes_.webGL)
- gl_->EnableFeatureCHROMIUM("webgl_enable_glsl_webgl_validation");
-
command_buffer_->SetContextLostCallback(
base::Bind(&WebGraphicsContext3DCommandBufferImpl::OnContextLost,
weak_ptr_factory_.GetWeakPtr()));
« no previous file with comments | « no previous file | gpu/blink/webgraphicscontext3d_impl.cc » ('j') | gpu/command_buffer/service/context_group.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698