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

Unified Diff: sky/engine/core/painting/PictureRecorder.h

Issue 1221583003: Add APIs for dynamic display lists, using SkDrawable and SkPictureRecorder::endRecordingAsDrawable. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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/Picture.cpp ('k') | sky/engine/core/painting/PictureRecorder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/painting/PictureRecorder.h
diff --git a/sky/engine/core/painting/PictureRecorder.h b/sky/engine/core/painting/PictureRecorder.h
index 503c05e5d9ec75d07b51b05a60bb9761223e6a85..e01c66a310d388822321206bb23f5809ce0864e3 100644
--- a/sky/engine/core/painting/PictureRecorder.h
+++ b/sky/engine/core/painting/PictureRecorder.h
@@ -12,8 +12,9 @@
namespace blink {
-class Picture;
class Canvas;
+class Drawable;
+class Picture;
class PictureRecorder : public RefCounted<PictureRecorder>,
public DartWrappable {
@@ -29,6 +30,7 @@ public:
// PassRefPtr<Canvas> beginRecording(double width, double height);
SkCanvas* beginRecording(double width, double height);
PassRefPtr<Picture> endRecording();
+ PassRefPtr<Drawable> endRecordingAsDrawable();
bool isRecording();
void set_canvas(PassRefPtr<Canvas> canvas);
« no previous file with comments | « sky/engine/core/painting/Picture.cpp ('k') | sky/engine/core/painting/PictureRecorder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698