Index: src/core/SkRasterClip.h |
diff --git a/src/core/SkRasterClip.h b/src/core/SkRasterClip.h |
index 8a0681805cdb3f9a02052651b8d3f1b2780840a5..ec38990a0c78281dfed3f077fbf5508db75547e7 100644 |
--- a/src/core/SkRasterClip.h |
+++ b/src/core/SkRasterClip.h |
@@ -13,12 +13,10 @@ |
class SkRasterClip { |
public: |
- SkRasterClip(bool forceConservativeRects = false); |
- SkRasterClip(const SkIRect&, bool forceConservativeRects = false); |
+ SkRasterClip(); |
+ SkRasterClip(const SkIRect&); |
SkRasterClip(const SkRasterClip&); |
~SkRasterClip(); |
- |
- bool isForceConservativeRects() const { return fForceConservativeRects; } |
bool isBW() const { return fIsBW; } |
bool isAA() const { return !fIsBW; } |
@@ -43,7 +41,7 @@ |
bool op(const SkIRect&, SkRegion::Op); |
bool op(const SkRegion&, SkRegion::Op); |
- bool op(const SkRect&, const SkISize&, SkRegion::Op, bool doAA); |
+ bool op(const SkRect&, SkRegion::Op, bool doAA); |
bool op(const SkPath&, const SkISize&, SkRegion::Op, bool doAA); |
void translate(int dx, int dy, SkRasterClip* dst) const; |
@@ -77,7 +75,6 @@ |
private: |
SkRegion fBW; |
SkAAClip fAA; |
- bool fForceConservativeRects; |
bool fIsBW; |
// these 2 are caches based on querying the right obj based on fIsBW |
bool fIsEmpty; |
@@ -110,7 +107,6 @@ |
bool setPath(const SkPath& path, const SkRegion& clip, bool doAA); |
bool setPath(const SkPath& path, const SkIRect& clip, bool doAA); |
bool op(const SkRasterClip&, SkRegion::Op); |
- bool setConservativeRect(const SkRect& r, const SkIRect& clipR, bool isInverse); |
}; |
class SkAutoRasterClipValidate : SkNoncopyable { |