Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: include/effects/SkBlurMaskFilter.h

Issue 2222083004: Create blurred RRect mask on GPU (rather than uploading it) (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: SkColor -> GrColor Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/core/SkMaskFilter.h ('k') | src/core/SkMaskFilter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/effects/SkBlurMaskFilter.h
diff --git a/include/effects/SkBlurMaskFilter.h b/include/effects/SkBlurMaskFilter.h
index 3ba91774f05b459f4afec83ccf09b438456b235e..4b037e70cdcf41cba425302431ee5ce3fab079c9 100644
--- a/include/effects/SkBlurMaskFilter.h
+++ b/include/effects/SkBlurMaskFilter.h
@@ -65,6 +65,16 @@ public:
SkScalar blurRadius);
#endif
+ static bool ComputeBlurredRRectParams(const SkRRect& rrect,
+ SkScalar sigma,
+ SkRRect* rrectToDraw,
+ SkISize* widthHeight,
+ SkScalar xs[4],
+ int* numXs,
+ SkScalar ys[4],
+ int* numYs);
+
+
SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP()
private:
« no previous file with comments | « include/core/SkMaskFilter.h ('k') | src/core/SkMaskFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698