DescriptionRemove draw window size state from SkDebugCanvas
The SkDebugCanvas can be (or is currently) being used to draw to multiple
different canvases. If this use-case is intended, then storing draw
-related state in the canvas causes bugs.
Remove draw window size state form SkDebugCanvas. Instead, use the canvas
base layer size as the window size to clip to. This is consistent with
the current use in debugger.
This is part of work trying to remove bugs in debugger that result from
replaying one SkDrawCanvas to two different canvases. Currently the
SkDrawCanvas stores state that can only be valid if it is used for one
canvas.
Committed: https://skia.googlesource.com/skia/+/26e5400de4db969d32356a0b703261c1c98735f6
Patch Set 1 #Patch Set 2 : rebase #
Messages
Total messages: 6 (2 generated)
|