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

Unified Diff: cc/paint/paint_canvas.h

Issue 2757313002: Add PaintCanvas::drawDisplayItemList (Closed)
Patch Set: none 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 35c7173e43d2e913415fcc73cb051ad8d936b1b7..6be10b0495d8d3552cdc558ad100c04f1c9b8f8e 100644
--- a/cc/paint/paint_canvas.h
+++ b/cc/paint/paint_canvas.h
@@ -14,6 +14,7 @@
namespace cc {
+class DisplayItemList;
class PaintFlags;
class CC_PAINT_EXPORT PaintCanvas {
@@ -164,6 +165,10 @@ class CC_PAINT_EXPORT PaintCanvas {
SkScalar y,
const PaintFlags& flags) = 0;
+ virtual void drawDisplayItemList(
+ const SkRect& bounds,
+ const DisplayItemList* display_item_list) = 0;
+
virtual void drawPicture(sk_sp<const PaintRecord> record,
const SkMatrix* matrix,
const PaintFlags* flags) = 0;
« 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