diff options
Diffstat (limited to 'include/core/SkCanvas.h')
-rw-r--r-- | include/core/SkCanvas.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h index 4d9c462b7..94eb6add7 100644 --- a/include/core/SkCanvas.h +++ b/include/core/SkCanvas.h @@ -932,6 +932,12 @@ public: */ void EXPERIMENTAL_optimize(SkPicture* picture); + /** PRIVATE / EXPERIMENTAL -- do not call + Purge all the discardable optimization information associated with + 'picture'. If NULL is passed in, purge all discardable information. + */ + void EXPERIMENTAL_purge(SkPicture* picture); + /** Draw the picture into this canvas. This method effective brackets the playback of the picture's draw calls with save/restore, so the state of this canvas will be unchanged after this call. |