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

Unified Diff: include/core/SkMultiPictureDraw.h

Issue 878653004: Add a flag to flush the canvases during SkMultiPictureDraw::draw(). (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 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 | src/core/SkMultiPictureDraw.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkMultiPictureDraw.h
diff --git a/include/core/SkMultiPictureDraw.h b/include/core/SkMultiPictureDraw.h
index ce788962ffe4747f2c21f521b9c383958d02a899..809e2dfe29cbfb59544a3e98cbaff92cdcdeffa4 100644
--- a/include/core/SkMultiPictureDraw.h
+++ b/include/core/SkMultiPictureDraw.h
@@ -45,9 +45,10 @@ public:
/**
* Perform all the previously added draws. This will reset the state
- * of this object.
+ * of this object. If flush is true, all canvases are flushed after
+ * draw.
*/
- void draw();
+ void draw(bool flush = false);
/**
* Abandon all buffered draws and reset to the initial state.
« no previous file with comments | « no previous file | src/core/SkMultiPictureDraw.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698