aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkCanvas.h
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2014-12-12 08:46:25 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-12 08:46:25 -0800
commitf0f14113431ace669f278fdd97b50950f2cf4c80 (patch)
tree1fab64f424d97fdd089622f10b3d5335bc4f1380 /include/core/SkCanvas.h
parent59dba146fe4170c4986b2494414c08be2c93d4a2 (diff)
Cull pushCull and popCull from Skia.
These calls are unused and going away. Waiting on crrev.com/796083002. BUG=skia: Review URL: https://codereview.chromium.org/794263002
Diffstat (limited to 'include/core/SkCanvas.h')
-rw-r--r--include/core/SkCanvas.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index d28336f715..50f15aaaaf 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -1055,19 +1055,6 @@ public:
// do nothing. Subclasses may do something
}
- /**
- * With this call the client asserts that subsequent draw operations (up to the
- * matching popCull()) are fully contained within the given bounding box. The assertion
- * is not enforced, but the information might be used to quick-reject command blocks,
- * so an incorrect bounding box may result in incomplete rendering.
- */
- void pushCull(const SkRect& cullRect);
-
- /**
- * Terminates the current culling block, and restores the previous one (if any).
- */
- void popCull();
-
//////////////////////////////////////////////////////////////////////////
/** Get the current filter object. The filter's reference count is not
@@ -1250,9 +1237,6 @@ protected:
// can perform copy-on-write or invalidate any cached images
void predrawNotify();
- virtual void onPushCull(const SkRect& cullRect);
- virtual void onPopCull();
-
private:
class MCRec;
@@ -1267,7 +1251,6 @@ private:
int fSaveCount; // value returned by getSaveCount()
int fSaveLayerCount; // number of successful saveLayer calls
- int fCullCount; // number of active culls
SkMetaData* fMetaData;
@@ -1385,9 +1368,6 @@ private:
};
#ifdef SK_DEBUG
- // The cull stack rects are in device-space
- SkTDArray<SkIRect> fCullStack;
- void validateCull(const SkIRect&);
void validateClip() const;
#else
void validateClip() const {}