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

Unified Diff: cc/paint/paint_canvas.h

Issue 2755183002: Change drawPicture calls to playback to avoid culling (Closed)
Patch Set: Address review comments Created 3 years, 9 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 | « no previous file | cc/paint/skia_paint_canvas.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/paint/paint_canvas.h
diff --git a/cc/paint/paint_canvas.h b/cc/paint/paint_canvas.h
index cae112e57e9951ea7f468c5c79f9a02e24e85f2c..23212c57cec3f2bf6bc7402c00518956c24664ea 100644
--- a/cc/paint/paint_canvas.h
+++ b/cc/paint/paint_canvas.h
@@ -196,6 +196,10 @@ class CC_PAINT_EXPORT PaintCanvas {
virtual void AnnotateNamedDestination(const SkPoint& point, SkData* data) = 0;
virtual void AnnotateLinkToDestination(const SkRect& rect, SkData* data) = 0;
+ // TODO(enne): maybe this should live on PaintRecord, but that's not
+ // possible when PaintRecord is a typedef.
+ virtual void PlaybackPaintRecord(sk_sp<const PaintRecord> record) = 0;
+
protected:
friend class PaintSurface;
friend class PaintRecorder;
« no previous file with comments | « no previous file | cc/paint/skia_paint_canvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698