summaryrefslogtreecommitdiffstats
path: root/libs/hwui/Program.h
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2010-07-19 18:43:02 -0700
committerRomain Guy <romainguy@google.com>2010-07-19 18:44:05 -0700
commitc0ac193b9415680f0a69e20a3f5f22d16f8053be (patch)
tree9a1d680ad20ba3f6ec0924c6b445290696d63b8c /libs/hwui/Program.h
parent9d339c13aaa30ddfd51d0f13f8ab22af05e40ea0 (diff)
downloadframeworks_base-c0ac193b9415680f0a69e20a3f5f22d16f8053be.zip
frameworks_base-c0ac193b9415680f0a69e20a3f5f22d16f8053be.tar.gz
frameworks_base-c0ac193b9415680f0a69e20a3f5f22d16f8053be.tar.bz2
Add support for linear gradients.
Change-Id: Id15329da065045b3f06fdaed615f33cd57608496
Diffstat (limited to 'libs/hwui/Program.h')
-rw-r--r--libs/hwui/Program.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libs/hwui/Program.h b/libs/hwui/Program.h
index d7970d9..18a8e92 100644
--- a/libs/hwui/Program.h
+++ b/libs/hwui/Program.h
@@ -213,6 +213,17 @@ public:
virtual void remove();
/**
+ * Name of the matrix used to compute the screen space coordinates
+ * of the vertices.
+ */
+ int screenSpace;
+
+ /**
+ * Name of the linear gradient start point.
+ */
+ int start;
+
+ /**
* Name of the linear gradient vector.
*/
int gradient;