Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Issue 2247353003: SkLiteDL: thread the original canvas matrix through for SetMatrix::Draw(). (Closed)

Created:
4 years, 4 months ago by mtklein_C
Modified:
4 years, 4 months ago
Reviewers:
djsollen, mtklein, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

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 Committed: https://skia.googlesource.com/skia/+/6480619f9ff4676a97edae41b2ca23eadeddcfbf

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -44 lines) Patch
M src/core/SkLiteDL.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/core/SkLiteDL.cpp View 32 chunks +57 lines, -42 lines 1 comment Download

Messages

Total messages: 18 (10 generated)
mtklein_C
4 years, 4 months ago (2016-08-16 22:12:38 UTC) #5
mtklein_C
4 years, 4 months ago (2016-08-16 22:20:08 UTC) #7
reed1
https://codereview.chromium.org/2247353003/diff/1/src/core/SkLiteDL.cpp File src/core/SkLiteDL.cpp (right): https://codereview.chromium.org/2247353003/diff/1/src/core/SkLiteDL.cpp#newcode131 src/core/SkLiteDL.cpp:131: void draw(SkCanvas* c, const SkMatrix& original) { Crazy idea ...
4 years, 4 months ago (2016-08-16 23:31:51 UTC) #11
mtklein
On 2016/08/16 23:31:51, reed1 wrote: > https://codereview.chromium.org/2247353003/diff/1/src/core/SkLiteDL.cpp > File src/core/SkLiteDL.cpp (right): > > https://codereview.chromium.org/2247353003/diff/1/src/core/SkLiteDL.cpp#newcode131 > ...
4 years, 4 months ago (2016-08-16 23:44:47 UTC) #12
reed1
boo hoo for thread-safety. lgtm
4 years, 4 months ago (2016-08-16 23:57:23 UTC) #13
mtklein
On 2016/08/16 23:57:23, reed1 wrote: > boo hoo for thread-safety. lgtm FWIW, I am keeping ...
4 years, 4 months ago (2016-08-17 00:16:29 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2247353003/1
4 years, 4 months ago (2016-08-17 00:17:37 UTC) #16
commit-bot: I haz the power
4 years, 4 months ago (2016-08-17 00:18:31 UTC) #18
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://skia.googlesource.com/skia/+/6480619f9ff4676a97edae41b2ca23eadeddcfbf

Powered by Google App Engine
This is Rietveld 408576698