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

Issue 340203002: Fix external SkImageFilter caching with clips. (Closed)

Created:
6 years, 6 months ago by Stephen White
Modified:
6 years, 6 months ago
Reviewers:
reed1
CC:
reviews_skia.org, robertphillips1
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Fix external SkImageFilter caching with clips. When the external cache is active, do not intersect the saveLayer bounds with the clip bounds. This is so that the cache is always the full size of the primitive's bounds, regardless of the clip active on first draw. (Drawing of the filtered or cached result is always drawn against the active clip, though, since it is restored before internalDrawDevice() is called.) This is a slightly hacky solution, but this code can all go away (including the external cache) once all platforms have switched to impl-side painting. See Chromium bug http://crbug.com/379147. BUG=skia: Committed: https://skia.googlesource.com/skia/+/ffa9b500d7e83e7dddf6a8902f47c4355b608c30

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add a comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -0 lines) Patch
M src/core/SkImageFilter.cpp View 1 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Stephen White
reed@: PTAL. Thanks!
6 years, 6 months ago (2014-06-18 20:19:43 UTC) #1
reed1
lgtm -- but desperately needs a comment in the code https://codereview.chromium.org/340203002/diff/1/src/core/SkImageFilter.cpp File src/core/SkImageFilter.cpp (right): https://codereview.chromium.org/340203002/diff/1/src/core/SkImageFilter.cpp#newcode125 ...
6 years, 6 months ago (2014-06-18 20:27:54 UTC) #2
Stephen White
On 2014/06/18 20:27:54, reed1 wrote: > lgtm -- but desperately needs a comment in the ...
6 years, 6 months ago (2014-06-18 20:39:34 UTC) #3
Stephen White
Note to sheriff: this will require the following Chrome tests to be rebaselined for minor ...
6 years, 6 months ago (2014-06-18 20:53:26 UTC) #4
reed1
On 2014/06/18 20:53:26, Stephen White wrote: > Note to sheriff: this will require the following ...
6 years, 6 months ago (2014-06-18 20:58:24 UTC) #5
Stephen White
The CQ bit was checked by senorblanco@chromium.org
6 years, 6 months ago (2014-06-18 21:43:15 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/senorblanco@chromium.org/340203002/20001
6 years, 6 months ago (2014-06-18 21:43:35 UTC) #7
commit-bot: I haz the power
6 years, 6 months ago (2014-06-18 22:11:29 UTC) #8
Message was sent while issue was closed.
Change committed as ffa9b500d7e83e7dddf6a8902f47c4355b608c30

Powered by Google App Engine
This is Rietveld 408576698