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

Unified Diff: gm/blurrect.cpp

Issue 471473002: Optimize CSS box-shadow performance (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: backed blur mask with a bitmap Created 6 years, 3 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
Index: gm/blurrect.cpp
diff --git a/gm/blurrect.cpp b/gm/blurrect.cpp
index 768e7982104bfa250bfd4fe82976830da49ea295..e16ae06f629e06cbf75e4d254cfd67c635b9b9d3 100644
--- a/gm/blurrect.cpp
+++ b/gm/blurrect.cpp
@@ -191,8 +191,6 @@ protected:
SkMask mask;
SkBlurMask::BlurRect(SkBlurMask::ConvertRadiusToSigma(radius), &mask, r, style);
- SkAutoMaskFreeImage amfi(mask.fImage);
-
SkBitmap bm;
bm.installMaskPixels(mask);
« no previous file with comments | « bench/BlurRectBench.cpp ('k') | gyp/core.gypi » ('j') | src/core/SkBitmapCache.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698