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

Issue 437393003: Explicit tile bounds for SkPictureShader (Closed)

Created:
6 years, 4 months ago by f(malita)
Modified:
6 years, 4 months ago
Reviewers:
robertphillips, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Explicit tile bounds for SkPictureShader The integer picture size is not granular enough to allow precise tiling in arbitrary coordinate systems. This CL adds an optional tile bounds float rect param to control the tile size and location. (this also allows tile spacing emulation for picture shaders). R=reed@google.com,robertphillips@google.com Committed: https://skia.googlesource.com/skia/+/b5f7826c51af2862aebcabe61e1ba684f925e488

Patch Set 1 #

Total comments: 2

Patch Set 2 : Make tile param non-optional + more documentation. #

Total comments: 2

Patch Set 3 : Reverted param order. #

Patch Set 4 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+182 lines, -17 lines) Patch
M gm/pictureshader.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
A gm/pictureshadertile.cpp View 2 1 chunk +147 lines, -0 lines 0 comments Download
M gyp/gmslides.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkShader.h View 1 2 1 chunk +9 lines, -2 lines 0 comments Download
M src/core/SkPictureShader.h View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M src/core/SkPictureShader.cpp View 1 2 6 chunks +15 lines, -8 lines 0 comments Download
M src/core/SkShader.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M tests/PictureShaderTest.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
f(malita)
6 years, 4 months ago (2014-08-05 03:05:21 UTC) #1
reed1
(gulp) is this a general feature we could expose? newShader = oldShader + tileRect https://codereview.chromium.org/437393003/diff/1/include/core/SkShader.h ...
6 years, 4 months ago (2014-08-05 15:51:25 UTC) #2
f(malita)
On 2014/08/05 15:51:25, reed1 wrote: > (gulp) is this a general feature we could expose? ...
6 years, 4 months ago (2014-08-05 16:39:58 UTC) #3
f(malita)
On 2014/08/05 16:39:58, Florin Malita wrote: > On 2014/08/05 15:51:25, reed1 wrote: > > (gulp) ...
6 years, 4 months ago (2014-08-05 16:48:18 UTC) #4
Stephen White
On 2014/08/05 16:48:18, Florin Malita wrote: > On 2014/08/05 16:39:58, Florin Malita wrote: > > ...
6 years, 4 months ago (2014-08-05 17:18:49 UTC) #5
f(malita)
On 2014/08/05 16:39:58, Florin Malita wrote: > On 2014/08/05 15:51:25, reed1 wrote: > https://codereview.chromium.org/437393003/diff/1/include/core/SkShader.h > ...
6 years, 4 months ago (2014-08-05 21:30:42 UTC) #6
reed1
lgtm w/ parameter order nit. https://codereview.chromium.org/437393003/diff/20001/include/core/SkShader.h File include/core/SkShader.h (right): https://codereview.chromium.org/437393003/diff/20001/include/core/SkShader.h#newcode440 include/core/SkShader.h:440: const SkRect* tile, nit: ...
6 years, 4 months ago (2014-08-06 13:14:35 UTC) #7
f(malita)
https://codereview.chromium.org/437393003/diff/20001/include/core/SkShader.h File include/core/SkShader.h (right): https://codereview.chromium.org/437393003/diff/20001/include/core/SkShader.h#newcode440 include/core/SkShader.h:440: const SkRect* tile, On 2014/08/06 13:14:35, reed1 wrote: > ...
6 years, 4 months ago (2014-08-06 14:56:02 UTC) #8
f(malita)
The CQ bit was checked by fmalita@chromium.org
6 years, 4 months ago (2014-08-06 14:56:17 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/fmalita@chromium.org/437393003/40001
6 years, 4 months ago (2014-08-06 14:56:37 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-06 18:07:00 UTC) #11
commit-bot: I haz the power
Failed to apply patch for gyp/gmslides.gypi: While running git apply --index -p1; error: patch failed: ...
6 years, 4 months ago (2014-08-06 18:07:01 UTC) #12
f(malita)
The CQ bit was checked by fmalita@chromium.org
6 years, 4 months ago (2014-08-06 19:58:57 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/fmalita@chromium.org/437393003/60001
6 years, 4 months ago (2014-08-06 19:59:38 UTC) #14
commit-bot: I haz the power
6 years, 4 months ago (2014-08-06 20:07:20 UTC) #15
Message was sent while issue was closed.
Change committed as b5f7826c51af2862aebcabe61e1ba684f925e488

Powered by Google App Engine
This is Rietveld 408576698