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

Unified Diff: sky/engine/core/painting/PaintingNode.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/PaintingNode.cpp ('k') | sky/engine/core/painting/PictureRecorder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/painting/PaintingNode.idl
diff --git a/sky/engine/core/painting/Drawable.idl b/sky/engine/core/painting/PaintingNode.idl
similarity index 68%
copy from sky/engine/core/painting/Drawable.idl
copy to sky/engine/core/painting/PaintingNode.idl
index a02c65503c87e0528eef97abb3eb9a338ff6f81f..520d8fd423afa1fbbeabad828ed6e0a7dbdb86ac 100644
--- a/sky/engine/core/painting/Drawable.idl
+++ b/sky/engine/core/painting/PaintingNode.idl
@@ -1,6 +1,9 @@
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-interface Drawable {
+[
+ Constructor(),
+] interface PaintingNode {
+ void setBackingDrawable(Drawable drawable);
Picture newPictureSnapshot();
};
« no previous file with comments | « sky/engine/core/painting/PaintingNode.cpp ('k') | sky/engine/core/painting/PictureRecorder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698