Index: include/core/SkMaskFilter.h |
diff --git a/include/core/SkMaskFilter.h b/include/core/SkMaskFilter.h |
index f4448ddddb453e9502f075f928303a0c9fb428f0..6a63d928fd1ded35e893a48e8bcfc8645bcac284 100644 |
--- a/include/core/SkMaskFilter.h |
+++ b/include/core/SkMaskFilter.h |
@@ -15,6 +15,7 @@ |
#include "SkPaint.h" |
class GrContext; |
+class GrPaint; |
class SkBitmap; |
class SkBlitter; |
class SkBounder; |
@@ -22,6 +23,7 @@ class SkMatrix; |
class SkPath; |
class SkRasterClip; |
class SkRRect; |
+class SkStrokeRec; |
/** \class SkMaskFilter |
@@ -89,6 +91,15 @@ public: |
SkRect* maskRect) const; |
/** |
+ * Try to directly render the mask filter into the target. Returns |
+ * true if drawing was successful. |
+ */ |
+ virtual bool directFilterMaskGPU(GrContext* context, |
+ GrPaint* grp, |
+ const SkStrokeRec& strokeRec, |
+ const SkPath* path) const; |
+ |
+ /** |
* Perform this mask filter on the GPU. This is most often used for |
* multi-pass effects, where intermediate results must be rendered to |
* textures. For single-pass effects, use asNewEffect(). 'src' is the |