diff options
author | Romain Guy <romainguy@google.com> | 2010-10-06 19:49:23 -0700 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2010-10-06 19:49:23 -0700 |
commit | 6b7bd24659fb175fe1f0e97c86c18969918b496a (patch) | |
tree | 7f72a7811783f52871bdb49c702ef1247ce9d3a2 /libs/hwui/DisplayListRenderer.h | |
parent | e3095e0c1e2a4a4f34f741aa386eae56536ca5aa (diff) | |
download | frameworks_base-6b7bd24659fb175fe1f0e97c86c18969918b496a.zip frameworks_base-6b7bd24659fb175fe1f0e97c86c18969918b496a.tar.gz frameworks_base-6b7bd24659fb175fe1f0e97c86c18969918b496a.tar.bz2 |
Don't clear the framebuffer when not needed.
Diffstat (limited to 'libs/hwui/DisplayListRenderer.h')
-rw-r--r-- | libs/hwui/DisplayListRenderer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/DisplayListRenderer.h b/libs/hwui/DisplayListRenderer.h index 5d02bd7..0fbfce1 100644 --- a/libs/hwui/DisplayListRenderer.h +++ b/libs/hwui/DisplayListRenderer.h @@ -209,7 +209,7 @@ public: ~DisplayListRenderer(); void setViewport(int width, int height); - void prepare(); + void prepare(bool opaque); void acquireContext(); void releaseContext(); |