diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkCanvas.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h index 821f86b5ad..b315797c41 100644 --- a/include/core/SkCanvas.h +++ b/include/core/SkCanvas.h @@ -1011,6 +1011,11 @@ protected: bool clipRectBounds(const SkRect* bounds, SaveFlags flags, SkIRect* intersection); + // Called by child classes that override clipPath and clipRRect to only + // track fast conservative clip bounds, rather than exact clips. + bool updateClipConservativelyUsingBounds(const SkRect&, SkRegion::Op, + bool inverseFilled); + // notify our surface (if we have one) that we are about to draw, so it // can perform copy-on-write or invalidate any cached images void predrawNotify(); |