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

Unified Diff: sky/engine/core/painting/Canvas.idl

Issue 1216833003: Make rendering use PaintingNodes for increased efficiency. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Different approach to calling markNeedsPaint with unattached nodes Created 5 years, 5 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 | « sky/engine/core/painting/Canvas.cpp ('k') | sky/engine/core/painting/Drawable.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/painting/Canvas.idl
diff --git a/sky/engine/core/painting/Canvas.idl b/sky/engine/core/painting/Canvas.idl
index dd4e20d6d7fbfd86f1b7dfdf4de1d5bfbbe82c2b..6f822447f02f6e5a956fcef4e55c93e4c72174f5 100644
--- a/sky/engine/core/painting/Canvas.idl
+++ b/sky/engine/core/painting/Canvas.idl
@@ -4,7 +4,7 @@
// TODO(mpcomplete): Figure out a better SkMatrix representation.
[
- Constructor(PictureRecorder recorder, Size bounds),
+ Constructor(PictureRecorder recorder, Rect bounds),
RaisesException=Constructor,
] interface Canvas {
void save();
@@ -33,4 +33,5 @@
void drawImageRect(Image image, Rect src, Rect dst, Paint paint);
void drawPicture(Picture picture);
void drawDrawable(Drawable drawable);
+ void drawPaintingNode(PaintingNode paintingNode, Point p);
};
« no previous file with comments | « sky/engine/core/painting/Canvas.cpp ('k') | sky/engine/core/painting/Drawable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698