diff options
author | Romain Guy <romainguy@google.com> | 2013-02-12 16:08:55 -0800 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2013-02-13 11:27:05 -0800 |
commit | 8d4aeb7111afac0c3c7e56d4ad5d92f9cfce2ffd (patch) | |
tree | d526296ca8e54842b15b60adaad484ee29feccf2 /libs/hwui/Debug.h | |
parent | d1a84242a7ba807310d8f8d389796c7163cb97a0 (diff) |
Add a render buffer cache to reuse stencil buffers
Bug #7146141
This new cache is used in a similar way to LayerCache. It helps
reuse already allocated stencil buffers and thus avoid churning
memory on every frame.
Change-Id: I19551d72da52c40039e65904563600e492c8b193
Diffstat (limited to 'libs/hwui/Debug.h')
-rw-r--r-- | libs/hwui/Debug.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/hwui/Debug.h b/libs/hwui/Debug.h index 5f8baacb710c..20eb5e123e37 100644 --- a/libs/hwui/Debug.h +++ b/libs/hwui/Debug.h @@ -44,6 +44,9 @@ // Turn on to display info about layers #define DEBUG_LAYERS 0 +// Turn on to display info about render buffers +#define DEBUG_RENDER_BUFFERS 0 + // Turn on to make stencil operations easier to debug #define DEBUG_STENCIL 0 |