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

Issue 258243005: Implement bounds traversals for tile and matrix convolution filters. (Closed)

Created:
6 years, 7 months ago by Stephen White
Modified:
6 years, 7 months ago
Reviewers:
reed1
CC:
skia-review_googlegroups.com, mtklein, epoger
Visibility:
Public.

Description

Implement bounds traversals for tile and matrix convolution filters. Add a new GM that exercises tiled drawing all pixel-moving filters (and some non-pixel-moving ones) and compares it against non-tiled drawing of the same filters. Fixing this test revealed that tile and matrix convolution filters had no onFilterBounds() traversals (test-driven development FTW). Tile requires (conservatively) the bounds to include the whole source rect, since it may end up in the result. Matrix convolution requires the bounds to be offset by the kernel size and target. R=reed@google.com BUG=skia: Committed: https://code.google.com/p/skia/source/detail?r=14432

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -4 lines) Patch
M expectations/gm/ignored-tests.txt View 1 chunk +4 lines, -0 lines 0 comments Download
M gm/tileimagefilter.cpp View 5 chunks +29 lines, -4 lines 0 comments Download
M include/effects/SkMatrixConvolutionImageFilter.h View 1 chunk +2 lines, -0 lines 0 comments Download
M include/effects/SkTileImageFilter.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/effects/SkMatrixConvolutionImageFilter.cpp View 1 chunk +13 lines, -0 lines 0 comments Download
M src/effects/SkTileImageFilter.cpp View 1 chunk +11 lines, -0 lines 0 comments Download
M tests/ImageFilterTest.cpp View 2 chunks +111 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Stephen White
reed@: PTAL. Thanks!
6 years, 7 months ago (2014-04-29 14:58:15 UTC) #1
reed1
QQ -- can we make a change to the app (GM, DM) so that we ...
6 years, 7 months ago (2014-04-29 15:01:12 UTC) #2
mtklein
On 2014/04/29 15:01:12, reed1 wrote: > QQ -- can we make a change to the ...
6 years, 7 months ago (2014-04-29 15:04:33 UTC) #3
Stephen White
On 2014/04/29 15:01:12, reed1 wrote: > QQ -- can we make a change to the ...
6 years, 7 months ago (2014-04-29 15:05:04 UTC) #4
reed1
On 2014/04/29 15:05:04, Stephen White wrote: > On 2014/04/29 15:01:12, reed1 wrote: > > QQ ...
6 years, 7 months ago (2014-04-29 15:08:41 UTC) #5
Stephen White
On 2014/04/29 15:08:41, reed1 wrote: > On 2014/04/29 15:05:04, Stephen White wrote: > > On ...
6 years, 7 months ago (2014-04-29 15:14:26 UTC) #6
reed1
lgtm
6 years, 7 months ago (2014-04-29 15:15:05 UTC) #7
Stephen White
6 years, 7 months ago (2014-04-29 15:20:44 UTC) #8
Message was sent while issue was closed.
Committed patchset #1 manually as r14432 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698