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