diff options
author | mtklein <mtklein@chromium.org> | 2016-08-18 15:42:32 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-18 15:42:32 -0700 |
commit | 5fa47f4fd13b3158de4599414c86d17649c2dd1c (patch) | |
tree | 729c8339c1d6a1488fc57a3102e78c7bf119b89f /include/private/GrSurfaceProxy.h | |
parent | abe795e4db533c2e230be0c2be868754e5a02a7e (diff) |
Fast path translate() in SkCanvas and SkLiteDL.
This adds didTranslate() so that SkLiteDL (and other canvas recorders)
can record the translate rather than the full concat.
It also adds a case to SkMatrix::preTranslate() to fast path
translate x translate -> translate (i.e. +=).
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2255283002
Review-Url: https://codereview.chromium.org/2255283002
Diffstat (limited to 'include/private/GrSurfaceProxy.h')
0 files changed, 0 insertions, 0 deletions