Index: src/core/SkCanvas.cpp |
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp |
index 5ba6e8f6dc399c7c71fa8c858425ba826ddb6378..a67891e65993bca0a29beb88e1626b637e9d47fc 100644 |
--- a/src/core/SkCanvas.cpp |
+++ b/src/core/SkCanvas.cpp |
@@ -490,6 +490,7 @@ SkBaseDevice* SkCanvas::init(SkBaseDevice* device) { |
fAllowSimplifyClip = false; |
fDeviceCMDirty = false; |
fSaveLayerCount = 0; |
+ fCullCount = 0; |
fMetaData = NULL; |
fMCRec = (MCRec*)fMCStack.push_back(); |
@@ -1002,6 +1003,14 @@ bool SkAutoROCanvasPixels::asROBitmap(SkBitmap* bitmap) const { |
} |
} |
+void SkCanvas::onPushCull(const SkRect& cullRect) { |
+ // do nothing. Subclasses may do something |
+} |
+ |
+void SkCanvas::onPopCull() { |
+ // do nothing. Subclasses may do something |
+} |
+ |
///////////////////////////////////////////////////////////////////////////// |
void SkCanvas::internalDrawBitmap(const SkBitmap& bitmap, |