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

Unified Diff: gm/filterfastbounds.cpp

Issue 1014533004: SkPaint::FilterLevel -> SkFilterQuality (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 9 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 | « gm/filterbitmap.cpp ('k') | gm/filterindiabox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/filterfastbounds.cpp
diff --git a/gm/filterfastbounds.cpp b/gm/filterfastbounds.cpp
index 206903f3ebfab3af2e6a96bd57eeb6ad55a8834d..624400137461d8cb6af16b730f797e0b5a1c05d8 100644
--- a/gm/filterfastbounds.cpp
+++ b/gm/filterfastbounds.cpp
@@ -94,7 +94,7 @@ static void create_paints(SkImageFilter* source, SkTArray<SkPaint>* paints) {
scale.setScale(2.0f, 2.0f);
SkAutoTUnref<SkMatrixImageFilter> scaleMIF(
- SkMatrixImageFilter::Create(scale, SkPaint::kLow_FilterLevel, source));
+ SkMatrixImageFilter::Create(scale, kLow_SkFilterQuality, source));
add_paint(scaleMIF, paints);
}
@@ -104,7 +104,7 @@ static void create_paints(SkImageFilter* source, SkTArray<SkPaint>* paints) {
rot.setRotate(-33.3f);
SkAutoTUnref<SkMatrixImageFilter> rotMIF(
- SkMatrixImageFilter::Create(rot, SkPaint::kLow_FilterLevel, source));
+ SkMatrixImageFilter::Create(rot, kLow_SkFilterQuality, source));
add_paint(rotMIF, paints);
}
« no previous file with comments | « gm/filterbitmap.cpp ('k') | gm/filterindiabox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698