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

Unified Diff: cc/paint/paint_canvas.h

Issue 2757313002: Add PaintCanvas::drawDisplayItemList (Closed)
Patch Set: 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') | cc/paint/skia_paint_canvas.cc » ('J')
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..b163198a9e8682feeb69e1a8ce313a74a155e2a7 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 {
@@ -177,6 +178,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(const PaintRecord* record) = 0;
virtual void drawPicture(const PaintRecord* record,
const SkMatrix* matrix,
« no previous file with comments | « no previous file | cc/paint/skia_paint_canvas.h » ('j') | cc/paint/skia_paint_canvas.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698