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

Issue 2430343003: Use Analytic AA in SkAAClip (Closed)

Created:
4 years, 2 months ago by liyuqian
Modified:
4 years, 2 months ago
Reviewers:
caryclark, reed1
CC:
reviews_skia.org, djsollen, msarett, mtklein
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Use Analytic AA in SkAAClip. This will fix some Chrome ref tests. The main issue here is that the SkAAClip requires: (1) we blit in order, and (2) we must forceRLE. Note that this still depends on the global gSkUseAnalyticAA to turn on the Analytic AA. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2430343003 Committed: https://skia.googlesource.com/skia/+/2add0ffdaab4c33ca6702c81533c88c7b5ca7294

Patch Set 1 #

Patch Set 2 : Use Analytic AA in SkAAClip #

Patch Set 3 : Fix several problems of AAA with SkAAClip #

Patch Set 4 : Nit #

Total comments: 5

Patch Set 5 : Nit fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -37 lines) Patch
M src/core/SkAAClip.cpp View 1 2 3 4 4 chunks +23 lines, -6 lines 0 comments Download
M src/core/SkAnalyticEdge.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M src/core/SkBitmapDevice.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkScan.h View 1 chunk +4 lines, -2 lines 0 comments Download
M src/core/SkScan_AAAPath.cpp View 1 2 3 4 13 chunks +64 lines, -27 lines 0 comments Download

Messages

Total messages: 14 (9 generated)
liyuqian
I've also CC'ed those who expressed some interests in the Analytic AA and asked me ...
4 years, 2 months ago (2016-10-20 15:31:25 UTC) #6
caryclark
lgtm (with nits) https://codereview.chromium.org/2430343003/diff/60001/src/core/SkAAClip.cpp File src/core/SkAAClip.cpp (right): https://codereview.chromium.org/2430343003/diff/60001/src/core/SkAAClip.cpp#newcode1044 src/core/SkAAClip.cpp:1044: 1 + (rightAlpha > 0 ? ...
4 years, 2 months ago (2016-10-20 16:58:14 UTC) #8
liyuqian
Thanks for the comments! Nit fixed. https://codereview.chromium.org/2430343003/diff/60001/src/core/SkAAClip.cpp File src/core/SkAAClip.cpp (right): https://codereview.chromium.org/2430343003/diff/60001/src/core/SkAAClip.cpp#newcode1044 src/core/SkAAClip.cpp:1044: 1 + (rightAlpha ...
4 years, 2 months ago (2016-10-20 17:19:50 UTC) #9
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/2430343003/80001
4 years, 2 months ago (2016-10-20 17:33:43 UTC) #12
commit-bot: I haz the power
4 years, 2 months ago (2016-10-20 18:04:43 UTC) #14
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/2add0ffdaab4c33ca6702c81533c88c7b5ca7294

Powered by Google App Engine
This is Rietveld 408576698