summaryrefslogtreecommitdiff
path: root/libs/hwui/Program.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/hwui/Program.h')
-rw-r--r--libs/hwui/Program.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/libs/hwui/Program.h b/libs/hwui/Program.h
index 7e3aacf90260..b1df98057b38 100644
--- a/libs/hwui/Program.h
+++ b/libs/hwui/Program.h
@@ -81,8 +81,6 @@ namespace uirenderer {
#define PROGRAM_IS_SIMPLE_GRADIENT 41
-#define PROGRAM_IS_VERTEX_SHAPE_SHIFT 42
-
///////////////////////////////////////////////////////////////////////////////
// Types
///////////////////////////////////////////////////////////////////////////////
@@ -129,8 +127,7 @@ struct ProgramDescription {
bool hasBitmap;
bool isBitmapNpot;
- bool isAA;
- bool isVertexShape;
+ bool isAA; // drawing with a per-vertex alpha
bool hasGradient;
Gradient gradientType;
@@ -168,7 +165,6 @@ struct ProgramDescription {
hasTextureTransform = false;
isAA = false;
- isVertexShape = false;
modulate = false;
@@ -263,7 +259,6 @@ struct ProgramDescription {
if (hasTextureTransform) key |= programid(0x1) << PROGRAM_HAS_TEXTURE_TRANSFORM_SHIFT;
if (hasGammaCorrection) key |= programid(0x1) << PROGRAM_HAS_GAMMA_CORRECTION;
if (isSimpleGradient) key |= programid(0x1) << PROGRAM_IS_SIMPLE_GRADIENT;
- if (isVertexShape) key |= programid(0x1) << PROGRAM_IS_VERTEX_SHAPE_SHIFT;
return key;
}