skia2/tools/debugger
Michael Ludwig cfd204a785 Rename/simplify SkCanvas::resetClip() and make recordable
AndroidFramework uses both their own custom display list (which could
handle resetClip with android-side changes) AND conventional picture
recording. In order for replace op emulation to work when they have
been recorded into a picture, we need to make it virtual and supported
in SkPicture.

This also renames the API to ResetClip() from ReplaceClip() and does not
have any additional arguments. Based on AF's usage pattern, it only n
needs to reset the clip to the surface bounds or the device clip
restriction, it seems best to reduce the API as much as possible before
it's adopted.

Bug: skia:10209
Change-Id: I37adb097c84a642f4254b8c0f9d4c7fea8d9abdf
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/430897
Reviewed-by: Mike Reed <reed@google.com>
Reviewed-by: Derek Sollenberger <djsollen@google.com>
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
2021-07-23 19:05:42 +00:00
..
DebugCanvas.cpp Rename/simplify SkCanvas::resetClip() and make recordable 2021-07-23 19:05:42 +00:00
DebugCanvas.h Rename/simplify SkCanvas::resetClip() and make recordable 2021-07-23 19:05:42 +00:00
DebugLayerManager.cpp Remove uses of SkCanvas::flush 2020-11-20 21:42:38 +00:00
DebugLayerManager.h Add supporting function for finding image use in layers 2020-11-24 17:04:56 +00:00
DrawCommand.cpp Rename/simplify SkCanvas::resetClip() and make recordable 2021-07-23 19:05:42 +00:00
DrawCommand.h Rename/simplify SkCanvas::resetClip() and make recordable 2021-07-23 19:05:42 +00:00
JsonWriteBuffer.cpp read/write m44 2020-07-20 20:45:04 +00:00
JsonWriteBuffer.h read/write m44 2020-07-20 20:45:04 +00:00