Description[M45] SkPaintFilterCanvas should inherit the target canvas state
Cherry-pick of http://crrev.com/1294013002 for M45.
Currently, SkPaintFilterCanvas does not provide any help in cloning
target canvas state. While that could be handled in subclasses, it is
easy to miss (see linked bug).
This CL adds a new constructor variant which ensures that the initial
matrix and clip bounds are inherited from the target canvas.
BUG=516790
TBR=reed@google.com,robertphillips@google.com
NOTREECHECKS=true
NOTRY=true
NOPRESUBMIT=true
Committed: https://skia.googlesource.com/skia/+/7dcc609c3adb8077583b8b70dece697eeae5c574
Patch Set 1 #
Messages
Total messages: 7 (3 generated)
|