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

Side by Side Diff: debugger/QT/SkDebuggerGUI.cpp

Issue 1010023002: 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 unified diff | Download patch
« no previous file with comments | « no previous file | debugger/QT/SkSettingsWidget.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2012 Google Inc. 2 * Copyright 2012 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "SkDebuggerGUI.h" 8 #include "SkDebuggerGUI.h"
9 #include "PictureRenderer.h" 9 #include "PictureRenderer.h"
10 #include "SkPictureData.h" 10 #include "SkPictureData.h"
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 } 285 }
286 286
287 void SkDebuggerGUI::actionVisualizationsChanged() { 287 void SkDebuggerGUI::actionVisualizationsChanged() {
288 fDebugger.setMegaViz(fSettingsWidget.isMegaVizEnabled()); 288 fDebugger.setMegaViz(fSettingsWidget.isMegaVizEnabled());
289 fDebugger.setPathOps(fSettingsWidget.isPathOpsEnabled()); 289 fDebugger.setPathOps(fSettingsWidget.isPathOpsEnabled());
290 fDebugger.highlightCurrentCommand(fSettingsWidget.isVisibilityFilterEnabled( )); 290 fDebugger.highlightCurrentCommand(fSettingsWidget.isVisibilityFilterEnabled( ));
291 this->updateImage(); 291 this->updateImage();
292 } 292 }
293 293
294 void SkDebuggerGUI::actionTextureFilter() { 294 void SkDebuggerGUI::actionTextureFilter() {
295 SkPaint::FilterLevel level; 295 SkFilterQuality quality;
296 bool enabled = fSettingsWidget.getFilterOverride(&level); 296 bool enabled = fSettingsWidget.getFilterOverride(&quality);
297 fDebugger.setTexFilterOverride(enabled, level); 297 fDebugger.setTexFilterOverride(enabled, quality);
298 fCanvasWidget.update(); 298 fCanvasWidget.update();
299 } 299 }
300 300
301 void SkDebuggerGUI::actionRewind() { 301 void SkDebuggerGUI::actionRewind() {
302 fListWidget.setCurrentRow(0); 302 fListWidget.setCurrentRow(0);
303 } 303 }
304 304
305 void SkDebuggerGUI::actionSave() { 305 void SkDebuggerGUI::actionSave() {
306 fFileName = fPath.toAscii().data(); 306 fFileName = fPath.toAscii().data();
307 fFileName.append("/"); 307 fFileName.append("/");
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
852 fCanvasWidget.drawTo(fPausedRow); 852 fCanvasWidget.drawTo(fPausedRow);
853 } else { 853 } else {
854 fCanvasWidget.drawTo(fListWidget.currentRow()); 854 fCanvasWidget.drawTo(fListWidget.currentRow());
855 } 855 }
856 } 856 }
857 857
858 void SkDebuggerGUI::updateHit(int newHit) { 858 void SkDebuggerGUI::updateHit(int newHit) {
859 fCommandHitBox.setText(QString::number(newHit)); 859 fCommandHitBox.setText(QString::number(newHit));
860 } 860 }
861 861
OLDNEW
« no previous file with comments | « no previous file | debugger/QT/SkSettingsWidget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698