cfd204a785
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> |
||
---|---|---|
.. | ||
DebugCanvas.cpp | ||
DebugCanvas.h | ||
DebugLayerManager.cpp | ||
DebugLayerManager.h | ||
DrawCommand.cpp | ||
DrawCommand.h | ||
JsonWriteBuffer.cpp | ||
JsonWriteBuffer.h |