diff options
| author | 2011-12-12 11:44:43 -0800 | |
|---|---|---|
| committer | 2011-12-12 11:44:43 -0800 | |
| commit | 11326aa1b9482fefa0c0bdcb7e48cfeae6f9e33d (patch) | |
| tree | fb4c9c33f7b6fa49292382e5bb2028dbcfe7b308 /libs/hwui/ProgramCache.h | |
| parent | ee698a01bdc9ea7aa2b1cd729109b194a130f9f5 (diff) | |
| parent | 24edca8b526515979778e577191089a57f5277d7 (diff) | |
Merge "Code cleanup"
Diffstat (limited to 'libs/hwui/ProgramCache.h')
| -rw-r--r-- | libs/hwui/ProgramCache.h | 3 |
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) |