aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/BitmapBench.cpp
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2015-03-16 10:08:34 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-03-16 10:08:34 -0700
commit93a1215fe0ab007ce941c721f1fd3e9dcb5d4754 (patch)
treed6dfbb67e08a7f3163008787a10c1ec9b492e291 /bench/BitmapBench.cpp
parent903dcb08b146cbaf81420a734a64692038b467ca (diff)
SkPaint::FilterLevel -> SkFilterQuality
clone (+rebase) of https://codereview.chromium.org/1009183002/ BUG=skia: TBR=scroggo@google.com Review URL: https://codereview.chromium.org/1014533004
Diffstat (limited to 'bench/BitmapBench.cpp')
-rw-r--r--bench/BitmapBench.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/bench/BitmapBench.cpp b/bench/BitmapBench.cpp
index c5efe9e9b8..1ac1992ab6 100644
--- a/bench/BitmapBench.cpp
+++ b/bench/BitmapBench.cpp
@@ -257,13 +257,13 @@ protected:
if (fFlags & kBicubic_Flag) {
index |= 2;
}
- static const SkPaint::FilterLevel gLevels[] = {
- SkPaint::kNone_FilterLevel,
- SkPaint::kLow_FilterLevel,
- SkPaint::kMedium_FilterLevel,
- SkPaint::kHigh_FilterLevel
+ static const SkFilterQuality gQualitys[] = {
+ kNone_SkFilterQuality,
+ kLow_SkFilterQuality,
+ kMedium_SkFilterQuality,
+ kHigh_SkFilterQuality
};
- paint->setFilterLevel(gLevels[index]);
+ paint->setFilterQuality(gQualitys[index]);
}
private: