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

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

Issue 1068573004: Disable framebuffer discarding on Mali-4xx and clean up. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't make old workaround more specific for safety Created 5 years, 8 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/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 8885e01aa7e9d2f52538531f0dbbfde5600bdf38..09d4a605f4155a1250ece819059c94cc8cb14f53 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
@@ -4521,7 +4521,7 @@ void GLES2DecoderImpl::DoDisableVertexAttribArray(GLuint index) {
void GLES2DecoderImpl::DoDiscardFramebufferEXT(GLenum target,
GLsizei numAttachments,
const GLenum* attachments) {
- if (workarounds().disable_fbo_invalidations)
+ if (workarounds().disable_discard_framebuffer)
return;
Framebuffer* framebuffer =

Powered by Google App Engine
This is Rietveld 408576698