Optimize GLSL shaders.
Change-Id: I9a5e01bced63d8da0c61330a543a2b805388a59d
diff --git a/libs/hwui/Program.h b/libs/hwui/Program.h
index 6531c74..026097c 100644
--- a/libs/hwui/Program.h
+++ b/libs/hwui/Program.h
@@ -77,16 +77,16 @@
const mat4& transformMatrix);
/**
+ * Sets the color associated with this shader.
+ */
+ void setColor(const float r, const float g, const float b, const float a);
+
+ /**
* Name of the position attribute.
*/
int position;
/**
- * Name of the color uniform.
- */
- int color;
-
- /**
* Name of the transform uniform.
*/
int transform;