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

Issue 263293005: add local-matrix to shader::context (Closed)

Created:
6 years, 7 months ago by reed1
Modified:
6 years, 7 months ago
Reviewers:
Dominik Grewe, scroggo
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

add local-matrix to shader::context BUG=skia: Committed: http://code.google.com/p/skia/source/detail?r=14592

Patch Set 1 #

Patch Set 2 : fix drawVertices by storing original CTM in context #

Total comments: 2

Patch Set 3 : rebase, up smallallocator size for extra context storage #

Total comments: 6

Patch Set 4 : add/fix comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -52 lines) Patch
M include/core/SkShader.h View 1 2 3 2 chunks +15 lines, -14 lines 0 comments Download
M src/core/SkBitmapProcShader.h View 1 2 1 chunk +1 line, -4 lines 0 comments Download
M src/core/SkBlitter.h View 1 chunk +1 line, -2 lines 0 comments Download
M src/core/SkBlitter.cpp View 5 chunks +4 lines, -9 lines 0 comments Download
M src/core/SkCoreBlitters.h View 1 chunk +1 line, -2 lines 0 comments Download
M src/core/SkDraw.cpp View 1 2 3 3 chunks +11 lines, -15 lines 0 comments Download
M src/core/SkPictureShader.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkPictureShader.cpp View 1 2 4 chunks +6 lines, -3 lines 0 comments Download
M src/core/SkShader.cpp View 1 3 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
reed1
This removes the need for localMatrix as a getter/setter in shader, by tunneling the temp ...
6 years, 7 months ago (2014-05-06 13:34:32 UTC) #1
Dominik Grewe
https://codereview.chromium.org/263293005/diff/20001/src/core/SkDraw.cpp File src/core/SkDraw.cpp (right): https://codereview.chromium.org/263293005/diff/20001/src/core/SkDraw.cpp#newcode2569 src/core/SkDraw.cpp:2569: if (!blitter->resetShaderContext(rec)) { 'shader->setLocalMatrix()' is changing the LM of ...
6 years, 7 months ago (2014-05-06 13:48:50 UTC) #2
reed1
https://codereview.chromium.org/263293005/diff/20001/src/core/SkDraw.cpp File src/core/SkDraw.cpp (right): https://codereview.chromium.org/263293005/diff/20001/src/core/SkDraw.cpp#newcode2569 src/core/SkDraw.cpp:2569: if (!blitter->resetShaderContext(rec)) { On 2014/05/06 13:48:51, Dominik Grewe wrote: ...
6 years, 7 months ago (2014-05-06 14:07:57 UTC) #3
Dominik Grewe
On 2014/05/06 14:07:57, reed1 wrote: > https://codereview.chromium.org/263293005/diff/20001/src/core/SkDraw.cpp > File src/core/SkDraw.cpp (right): > > https://codereview.chromium.org/263293005/diff/20001/src/core/SkDraw.cpp#newcode2569 > ...
6 years, 7 months ago (2014-05-06 14:20:59 UTC) #4
Dominik Grewe
On 2014/05/06 14:07:57, reed1 wrote: > https://codereview.chromium.org/263293005/diff/20001/src/core/SkDraw.cpp > File src/core/SkDraw.cpp (right): > > https://codereview.chromium.org/263293005/diff/20001/src/core/SkDraw.cpp#newcode2569 > ...
6 years, 7 months ago (2014-05-06 14:21:00 UTC) #5
reed1
On 2014/05/06 14:21:00, Dominik Grewe wrote: > On 2014/05/06 14:07:57, reed1 wrote: > > https://codereview.chromium.org/263293005/diff/20001/src/core/SkDraw.cpp ...
6 years, 7 months ago (2014-05-06 14:23:31 UTC) #6
Dominik Grewe
On 2014/05/06 14:23:31, reed1 wrote: > On 2014/05/06 14:21:00, Dominik Grewe wrote: > > On ...
6 years, 7 months ago (2014-05-06 14:28:14 UTC) #7
reed1
are there other comments?
6 years, 7 months ago (2014-05-06 15:15:54 UTC) #8
scroggo
lgtm https://codereview.chromium.org/263293005/diff/40001/include/core/SkShader.h File include/core/SkShader.h (right): https://codereview.chromium.org/263293005/diff/40001/include/core/SkShader.h#newcode135 include/core/SkShader.h:135: const SkMatrix* fMatrix; // the current matrix in ...
6 years, 7 months ago (2014-05-06 15:40:30 UTC) #9
reed1
https://codereview.chromium.org/263293005/diff/40001/include/core/SkShader.h File include/core/SkShader.h (right): https://codereview.chromium.org/263293005/diff/40001/include/core/SkShader.h#newcode135 include/core/SkShader.h:135: const SkMatrix* fMatrix; // the current matrix in the ...
6 years, 7 months ago (2014-05-06 17:04:50 UTC) #10
reed1
The CQ bit was checked by reed@google.com
6 years, 7 months ago (2014-05-06 17:09:42 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/reed@google.com/263293005/60001
6 years, 7 months ago (2014-05-06 17:10:01 UTC) #12
commit-bot: I haz the power
6 years, 7 months ago (2014-05-06 17:16:07 UTC) #13
Message was sent while issue was closed.
Change committed as 14592

Powered by Google App Engine
This is Rietveld 408576698