commit | fbc7922ec87298601ba6a3be1bd9f83ffaf9a233 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Thu Feb 23 21:20:01 2012 -0800 |
committer | Mathias Agopian <mathias@google.com> | Thu Feb 23 21:20:01 2012 -0800 |
tree | a5bd4a77a85866ed895dd40f101ee6fb58342309 | |
parent | 4d143eed994778d37eb09bb5d452c26f12bca6e1 [diff] |
workaround for an issue where the screen would flicker sometimes bug: 6020860 Change-Id: I97807db66b66c5f4dcbed0df79d5d257cfc7c0bd
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp index 6852113..9d821dc 100644 --- a/services/surfaceflinger/SurfaceFlinger.cpp +++ b/services/surfaceflinger/SurfaceFlinger.cpp
@@ -1000,6 +1000,12 @@ drawWormhole(); } + // FIXME: workaroud for b/6020860 + glEnable(GL_SCISSOR_TEST); + glScissor(0,0,0,0); + glClear(GL_COLOR_BUFFER_BIT); + // end-workaround + /* * and then, render the layers targeted at the framebuffer */