summaryrefslogtreecommitdiffstats
path: root/libs/hwui/Program.h
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2015-02-11 13:17:06 -0800
committerChris Craik <ccraik@google.com>2015-02-12 12:30:59 -0800
commit0519c810a56bded1284fcb2ae40f438878c6585f (patch)
treed5e0a81ea08b9f3fc9d5e8d78b770a8c77aa4535 /libs/hwui/Program.h
parent08fa43fdeb646f56edcd8b33d06ee7d79b203426 (diff)
downloadframeworks_base-0519c810a56bded1284fcb2ae40f438878c6585f.zip
frameworks_base-0519c810a56bded1284fcb2ae40f438878c6585f.tar.gz
frameworks_base-0519c810a56bded1284fcb2ae40f438878c6585f.tar.bz2
Glop Bitmap and RoundRect clipping support
Change-Id: I4577546a5d2e5f084cc03f39a89db9231b8111ee
Diffstat (limited to 'libs/hwui/Program.h')
-rw-r--r--libs/hwui/Program.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/hwui/Program.h b/libs/hwui/Program.h
index 01231b5..af1e4a7 100644
--- a/libs/hwui/Program.h
+++ b/libs/hwui/Program.h
@@ -25,6 +25,7 @@
#include <SkXfermode.h>
#include "Debug.h"
+#include "FloatColor.h"
#include "Matrix.h"
#include "Properties.h"
@@ -363,7 +364,7 @@ public:
/**
* Sets the color associated with this shader.
*/
- void setColor(const float r, const float g, const float b, const float a);
+ void setColor(FloatColor color);
/**
* Name of the texCoords attribute if it exists (kBindingTexCoords), -1 otherwise.