diff options
Diffstat (limited to 'debugger')
-rw-r--r-- | debugger/QT/SkDebuggerGUI.cpp | 6 | ||||
-rw-r--r-- | debugger/QT/SkSettingsWidget.h | 4 | ||||
-rw-r--r-- | debugger/SkDebugger.h | 4 |
3 files changed, 7 insertions, 7 deletions
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); } } |