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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder.cc

Issue 14600002: HW draw workarounds (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove hack in r199444 Created 7 years, 7 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 | « cc/output/gl_renderer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gles2_cmd_decoder.cc
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
index d2d7c110676aae882cabce1baae075cb9e28bddd..634af173e14e70dd46608c4a90971880b983ee55 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
@@ -2840,8 +2840,10 @@ bool GLES2DecoderImpl::MakeCurrent() {
glFlush();
// Rebind the FBO if it was unbound by the context.
+ /*
if (workarounds().unbind_fbo_on_context_switch)
RestoreFramebufferBindings();
no sievers 2013/05/16 00:09:55 This should only be set on Vivante gpus. Why did y
joth 2013/05/16 00:20:44 Seems it's being set on Imagination gpus too? gpu
+ */
return true;
}
« no previous file with comments | « cc/output/gl_renderer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698