Index: src/utils/debugger/SkDebugCanvas.cpp |
diff --git a/src/utils/debugger/SkDebugCanvas.cpp b/src/utils/debugger/SkDebugCanvas.cpp |
index 58b609a01c7dd899ee74fae47d856af859f163ed..15165c27e297745918dc9a39164a841ed4aa9b01 100644 |
--- a/src/utils/debugger/SkDebugCanvas.cpp |
+++ b/src/utils/debugger/SkDebugCanvas.cpp |
@@ -430,6 +430,14 @@ void SkDebugCanvas::drawVertices(VertexMode vmode, int vertexCount, |
texs, colors, NULL, indices, indexCount, paint)); |
} |
+void SkDebugCanvas::onPushCull(const SkRect& cullRect) { |
+ this->addDrawCommand(new SkPushCullCommand(cullRect)); |
+} |
+ |
+void SkDebugCanvas::onPopCull() { |
+ this->addDrawCommand(new SkPopCullCommand()); |
+} |
+ |
void SkDebugCanvas::restore() { |
addDrawCommand(new SkRestoreCommand()); |
} |