summaryrefslogtreecommitdiff
path: root/libs/hwui/Program.h
diff options
context:
space:
mode:
author Derek Sollenberger <djsollen@google.com> 2014-02-10 19:19:06 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2014-02-10 19:19:07 +0000
commiteef1be1d83eeb35377cfeb8a4932e317a3a975a7 (patch)
tree887e5f4dd5869d422e7037e7752a0079b6d9ebca /libs/hwui/Program.h
parent4292e36f022f3d72272cac294238c9cb61110e42 (diff)
parent76d3a1b8d035d27bc80b0f2fc480a903bd001514 (diff)
Merge "Removing SkiaColorFilter and inspecting the native object directly."
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;