Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(645)

Unified Diff: src/record/SkRecorder.h

Issue 224723026: Add push/pop cull to SkRecord. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/record/SkRecordDraw.h ('k') | src/record/SkRecorder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/record/SkRecorder.h
diff --git a/src/record/SkRecorder.h b/src/record/SkRecorder.h
index 9d722b4b2bccba49df12c9b5b2d9b213ed236cb5..b1782fed678a2d10fadb9fae7c673cfa89fa6931 100644
--- a/src/record/SkRecorder.h
+++ b/src/record/SkRecorder.h
@@ -57,6 +57,9 @@ public:
void onClipPath(const SkPath& path, SkRegion::Op op, ClipEdgeStyle edgeStyle);
void onClipRegion(const SkRegion& deviceRgn, SkRegion::Op op);
+ void onPushCull(const SkRect& cullRect);
+ void onPopCull();
+
private:
template <typename T>
T* copy(const T*);
« no previous file with comments | « src/record/SkRecordDraw.h ('k') | src/record/SkRecorder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698