Index: src/utils/SkDumpCanvas.cpp |
diff --git a/src/utils/SkDumpCanvas.cpp b/src/utils/SkDumpCanvas.cpp |
index c8a94f40582e24a0bd6a1f181c993d71c00ac102..d768137578fd585a56d11d5715ead2dc7d1f7c7f 100644 |
--- a/src/utils/SkDumpCanvas.cpp |
+++ b/src/utils/SkDumpCanvas.cpp |
@@ -297,6 +297,15 @@ bool SkDumpCanvas::clipRegion(const SkRegion& deviceRgn, SkRegion::Op op) { |
return this->INHERITED::clipRegion(deviceRgn, op); |
} |
+void SkDumpCanvas::onPushCull(const SkRect& cullRect) { |
+ SkString str; |
+ toString(cullRect, &str); |
+ this->dump(kCull_Verb, NULL, "pushCull(%s)", str.c_str()); |
+} |
+ |
+void SkDumpCanvas::onPopCull() { |
+ this->dump(kCull_Verb, NULL, "popCull()"); |
+} |
/////////////////////////////////////////////////////////////////////////////// |
void SkDumpCanvas::drawPaint(const SkPaint& paint) { |