summaryrefslogtreecommitdiffstats
path: root/libs/hwui/renderstate/Blend.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/hwui/renderstate/Blend.h')
-rw-r--r--libs/hwui/renderstate/Blend.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/hwui/renderstate/Blend.h b/libs/hwui/renderstate/Blend.h
index b82b477..31d7dde 100644
--- a/libs/hwui/renderstate/Blend.h
+++ b/libs/hwui/renderstate/Blend.h
@@ -32,6 +32,9 @@ public:
void enable(SkXfermode::Mode mode, bool swapSrcDst);
void disable();
void syncEnabled();
+
+ static void getFactors(SkXfermode::Mode mode, bool swapSrcDst, GLenum* outSrc, GLenum* outDst);
+ void setFactors(GLenum src, GLenum dst);
private:
Blend();
void invalidate();