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

Unified Diff: src/effects/SkBlurMask.h

Issue 119343003: Fast blurred rectangles on GPU (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: handle null input color, and some comments from Brian Created 7 years 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
Index: src/effects/SkBlurMask.h
diff --git a/src/effects/SkBlurMask.h b/src/effects/SkBlurMask.h
index e0b8d54ce1e11f94b821e166709457e9147da87b..194c2b9499d5f8f6273f347b7f7d53f446e39eea 100644
--- a/src/effects/SkBlurMask.h
+++ b/src/effects/SkBlurMask.h
@@ -62,6 +62,14 @@ public:
SkIPoint* margin = NULL);
static SkScalar ConvertRadiusToSigma(SkScalar radius);
+
+ static uint8_t ProfileLookup(uint8_t *profile, int loc, int blurred_width, int sharp_width);
reed1 2014/01/02 17:32:39 Can you add some dox for these? One example for C
humper 2014/01/02 18:12:10 Dox added, consts added, unnecessary profile_size
+ static void ComputeBlurProfile(SkScalar sigma, uint8_t **profile_out);
+ static void ComputeBlurredScanline(uint8_t *pixels, uint8_t *profile, unsigned int profile_size,
+ unsigned int width, float sigma);
+
+
+
};
#endif

Powered by Google App Engine
This is Rietveld 408576698