From dbc26d2ba13f80a7590c57de2d80530d96832969 Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Mon, 11 Oct 2010 17:58:29 -0700 Subject: Don't draw fully transparent views/primitives. Change-Id: Icd7d8ef1f57b51a24faf32f7004125e6300d4fdc --- libs/hwui/ProgramCache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/hwui/ProgramCache.h') 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) -- cgit v1.2.3-59-g8ed1b