skia2/include/utils
Adrienne Walker 6a280a50ed Expose resetForNextPicture in SkNoDrawCanvas
SkRecorder has some private Skia behavior with the way it handles an
SkNoDrawCanvas that is not exposed.  In particular, it's able to create
an arbitrary SkIRect device clip at construction time.

This is a performance optimization when reusing SkNoDrawCanvas across
multiple recordings instead of reconstructing a new canvas every time.

https://codereview.chromium.org/2768143002 is trying to implement
another version of SkPictureBuilder/SkRecorder and so wants to be able
to use similar SkNoDrawCanvas behavior.

Change-Id: I0ac5f0eef8f0548cefd7354062311667cf448b07
Reviewed-on: https://skia-review.googlesource.com/11320
Reviewed-by: Mike Reed <reed@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Mike Klein <mtklein@chromium.org>
2017-05-02 13:52:09 +00:00
..
mac support external raster handles 2017-01-10 17:31:58 +00:00
SkCamera.h Add perspective shadows 2017-04-11 20:26:46 +00:00
SkCanvasStateUtils.h no need for SK_SUPPORT_LEGACY_CANVAS_IS_REFCNT anymore 2016-12-07 22:28:04 +00:00
SkDumpCanvas.h Mark overridden destructors with 'override' and remove 'virtual' 2017-03-22 16:06:18 +00:00
SkEventTracer.h Split default and user-supplied event tracers. 2015-04-21 09:38:03 -07:00
SkFrontBufferedStream.h Make header files idempotent; script to check 2017-02-13 15:52:59 +00:00
SkInterpolator.h test & doc for SkUnitCubicInterp 2016-01-07 11:33:15 -08:00
SkLua.h remove clipstack from lua -- deprecated 2017-01-19 20:07:03 +00:00
SkLuaCanvas.h Mark overridden destructors with 'override' and remove 'virtual' 2017-03-22 16:06:18 +00:00
SkNoDrawCanvas.h Expose resetForNextPicture in SkNoDrawCanvas 2017-05-02 13:52:09 +00:00
SkNullCanvas.h no need for SK_SUPPORT_LEGACY_CANVAS_IS_REFCNT anymore 2016-12-07 22:28:04 +00:00
SkNWayCanvas.h Mark overridden destructors with 'override' and remove 'virtual' 2017-03-22 16:06:18 +00:00
SkPaintFilterCanvas.h remove legacy virtual for vertices, only support object form 2017-03-17 17:03:18 +00:00
SkParse.h [Skia] Add SK_API to SkParse. 2015-03-02 07:51:17 -08:00
SkParsePath.h Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
SkRandom.h Reverse dependency between SkScalar.h and SkFixed.h. 2016-04-07 08:49:31 -07:00
SkShadowUtils.h Add height function to shadow tessellators. 2017-03-27 19:06:59 +00:00
SkTextBox.h Use sk_sp text blob APIs 2016-09-13 10:00:23 -07:00