commit | 6b7bd24659fb175fe1f0e97c86c18969918b496a | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Wed Oct 06 19:49:23 2010 -0700 |
committer | Romain Guy <romainguy@google.com> | Wed Oct 06 19:49:23 2010 -0700 |
tree | 7f72a7811783f52871bdb49c702ef1247ce9d3a2 | |
parent | e3095e0c1e2a4a4f34f741aa386eae56536ca5aa [diff] [blame] |
Don't clear the framebuffer when not needed.
diff --git a/libs/hwui/OpenGLDebugRenderer.h b/libs/hwui/OpenGLDebugRenderer.h index ce15512..2ac19ae 100644 --- a/libs/hwui/OpenGLDebugRenderer.h +++ b/libs/hwui/OpenGLDebugRenderer.h
@@ -34,7 +34,7 @@ ~OpenGLDebugRenderer() { } - void prepare(); + void prepare(bool opaque); void finish(); int saveLayer(float left, float top, float right, float bottom,