Index: src/gpu/glsl/GrGLSLBlend.h |
diff --git a/src/gpu/glsl/GrGLSLBlend.h b/src/gpu/glsl/GrGLSLBlend.h |
index 25ae37b1c1c41c2cfe2b67600fd74dbcc095bed7..c8047f8af5f9a557a84617088084a5ac74264299 100644 |
--- a/src/gpu/glsl/GrGLSLBlend.h |
+++ b/src/gpu/glsl/GrGLSLBlend.h |
@@ -8,6 +8,7 @@ |
#ifndef GrGLBlend_DEFINED |
#define GrGLBlend_DEFINED |
+#include "SkRegion.h" |
#include "SkXfermode.h" |
class GrGLSLFragmentBuilder; |
@@ -19,6 +20,9 @@ namespace GrGLSLBlend { |
*/ |
void AppendMode(GrGLSLFragmentBuilder* fsBuilder, const char* srcColor, |
const char* dstColor, const char* outColor, SkXfermode::Mode mode); |
+ |
+ void AppendRegionOp(GrGLSLFragmentBuilder* fsBuilder, const char* srcColor, |
+ const char* dstColor, const char* outColor, SkRegion::Op regionOp); |
}; |
#endif |