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

Unified Diff: gpu/blink/webgraphicscontext3d_in_process_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
Index: gpu/blink/webgraphicscontext3d_in_process_command_buffer_impl.cc
diff --git a/gpu/blink/webgraphicscontext3d_in_process_command_buffer_impl.cc b/gpu/blink/webgraphicscontext3d_in_process_command_buffer_impl.cc
index cc7871cb1cd5951a8f7d23e67985a98d466f8a8b..e661fc90696195239dffb9a2985d1e577eb2d26b 100644
--- a/gpu/blink/webgraphicscontext3d_in_process_command_buffer_impl.cc
+++ b/gpu/blink/webgraphicscontext3d_in_process_command_buffer_impl.cc
@@ -82,7 +82,6 @@ WebGraphicsContext3DInProcessCommandBufferImpl::
bool is_offscreen,
gfx::AcceleratedWidget window)
: share_resources_(attributes.shareResources),
- webgl_context_(attributes.webGL),
is_offscreen_(is_offscreen),
window_(window),
context_(context.Pass()) {
@@ -140,9 +139,6 @@ bool WebGraphicsContext3DInProcessCommandBufferImpl::MaybeInitializeGL() {
real_gl_ = context_->GetImplementation();
setGLInterface(real_gl_);
- if (real_gl_ && webgl_context_)
- real_gl_->EnableFeatureCHROMIUM("webgl_enable_glsl_webgl_validation");
-
initialized_ = true;
return true;
}

Powered by Google App Engine
This is Rietveld 408576698