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

Unified Diff: bench/BlurRectBench.cpp

Issue 253833002: move common blur types into central header (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: rebase Created 6 years, 8 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 | « bench/BlurBench.cpp ('k') | bench/BlurRoundRectBench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/BlurRectBench.cpp
diff --git a/bench/BlurRectBench.cpp b/bench/BlurRectBench.cpp
index d4876ce8a8e26274c76fc75c5561c3da83c36e9b..6871e0e4ca247b7d3157d41513aa88c63762d660 100644
--- a/bench/BlurRectBench.cpp
+++ b/bench/BlurRectBench.cpp
@@ -91,7 +91,7 @@ protected:
virtual void makeBlurryRect(const SkRect& r) SK_OVERRIDE {
SkMask mask;
SkBlurMask::BlurRect(SkBlurMask::ConvertRadiusToSigma(this->radius()),
- &mask, r, SkBlurMask::kNormal_Style);
+ &mask, r, kNormal_SkBlurStyle);
SkMask::FreeImage(mask.fImage);
}
private:
@@ -146,8 +146,7 @@ protected:
SkMask mask;
mask.fImage = NULL;
SkBlurMask::BoxBlur(&mask, fSrcMask, SkBlurMask::ConvertRadiusToSigma(this->radius()),
- SkBlurMask::kNormal_Style,
- SkBlurMask::kHigh_Quality);
+ kNormal_SkBlurStyle, kHigh_SkBlurQuality);
SkMask::FreeImage(mask.fImage);
}
private:
@@ -174,7 +173,7 @@ protected:
SkMask mask;
mask.fImage = NULL;
SkBlurMask::BlurGroundTruth(SkBlurMask::ConvertRadiusToSigma(this->radius()),
- &mask, fSrcMask, SkBlurMask::kNormal_Style);
+ &mask, fSrcMask, kNormal_SkBlurStyle);
SkMask::FreeImage(mask.fImage);
}
private:
« no previous file with comments | « bench/BlurBench.cpp ('k') | bench/BlurRoundRectBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698