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

Issue 141433017: Implement computeFastBounds() for SkImageFilter. This allows for the correct culling of primitives … (Closed)

Created:
6 years, 11 months ago by Stephen White
Modified:
6 years, 10 months ago
Reviewers:
caryclark, reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Give correct bounds to SkCanvas's AutoDrawLooper use for filter draws. In conjuction with https://codereview.chromium.org/137423005/, this allows the canvas to tighten the bounds passed to saveLayer() only the affected region. R=reed@google.com BUG=100703 Committed: https://code.google.com/p/skia/source/detail?r=13221

Patch Set 1 #

Patch Set 2 : Add test suppressions #

Total comments: 1

Patch Set 3 : Make computeFastBounds() traversal const. #

Patch Set 4 : Revert all changes except for the bounds passed to AutoDrawLooper #

Patch Set 5 : New version w/const-ptr computeFastBounds() and friends. #

Patch Set 6 : Back to the Patch Set 4 (updated to ToT) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -32 lines) Patch
M expectations/gm/ignored-tests.txt View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
M src/core/SkCanvas.cpp View 5 19 chunks +49 lines, -32 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Stephen White
reed@: PTAL. Thanks!
6 years, 11 months ago (2014-01-27 15:45:53 UTC) #1
reed1
Looks like this is two interesting CLs 1. add bounds to AutoLooper 2. add computeFastBounds ...
6 years, 11 months ago (2014-01-27 16:32:26 UTC) #2
Stephen White
On 2014/01/27 16:32:26, reed1 wrote: > Looks like this is two interesting CLs > > ...
6 years, 11 months ago (2014-01-27 16:43:58 UTC) #3
Stephen White
Uploaded a new patch set containing only the changes to the SkCanvas AutoDrawLooper, as the ...
6 years, 11 months ago (2014-01-27 21:56:42 UTC) #4
reed1
6 years, 10 months ago (2014-01-28 13:38:02 UTC) #5
reed1
lgtm
6 years, 10 months ago (2014-01-28 18:37:13 UTC) #6
Stephen White
Thanks for your review. One thing I wanted to point out: this code is a ...
6 years, 10 months ago (2014-01-28 18:58:00 UTC) #7
Stephen White
On 2014/01/28 18:58:00, Stephen White wrote: > Thanks for your review. > > One thing ...
6 years, 10 months ago (2014-01-28 19:06:08 UTC) #8
Stephen White
On 2014/01/28 19:06:08, Stephen White wrote: > On 2014/01/28 18:58:00, Stephen White wrote: > > ...
6 years, 10 months ago (2014-01-28 19:06:29 UTC) #9
reed1
I like the newer version too (w/ the * instead of &)
6 years, 10 months ago (2014-01-28 19:11:17 UTC) #10
Stephen White
On 2014/01/28 19:11:17, reed1 wrote: > I like the newer version too (w/ the * ...
6 years, 10 months ago (2014-01-28 19:17:52 UTC) #11
Stephen White
6 years, 10 months ago (2014-01-28 19:22:40 UTC) #12
Message was sent while issue was closed.
Committed patchset #6 manually as r13221 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698