summaryrefslogtreecommitdiffstats
path: root/libs/hwui/OpenGLRenderer.h
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2013-06-17 13:52:06 -0700
committerChris Craik <ccraik@google.com>2013-06-17 13:52:06 -0700
commitd72b73cea49f29c41661e55eb6bfdbc04f09d809 (patch)
treee6782e49ac767cd62e22ca8e44f18eb3977bb1e6 /libs/hwui/OpenGLRenderer.h
parent4aaf8b3d4b160aea5ceb5ccf799e44c1d5a3f14b (diff)
downloadframeworks_base-d72b73cea49f29c41661e55eb6bfdbc04f09d809.zip
frameworks_base-d72b73cea49f29c41661e55eb6bfdbc04f09d809.tar.gz
frameworks_base-d72b73cea49f29c41661e55eb6bfdbc04f09d809.tar.bz2
Better handle op size edge cases
bug:9464358 Previously, empty and unknown sized ops are assumed to fully cover their clip. This is now corrected such that empty sized ops are pre-rejected before defer. Additionally, unknown sized ops disable overdraw avoidance. Change-Id: Icf2ce24f98be5ea6299e24ffcf826790373564a1
Diffstat (limited to 'libs/hwui/OpenGLRenderer.h')
-rw-r--r--libs/hwui/OpenGLRenderer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/hwui/OpenGLRenderer.h b/libs/hwui/OpenGLRenderer.h
index 5b7f90d..ab15879 100644
--- a/libs/hwui/OpenGLRenderer.h
+++ b/libs/hwui/OpenGLRenderer.h
@@ -86,7 +86,8 @@ enum ClipSideFlags {
kClipSide_Top = 0x2,
kClipSide_Right = 0x4,
kClipSide_Bottom = 0x8,
- kClipSide_Full = 0xF
+ kClipSide_Full = 0xF,
+ kClipSide_ConservativeFull = 0x1F
};
struct DeferredDisplayState {