summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.h
diff options
context:
space:
mode:
author Romain Guy <romainguy@google.com> 2010-10-11 17:58:29 -0700
committer Romain Guy <romainguy@google.com> 2010-10-11 17:58:29 -0700
commitdbc26d2ba13f80a7590c57de2d80530d96832969 (patch)
tree1883c28948243ec8906c594009c4a4208b132546 /libs/hwui/ProgramCache.h
parent707b2f78ccaa09965d7e030fda3a883ce9b75ea8 (diff)
Don't draw fully transparent views/primitives.
Change-Id: Icd7d8ef1f57b51a24faf32f7004125e6300d4fdc
Diffstat (limited to 'libs/hwui/ProgramCache.h')
-rw-r--r--libs/hwui/ProgramCache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/ProgramCache.h b/libs/hwui/ProgramCache.h
index 964d842ecc49..ec9851e8ea56 100644
--- a/libs/hwui/ProgramCache.h
+++ b/libs/hwui/ProgramCache.h
@@ -45,7 +45,7 @@ namespace uirenderer {
#endif
// TODO: This should be set in properties
-#define PANEL_BIT_DEPTH 18
+#define PANEL_BIT_DEPTH 20
#define COLOR_COMPONENT_THRESHOLD (1.0f - (0.5f / PANEL_BIT_DEPTH))
#define COLOR_COMPONENT_INV_THRESHOLD (0.5f / PANEL_BIT_DEPTH)