Index: include/core/SkMaskFilter.h |
diff --git a/include/core/SkMaskFilter.h b/include/core/SkMaskFilter.h |
index 33e45552e89f95f5e1463798309a274db134977c..ac9b7189b2122b3b7280de06c2aafcdcaab6af12 100644 |
--- a/include/core/SkMaskFilter.h |
+++ b/include/core/SkMaskFilter.h |
@@ -101,6 +101,14 @@ public: |
GrPaint* grp, |
const SkStrokeRec& strokeRec, |
const SkPath& path) const; |
+ /** |
+ * Try to directly render a rounded rect mask filter into the target. Returns |
+ * true if drawing was successful. |
+ */ |
+ virtual bool directFilterRRectMaskGPU(GrContext* context, |
+ GrPaint* grp, |
+ const SkStrokeRec& strokeRec, |
+ const SkRRect& rrect) const; |
/** |
* This function is used to implement filters that require an explicit src mask. It should only |