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

Unified Diff: include/core/SkPictureRecorder.h

Issue 1452193002: Respect SkPictureRecorder::kPlaybackDrawPicture_RecordFlag for SkDrawables (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: comment Created 5 years, 1 month 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 | src/core/SkRecorder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkPictureRecorder.h
diff --git a/include/core/SkPictureRecorder.h b/include/core/SkPictureRecorder.h
index a1ec7a70a37174ab11e9af7c28a96d60f455b53c..6f95860b70afbdacbebc9507de1d9798676b2fb4 100644
--- a/include/core/SkPictureRecorder.h
+++ b/include/core/SkPictureRecorder.h
@@ -35,8 +35,8 @@ public:
// information should also be extracted at the same time.
kComputeSaveLayerInfo_RecordFlag = 0x01,
- // If you call drawPicture() on the recording canvas, this flag forces
- // that to use SkPicture::playback() immediately rather than (e.g.) reffing the picture.
+ // If you call drawPicture() or drawDrawable() on the recording canvas, this flag forces
+ // that object to playback its contents immediately rather than reffing the object.
kPlaybackDrawPicture_RecordFlag = 0x02,
};
« no previous file with comments | « no previous file | src/core/SkRecorder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698