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

Unified Diff: debugger/QT/SkSettingsWidget.cpp

Issue 1009183002: swith over from SkPaint::FilterLevel to 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 | « bench/TileBench.cpp ('k') | gm/bigmatrix.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: debugger/QT/SkSettingsWidget.cpp
diff --git a/debugger/QT/SkSettingsWidget.cpp b/debugger/QT/SkSettingsWidget.cpp
index 90e358b7c327c697040f0d392e03e12d02843b82..59b79203839458554e1ad580ea3c94b357b85e6f 100644
--- a/debugger/QT/SkSettingsWidget.cpp
+++ b/debugger/QT/SkSettingsWidget.cpp
@@ -64,11 +64,11 @@ SkSettingsWidget::SkSettingsWidget() : QFrame()
fVerticalLayout.addRow(&fGLGroup);
#endif
- fFilterCombo.addItem("As encoded", QVariant(SkPaint::kNone_FilterLevel));
- fFilterCombo.addItem("None", QVariant(SkPaint::kNone_FilterLevel));
- fFilterCombo.addItem("Low", QVariant(SkPaint::kLow_FilterLevel));
- fFilterCombo.addItem("Medium", QVariant(SkPaint::kMedium_FilterLevel));
- fFilterCombo.addItem("High", QVariant(SkPaint::kHigh_FilterLevel));
+ fFilterCombo.addItem("As encoded", QVariant(kNone_SkFilterQuality));
+ fFilterCombo.addItem("None", QVariant(kNone_SkFilterQuality));
+ fFilterCombo.addItem("Low", QVariant(kLow_SkFilterQuality));
+ fFilterCombo.addItem("Medium", QVariant(kMedium_SkFilterQuality));
+ fFilterCombo.addItem("High", QVariant(kHigh_SkFilterQuality));
connect(&fFilterCombo, SIGNAL(activated(int)), this, SIGNAL(texFilterSettingsChanged()));
fVerticalLayout.addRow("Filtering", &fFilterCombo);
« no previous file with comments | « bench/TileBench.cpp ('k') | gm/bigmatrix.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698