commit | 9e6835da41e344ef3c4c35036fabfdb0a4146c33 | [log] [tgz] |
---|---|---|
author | robertphillips <robertphillips@google.com> | Wed Oct 22 05:33:52 2014 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed Oct 22 05:33:52 2014 -0700 |
tree | 0dffa73275ac2426b99b8960aff262ca8a6022b0 | |
parent | f802f326f46aebd9fbad5ffe63450f0dcad948bb [diff] |
Track nested picture xform state for layer hoisting The accumulated matrix state of any enclosing SkPictures must be stored separate from the picture-local CTM. Any setMatrix calls inside a layer need to replace the picture-local CTM but concatenate with the enclosing SkPicture transform state (and the transform state needed to translate the layer to the correct location in the cached GrTexture). Review URL: https://codereview.chromium.org/639863005