SkLiteDL: thread the original canvas matrix through for SetMatrix::Draw().
authormtklein <mtklein@chromium.org>
Wed, 17 Aug 2016 00:18:27 +0000 (17:18 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 17 Aug 2016 00:18:27 +0000 (17:18 -0700)
commit6480619f9ff4676a97edae41b2ca23eadeddcfbf
treebc6a72071c32c4a7932f99e07cb83a63e51da1e2
parent287e7cb936f06634cadf1c6d908dc677012c996b
SkLiteDL: thread the original canvas matrix through for SetMatrix::Draw().

The SkLiteDL is recorded in some identity space (imagine, SkMatrix::I()),
but played back in a different one (here named SkMatrix original).  Any
calls to setMatrix() need to be made relative to this new space.

All other ops already operate in relative coordinates.

This should let us not fiddle with setMatrix().

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2247353003

Review-Url: https://codereview.chromium.org/2247353003
src/core/SkLiteDL.cpp
src/core/SkLiteDL.h