Index: debugger/QT/SkDebuggerGUI.cpp |
=================================================================== |
--- debugger/QT/SkDebuggerGUI.cpp (revision 13635) |
+++ debugger/QT/SkDebuggerGUI.cpp (working copy) |
@@ -97,6 +97,7 @@ |
connect(&fSettingsWidget, SIGNAL(texFilterSettingsChanged()), this, SLOT(actionTextureFilter())); |
connect(fSettingsWidget.getRasterCheckBox(), SIGNAL(toggled(bool)), this, SLOT(actionRasterWidget(bool))); |
connect(fSettingsWidget.getOverdrawVizCheckBox(), SIGNAL(toggled(bool)), this, SLOT(actionOverdrawVizWidget(bool))); |
+ connect(fSettingsWidget.getMegaVizCheckBox(), SIGNAL(toggled(bool)), this, SLOT(actionMegaVizWidget(bool))); |
connect(&fActionPause, SIGNAL(toggled(bool)), this, SLOT(pauseDrawing(bool))); |
connect(&fActionCreateBreakpoint, SIGNAL(activated()), this, SLOT(toggleBreakpoint())); |
connect(&fActionShowDeletes, SIGNAL(triggered()), this, SLOT(showDeletes())); |
@@ -521,6 +522,11 @@ |
fCanvasWidget.update(); |
} |
+void SkDebuggerGUI::actionMegaVizWidget(bool isToggled) { |
+ fDebugger.setMegaViz(isToggled); |
+ fCanvasWidget.update(); |
+} |
+ |
void SkDebuggerGUI::actionTextureFilter() { |
SkPaint::FilterLevel level; |
bool enabled = fSettingsWidget.getFilterOverride(&level); |