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

Issue 2482193004: Tighten SkAAClip Bounds by Path Bounds (Closed)

Created:
4 years, 1 month ago by liyuqian
Modified:
4 years, 1 month ago
Reviewers:
f(malita), caryclark, reed1
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Tighten SkAAClip Bounds by Path Bounds This bug chromium:662780 exists after our original fix (https://codereview.chromium.org/2477393002/) because this path (added in unit test) is calling blitAntiRect rather than blitAntiH when the path is drifted across the boundary. (The quadratic edge drifts across the boundary after an update and sets a dX=0 line segment which triggers blitAntiRect.) Note that I didn't assert for the dLeft = dRite = 0 case because the left/right there won't drift after the SkTMin/SkTMax in line 964/966. Theoretically we can revert the relaxation in https://codereview.chromium.org/2477393002/ (that's only a relaxation for analytic AA, not supersampled AA). However, consider that the initial landing of analytic AA is so painful, I decide to revert that relaxation only after our successful landing... BUG=chromium:662780, chromium:662862 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2482193004 Committed: https://skia.googlesource.com/skia/+/041da389dd923689041ba5e45cda34901ba4fe8a

Patch Set 1 #

Patch Set 2 : Send in the true SkRegion #

Total comments: 1

Patch Set 3 : Rebase #

Patch Set 4 : Fix 100 line limit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -7 lines) Patch
M src/core/SkScan_AAAPath.cpp View 1 2 3 7 chunks +16 lines, -7 lines 0 comments Download
M tests/PathTest.cpp View 1 2 3 2 chunks +29 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (23 generated)
liyuqian
4 years, 1 month ago (2016-11-09 18:52:13 UTC) #4
liyuqian
I've now made sure that SkAAClip will send in the real clip after intersecting the ...
4 years, 1 month ago (2016-11-09 21:23:40 UTC) #11
reed1
can we land the "snug-clip" change on its own, or does it need to be ...
4 years, 1 month ago (2016-11-09 21:27:42 UTC) #15
liyuqian
On 2016/11/09 21:27:42, reed1 wrote: > can we land the "snug-clip" change on its own, ...
4 years, 1 month ago (2016-11-09 21:28:56 UTC) #17
liyuqian
I've rebased this CL after the landing of https://skia-review.googlesource.com/c/4636/
4 years, 1 month ago (2016-11-10 15:53:05 UTC) #21
liyuqian
On 2016/11/10 15:53:05, liyuqian wrote: > I've rebased this CL after the landing of > ...
4 years, 1 month ago (2016-11-11 15:47:06 UTC) #22
caryclark
lgtm nit: could you adjust the asserts so they fit in 100 columns?
4 years, 1 month ago (2016-11-11 16:19:46 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2482193004/40001
4 years, 1 month ago (2016-11-11 16:20:40 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: Build-Ubuntu-GCC-x86_64-Release-GN-Trybot on master.client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-x86_64-Release-GN-Trybot/builds/2994)
4 years, 1 month ago (2016-11-11 16:21:30 UTC) #27
liyuqian
On 2016/11/11 16:19:46, caryclark wrote: > lgtm > > nit: could you adjust the asserts ...
4 years, 1 month ago (2016-11-11 16:29:02 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2482193004/60001
4 years, 1 month ago (2016-11-11 16:29:21 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/304276)
4 years, 1 month ago (2016-11-11 16:45:06 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2482193004/60001
4 years, 1 month ago (2016-11-11 17:42:55 UTC) #35
commit-bot: I haz the power
4 years, 1 month ago (2016-11-11 17:59:54 UTC) #37
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/041da389dd923689041ba5e45cda34901ba4fe8a

Powered by Google App Engine
This is Rietveld 408576698