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

Unified Diff: components/mus/gles2/command_buffer_driver.cc

Issue 1343303003: Revert of Mandoline: Add WebGL support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
Index: components/mus/gles2/command_buffer_driver.cc
diff --git a/components/mus/gles2/command_buffer_driver.cc b/components/mus/gles2/command_buffer_driver.cc
index 350f5121f522cf6229227fd7a9e5538d880e6093..7207b037228901aa4f086a5b72f93c8811201d1a 100644
--- a/components/mus/gles2/command_buffer_driver.cc
+++ b/components/mus/gles2/command_buffer_driver.cc
@@ -114,10 +114,10 @@
gpu::gles2::DisallowedFeatures disallowed_features;
// TODO(piman): attributes.
- const bool offscreen = true;
std::vector<int32> attrib_vector;
- if (!decoder_->Initialize(surface_, context_, offscreen, gfx::Size(1, 1),
- disallowed_features, attrib_vector))
+ if (!decoder_->Initialize(surface_, context_, false /* offscreen */,
+ gfx::Size(1, 1), disallowed_features,
+ attrib_vector))
return false;
command_buffer_->SetPutOffsetChangeCallback(base::Bind(
« no previous file with comments | « components/html_viewer/web_graphics_context_3d_command_buffer_impl.cc ('k') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698