summaryrefslogtreecommitdiff
path: root/libs/hwui/Program.h
diff options
context:
space:
mode:
author Derek Sollenberger <djsollen@google.com> 2013-12-10 12:28:58 -0500
committer Derek Sollenberger <djsollen@google.com> 2014-02-07 17:06:14 -0500
commit76d3a1b8d035d27bc80b0f2fc480a903bd001514 (patch)
treea6346bbf593d565d89990f0bddecd2a5df92de9d /libs/hwui/Program.h
parent8852ab4357ffb653bafb36f3b9272866834f7a72 (diff)
Removing SkiaColorFilter and inspecting the native object directly.
bug: 10650594 Change-Id: I4fcf66d008765afa0e35d011f58bc792183cb74f
Diffstat (limited to 'libs/hwui/Program.h')
-rw-r--r--libs/hwui/Program.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/libs/hwui/Program.h b/libs/hwui/Program.h
index 5dfb2fa5a37d..33c91b3a68fe 100644
--- a/libs/hwui/Program.h
+++ b/libs/hwui/Program.h
@@ -51,9 +51,8 @@ namespace uirenderer {
#define PROGRAM_KEY_GRADIENT 0x8
#define PROGRAM_KEY_BITMAP_FIRST 0x10
#define PROGRAM_KEY_COLOR_MATRIX 0x20
-#define PROGRAM_KEY_COLOR_LIGHTING 0x40
-#define PROGRAM_KEY_COLOR_BLEND 0x80
-#define PROGRAM_KEY_BITMAP_NPOT 0x100
+#define PROGRAM_KEY_COLOR_BLEND 0x40
+#define PROGRAM_KEY_BITMAP_NPOT 0x80
#define PROGRAM_KEY_SWAP_SRC_DST 0x2000
#define PROGRAM_KEY_BITMAP_WRAPS_MASK 0x600
@@ -104,7 +103,6 @@ struct ProgramDescription {
enum ColorModifier {
kColorNone = 0,
kColorMatrix,
- kColorLighting,
kColorBlend
};
@@ -248,9 +246,6 @@ struct ProgramDescription {
case kColorMatrix:
key |= PROGRAM_KEY_COLOR_MATRIX;
break;
- case kColorLighting:
- key |= PROGRAM_KEY_COLOR_LIGHTING;
- break;
case kColorBlend:
key |= PROGRAM_KEY_COLOR_BLEND;
key |= (colorMode & PROGRAM_MAX_XFERMODE) << PROGRAM_XFERMODE_COLOR_OP_SHIFT;