commit | f433bb2bebd441cc0b2b152e8fbf79eac43baf5d | [log] [tgz] |
---|---|---|
author | fmalita <fmalita@chromium.org> | Mon Aug 17 08:05:13 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Mon Aug 17 08:05:13 2015 -0700 |
tree | 50748556c038b4ed2a5dec143061b737c8df44ac | |
parent | 340f3074b49de089e7e8cf9495fd54f67b7f9b8a [diff] |
SkPaintFilterCanvas should inherit the target canvas state 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 R=reed@google.com,robertphillips@google.com Review URL: https://codereview.chromium.org/1294013002