diff options
author | Romain Guy <romainguy@google.com> | 2013-02-25 14:15:37 -0800 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2013-02-25 15:01:58 -0800 |
commit | 3ff0bfdd144bba3b023eda8c49b25fb0d0de8653 (patch) | |
tree | cfc94ccf18fb1bfaaefb1241c700900a32276acf /libs/hwui/Debug.h | |
parent | 01d159d88a51c44d7e282e07b834535e5b0e8bd1 (diff) |
Add new property to debug non-rectangular clip operations
This change adds a new property called "debug.hwui.show_stencil_clip"
that accepts the following values:
- "highlight", colorizes in green any drawing command that's tested
against a non-rectangular clip region
- "region", shows the non-rectangular clip region in blue every time
it is used
- "hide", default value, nothing is shown
Change-Id: I83c8602310edc4aaeb8b905371cdd185b17d32b5
Diffstat (limited to 'libs/hwui/Debug.h')
-rw-r--r-- | libs/hwui/Debug.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/Debug.h b/libs/hwui/Debug.h index 9a6494fac2fc..773fe82f31a5 100644 --- a/libs/hwui/Debug.h +++ b/libs/hwui/Debug.h @@ -48,6 +48,7 @@ #define DEBUG_RENDER_BUFFERS 0 // Turn on to make stencil operations easier to debug +// (writes 255 instead of 1 in the buffer, forces 8 bit stencil) #define DEBUG_STENCIL 0 // Turn on to display debug info about 9patch objects |