diff options
author | 2016-08-18 17:43:59 -0700 | |
---|---|---|
committer | 2016-08-18 17:43:59 -0700 | |
commit | 954df2fe9f4f66655c99af08b108cb582c402c5d (patch) | |
tree | c47d07909b7dce9dac40ab31a39c3c8b12984c23 /src/core/SkLiteDL.h | |
parent | 4a16717bc7aa471fad10ec3157774771a76e5106 (diff) |
Revert of Fast path translate() in SkCanvas and SkLiteDL. (patchset #5 id:80001 of https://codereview.chromium.org/2255283002/ )
Reason for revert:
speculative
Original issue's description:
> 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
>
> Committed: https://skia.googlesource.com/skia/+/5fa47f4fd13b3158de4599414c86d17649c2dd1c
TBR=herb@google.com,reed@google.com,mtklein@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:
Review-Url: https://codereview.chromium.org/2264433002
Diffstat (limited to 'src/core/SkLiteDL.h')
-rw-r--r-- | src/core/SkLiteDL.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/SkLiteDL.h b/src/core/SkLiteDL.h index e80548cecd..38a08129ac 100644 --- a/src/core/SkLiteDL.h +++ b/src/core/SkLiteDL.h @@ -29,7 +29,6 @@ public: void concat (const SkMatrix&); void setMatrix (const SkMatrix&); - void translate(SkScalar, SkScalar); void translateZ(SkScalar); void clipPath (const SkPath&, SkRegion::Op, bool aa); |