From e7903c7397c694e343c2c0fcc5cabea351212f23 Mon Sep 17 00:00:00 2001 From: reed Date: Mon, 16 Mar 2015 10:26:13 -0700 Subject: FilterLevel -> SkFilterQuality BUG=skia: TBR= NOTREECHECKS=True NOTRY=True Review URL: https://codereview.chromium.org/1010023002 --- debugger/QT/SkDebuggerGUI.cpp | 6 +++--- debugger/QT/SkSettingsWidget.h | 4 ++-- debugger/SkDebugger.h | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'debugger') diff --git a/debugger/QT/SkDebuggerGUI.cpp b/debugger/QT/SkDebuggerGUI.cpp index 01d8c665e3..a8d8f14c21 100644 --- a/debugger/QT/SkDebuggerGUI.cpp +++ b/debugger/QT/SkDebuggerGUI.cpp @@ -292,9 +292,9 @@ void SkDebuggerGUI::actionVisualizationsChanged() { } void SkDebuggerGUI::actionTextureFilter() { - SkPaint::FilterLevel level; - bool enabled = fSettingsWidget.getFilterOverride(&level); - fDebugger.setTexFilterOverride(enabled, level); + SkFilterQuality quality; + bool enabled = fSettingsWidget.getFilterOverride(&quality); + fDebugger.setTexFilterOverride(enabled, quality); fCanvasWidget.update(); } diff --git a/debugger/QT/SkSettingsWidget.h b/debugger/QT/SkSettingsWidget.h index 70e8965341..012abc0d12 100644 --- a/debugger/QT/SkSettingsWidget.h +++ b/debugger/QT/SkSettingsWidget.h @@ -51,9 +51,9 @@ public: #endif - bool getFilterOverride(SkPaint::FilterLevel* filterLevel) const { + bool getFilterOverride(SkFilterQuality* filterQuality) const { int index = fFilterCombo.currentIndex(); - *filterLevel = (SkPaint::FilterLevel)fFilterCombo.itemData(index).toUInt(); + *filterQuality = (SkFilterQuality)fFilterCombo.itemData(index).toUInt(); return index > 0; } diff --git a/debugger/SkDebugger.h b/debugger/SkDebugger.h index 76bd71ba44..230a1ffc4e 100644 --- a/debugger/SkDebugger.h +++ b/debugger/SkDebugger.h @@ -111,9 +111,9 @@ public: } } - void setTexFilterOverride(bool texFilterOverride, SkPaint::FilterLevel level) { + void setTexFilterOverride(bool texFilterOverride, SkFilterQuality quality) { if (fDebugCanvas) { - fDebugCanvas->overrideTexFiltering(texFilterOverride, level); + fDebugCanvas->overrideTexFiltering(texFilterOverride, quality); } } -- cgit v1.2.3