From 24edca8b526515979778e577191089a57f5277d7 Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Fri, 9 Dec 2011 13:08:06 -0800 Subject: Code cleanup Change-Id: If92e3addfc4d8546a60edcdea60a1fc89c27b680 --- libs/hwui/ProgramCache.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libs/hwui/ProgramCache.h') diff --git a/libs/hwui/ProgramCache.h b/libs/hwui/ProgramCache.h index 5c7197b620cd..441db8c8cb0a 100644 --- a/libs/hwui/ProgramCache.h +++ b/libs/hwui/ProgramCache.h @@ -27,6 +27,7 @@ #include "Debug.h" #include "Program.h" +#include "Properties.h" namespace android { namespace uirenderer { @@ -42,8 +43,6 @@ namespace uirenderer { #define PROGRAM_LOGD(...) #endif -// TODO: This should be set in properties -#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