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

Issue 1152553006: Fix dst bound reported by SkTileImageFilter (Closed)

Created:
5 years, 6 months ago by robertphillips
Modified:
5 years, 6 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Fix dst bound reported by SkTileImageFilter In the example from the bug we had the filter DAG: color filter (table) 0: xfermode filter (arith) 0: tile filter [0,80,34,114] -> [0,80,800,480] 0: color filter (table) 0: bitmap src 34x34 -> [0,80,34,114] 1: color filter (table) 0: picture filter [0, 80, 800, 480] computeFastBounds was coming out of the DAG with a bound of [0,80,34,114] which didn't represent the pixels that would be drawn. This CL updates SkTileImageFilter to correctly set the bound for the pixels it will hit. BUG=493783 Committed: https://skia.googlesource.com/skia/+/05be93bbdf09576f7903130e3b106b0a8c7c4b4e Committed: https://skia.googlesource.com/skia/+/0be685755f942baea26c66a87226b569fc17e960 Committed: https://skia.googlesource.com/skia/+/c3176aa5e578cc64a2534a9ddac2fec5ab6d8d77

Patch Set 1 #

Patch Set 2 : Add GM #

Patch Set 3 : clean up #

Total comments: 1

Patch Set 4 : Update to ToT #

Patch Set 5 : fix secondary bug #

Patch Set 6 : Added comment #

Patch Set 7 : Fix line wraps #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -19 lines) Patch
M gm/bigtileimagefilter.cpp View 1 2 3 4 5 6 3 chunks +50 lines, -19 lines 0 comments Download
M include/effects/SkTileImageFilter.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/effects/SkTileImageFilter.cpp View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (11 generated)
robertphillips
5 years, 6 months ago (2015-06-02 15:00:43 UTC) #2
reed1
Stephen, how can we update the dox for the Tile filter? e.g. what *phase* is ...
5 years, 6 months ago (2015-06-02 15:33:11 UTC) #3
reed1
lgtm
5 years, 6 months ago (2015-06-02 15:33:29 UTC) #4
Stephen White
On 2015/06/02 15:33:11, reed1 wrote: > Stephen, how can we update the dox for the ...
5 years, 6 months ago (2015-06-02 17:22:56 UTC) #5
Stephen White
Fix LGTM BTW. Thanks for tracking this down.
5 years, 6 months ago (2015-06-02 17:23:45 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1152553006/40001
5 years, 6 months ago (2015-06-02 17:25:43 UTC) #9
Stephen White
https://codereview.chromium.org/1152553006/diff/40001/gm/bigtileimagefilter.cpp File gm/bigtileimagefilter.cpp (right): https://codereview.chromium.org/1152553006/diff/40001/gm/bigtileimagefilter.cpp#newcode23 gm/bigtileimagefilter.cpp:23: return SkString("bigtileimagefilter"); BTW, if you wanted to consider using ...
5 years, 6 months ago (2015-06-02 17:27:25 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-02 17:30:52 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1152553006/40001
5 years, 6 months ago (2015-06-02 17:51:50 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://skia.googlesource.com/skia/+/05be93bbdf09576f7903130e3b106b0a8c7c4b4e
5 years, 6 months ago (2015-06-02 17:52:46 UTC) #16
robertphillips
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/1143083006/ by robertphillips@google.com. ...
5 years, 6 months ago (2015-06-02 17:56:59 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1152553006/40001
5 years, 6 months ago (2015-06-04 13:48:17 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://skia.googlesource.com/skia/+/0be685755f942baea26c66a87226b569fc17e960
5 years, 6 months ago (2015-06-04 13:53:40 UTC) #20
robertphillips
posthumous lgtm + a question
5 years, 6 months ago (2015-06-04 15:27:02 UTC) #21
robertphillips
Ooops - wrong CL.
5 years, 6 months ago (2015-06-04 15:27:54 UTC) #22
robertphillips
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/1156583004/ by robertphillips@google.com. ...
5 years, 6 months ago (2015-06-04 18:15:02 UTC) #23
Stephen White
On 2015/06/04 18:15:02, robertphillips wrote: > The reason for reverting is: Blink. Rob, when you ...
5 years, 6 months ago (2015-06-10 17:59:00 UTC) #24
robertphillips
The majority of this was landed separately as: https://codereview.chromium.org/1169713003/ (Add bigtileimagefilter GM & improvements to ...
5 years, 6 months ago (2015-06-15 16:27:52 UTC) #25
robertphillips
PTAL The first version of the fix addressed the case where we had a PictureImageFilter ...
5 years, 6 months ago (2015-06-16 16:10:01 UTC) #26
Stephen White
On 2015/06/16 16:10:01, robertphillips wrote: > PTAL > > The first version of the fix ...
5 years, 6 months ago (2015-06-16 16:12:39 UTC) #27
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1152553006/120001
5 years, 6 months ago (2015-06-16 16:17:05 UTC) #30
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-16 16:22:04 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1152553006/120001
5 years, 6 months ago (2015-06-16 16:44:21 UTC) #34
commit-bot: I haz the power
5 years, 6 months ago (2015-06-16 16:44:59 UTC) #35
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://skia.googlesource.com/skia/+/c3176aa5e578cc64a2534a9ddac2fec5ab6d8d77

Powered by Google App Engine
This is Rietveld 408576698