Index: debugger/QT/SkCanvasWidget.cpp |
diff --git a/debugger/QT/SkCanvasWidget.cpp b/debugger/QT/SkCanvasWidget.cpp |
index 3c239d0cb4f6c69edec4f552c171fd00626bcda6..73de8c21ca72d5a69272dfaa27f0410ba9ccc373 100644 |
--- a/debugger/QT/SkCanvasWidget.cpp |
+++ b/debugger/QT/SkCanvasWidget.cpp |
@@ -129,6 +129,13 @@ void SkCanvasWidget::setWidgetVisibility(WidgetType type, bool isHidden) { |
#endif |
} |
+#if SK_SUPPORT_GPU |
+void SkCanvasWidget::setGLSampleCount(int sampleCount) |
+{ |
+ fGLWidget.setSampleCount(sampleCount); |
+} |
+#endif |
+ |
void SkCanvasWidget::zoom(float scale, int px, int py) { |
fUserMatrix.postScale(scale, scale, px, py); |
emit scaleFactorChanged(fUserMatrix.getScaleX()); |