summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.h
diff options
context:
space:
mode:
author Romain Guy <romainguy@google.com> 2011-12-09 13:08:06 -0800
committer Romain Guy <romainguy@google.com> 2011-12-09 13:08:06 -0800
commit24edca8b526515979778e577191089a57f5277d7 (patch)
tree8974701bf7100ce56b1c13b47c3c4ada7af02181 /libs/hwui/ProgramCache.h
parent05bbde70fd2a3af737656b9f8c5a25b56429632e (diff)
Code cleanup
Change-Id: If92e3addfc4d8546a60edcdea60a1fc89c27b680
Diffstat (limited to 'libs/hwui/ProgramCache.h')
-rw-r--r--libs/hwui/ProgramCache.h3
1 files changed, 1 insertions, 2 deletions
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)