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

Unified Diff: include/utils/SkDumpCanvas.h

Issue 138013009: Culling API (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Rebased, fCullOffsetStack decl -> unconditional Created 6 years, 10 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
Index: include/utils/SkDumpCanvas.h
diff --git a/include/utils/SkDumpCanvas.h b/include/utils/SkDumpCanvas.h
index 7b65f43c68cab2976a98b11b4eaa97bc15b0fd76..9e5cfbc3fdb48458b69369b398ef0898ea13703d 100644
--- a/include/utils/SkDumpCanvas.h
+++ b/include/utils/SkDumpCanvas.h
@@ -34,6 +34,7 @@ public:
kMatrix_Verb,
kClip_Verb,
robertphillips 2014/02/25 15:58:41 Will this mess up the ordering anywhere else (esp.
f(malita) 2014/02/25 16:50:28 This enum is only used in SkDumpCanvas, so I don't
+ kCull_Verb,
kDrawPaint_Verb,
kDrawPoints_Verb,
@@ -129,6 +130,8 @@ public:
protected:
virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK_OVERRIDE;
+ virtual void onPushCull(const SkRect& cullRect) SK_OVERRIDE;
+ virtual void onPopCull() SK_OVERRIDE;
private:
Dumper* fDumper;

Powered by Google App Engine
This is Rietveld 408576698