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

Issue 1657333002: Fix for rounded-rect clips with filters. (Closed)

Created:
4 years, 10 months ago by Stephen White
Modified:
4 years, 10 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 for rounded-rect clips with filters. Don't use the base canvas size to limit raster of complex clips, since the top canvas size may actually be larger (e.g., a blur filter which expands the clip bounds to accommodate filter margins). Use the top canvas bounds instead. BUG=skia:4879, 471212 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1657333002 Committed: https://skia.googlesource.com/skia/+/afc7cce5d68663934128d76963cd501f771d71de

Patch Set 1 #

Patch Set 2 : Fix tests #

Patch Set 3 : Switch to SkIRect API #

Patch Set 4 : Fix debug build #

Patch Set 5 : Remove getTopLayer[Size|Origin] #

Patch Set 6 : Add a GM #

Patch Set 7 : Tweak PDF change #

Patch Set 8 : Remove spurious #include #

Patch Set 9 : Speculative Win fix #

Patch Set 10 : picture GM fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -42 lines) Patch
A gm/complexclip_blur_tiled.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +76 lines, -0 lines 0 comments Download
M include/core/SkCanvas.h View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M src/core/SkCanvas.cpp View 1 2 3 4 6 chunks +11 lines, -18 lines 0 comments Download
M src/core/SkRasterClip.h View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M src/core/SkRasterClip.cpp View 1 2 5 chunks +8 lines, -8 lines 0 comments Download
M src/pdf/SkPDFDevice.cpp View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M src/utils/SkLua.cpp View 1 2 3 4 1 chunk +1 line, -4 lines 0 comments Download
M tests/AAClipTest.cpp View 1 2 3 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 33 (14 generated)
Stephen White
Rob, could you take a look? This is a WIP. This fixes my bug, but ...
4 years, 10 months ago (2016-02-02 17:55:59 UTC) #4
reed1
1. sure seems logically correct to use the top-layer's dimensions 2. if #1 proves true, ...
4 years, 10 months ago (2016-02-02 18:02:17 UTC) #6
Stephen White
On 2016/02/02 18:02:17, reed1 wrote: > 1. sure seems logically correct to use the top-layer's ...
4 years, 10 months ago (2016-02-02 18:28:23 UTC) #7
Stephen White
Looking into it a bit more, it looks like the effect of this patch on ...
4 years, 10 months ago (2016-02-02 18:38:37 UTC) #8
Stephen White
reed@: PTAL. Thanks!
4 years, 10 months ago (2016-02-02 23:09:22 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1657333002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1657333002/140001
4 years, 10 months ago (2016-02-02 23:13:00 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/5838)
4 years, 10 months ago (2016-02-02 23:15:29 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1657333002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1657333002/160001
4 years, 10 months ago (2016-02-02 23:17:18 UTC) #16
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot/builds/5755)
4 years, 10 months ago (2016-02-02 23:38:12 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1657333002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1657333002/180001
4 years, 10 months ago (2016-02-02 23:44:15 UTC) #20
reed1
looks very clean. lgtm
4 years, 10 months ago (2016-02-03 00:15:41 UTC) #21
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-03 00:19:07 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1657333002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1657333002/180001
4 years, 10 months ago (2016-02-03 02:43:31 UTC) #25
commit-bot: I haz the power
Committed patchset #10 (id:180001) as https://skia.googlesource.com/skia/+/afc7cce5d68663934128d76963cd501f771d71de
4 years, 10 months ago (2016-02-03 02:44:20 UTC) #27
jcgregorio
On 2016/02/03 at 02:44:20, commit-bot wrote: > Committed patchset #10 (id:180001) as https://skia.googlesource.com/skia/+/afc7cce5d68663934128d76963cd501f771d71de There seems ...
4 years, 10 months ago (2016-02-03 17:02:23 UTC) #28
reed1
On 2016/02/03 17:02:23, jcgregorio wrote: > On 2016/02/03 at 02:44:20, commit-bot wrote: > > Committed ...
4 years, 10 months ago (2016-02-03 17:43:32 UTC) #29
reed1
see https://codereview.chromium.org/1661873003/#
4 years, 10 months ago (2016-02-03 17:46:54 UTC) #30
Stephen White
On 2016/02/03 17:46:54, reed1 wrote: > see https://codereview.chromium.org/1661873003/ Thanks, Mike! BTW I started to look ...
4 years, 10 months ago (2016-02-03 18:28:08 UTC) #31
reed1
4 years, 10 months ago (2016-02-03 18:33:49 UTC) #33
Message was sent while issue was closed.
good question, adding klein who might know...

Powered by Google App Engine
This is Rietveld 408576698