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

Issue 2106953009: Fix bug where ovals' AA exceed bounds by .5 pixel (Closed)

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

Description

Fix bug where ovals' AA exceed bounds by .5 pixel BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2106953009 Committed: https://skia.googlesource.com/skia/+/977996dd0e0c6e6686a980a23e97e6fb5da1a592

Patch Set 1 #

Total comments: 2

Patch Set 2 : Realized that lines of code previous to change were inverse of the change. Deleted them. #

Total comments: 2

Patch Set 3 : In addition to the past change, also outset/expand relevant variables/bounds #

Total comments: 4

Patch Set 4 : Cleaned up code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -10 lines) Patch
M src/gpu/GrOvalRenderer.cpp View 1 2 3 3 chunks +11 lines, -10 lines 0 comments Download

Messages

Total messages: 22 (9 generated)
vjiaoblack
4 years, 5 months ago (2016-06-30 14:08:56 UTC) #3
robertphillips
https://codereview.chromium.org/2106953009/diff/1/src/gpu/GrOvalRenderer.cpp File src/gpu/GrOvalRenderer.cpp (right): https://codereview.chromium.org/2106953009/diff/1/src/gpu/GrOvalRenderer.cpp#newcode946 src/gpu/GrOvalRenderer.cpp:946: Hmmm ... can we not just remove the above ...
4 years, 5 months ago (2016-06-30 14:10:17 UTC) #5
vjiaoblack
https://codereview.chromium.org/2106953009/diff/1/src/gpu/GrOvalRenderer.cpp File src/gpu/GrOvalRenderer.cpp (right): https://codereview.chromium.org/2106953009/diff/1/src/gpu/GrOvalRenderer.cpp#newcode946 src/gpu/GrOvalRenderer.cpp:946: On 2016/06/30 14:10:16, robertphillips wrote: > Hmmm ... can ...
4 years, 5 months ago (2016-06-30 14:13:35 UTC) #6
jvanverth1
https://codereview.chromium.org/2106953009/diff/20001/src/gpu/GrOvalRenderer.cpp File src/gpu/GrOvalRenderer.cpp (left): https://codereview.chromium.org/2106953009/diff/20001/src/gpu/GrOvalRenderer.cpp#oldcode945 src/gpu/GrOvalRenderer.cpp:945: yRadius += SK_ScalarHalf; I don't think this is quite ...
4 years, 5 months ago (2016-06-30 15:29:19 UTC) #7
vjiaoblack
https://codereview.chromium.org/2106953009/diff/20001/src/gpu/GrOvalRenderer.cpp File src/gpu/GrOvalRenderer.cpp (left): https://codereview.chromium.org/2106953009/diff/20001/src/gpu/GrOvalRenderer.cpp#oldcode945 src/gpu/GrOvalRenderer.cpp:945: yRadius += SK_ScalarHalf; On 2016/06/30 15:29:19, jvanverth1 wrote: > ...
4 years, 5 months ago (2016-06-30 16:55:35 UTC) #10
vjiaoblack
Hey! I've put the code back up with the requested changes from @Jim; please take ...
4 years, 5 months ago (2016-06-30 17:46:40 UTC) #11
jvanverth1
https://codereview.chromium.org/2106953009/diff/40001/src/gpu/GrOvalRenderer.cpp File src/gpu/GrOvalRenderer.cpp (right): https://codereview.chromium.org/2106953009/diff/40001/src/gpu/GrOvalRenderer.cpp#newcode826 src/gpu/GrOvalRenderer.cpp:826: verts[0].fOffset = SkPoint::Make(-xRadius - SK_ScalarHalf, -yRadius - SK_ScalarHalf); I ...
4 years, 5 months ago (2016-06-30 18:00:06 UTC) #12
vjiaoblack
https://codereview.chromium.org/2106953009/diff/40001/src/gpu/GrOvalRenderer.cpp File src/gpu/GrOvalRenderer.cpp (right): https://codereview.chromium.org/2106953009/diff/40001/src/gpu/GrOvalRenderer.cpp#newcode826 src/gpu/GrOvalRenderer.cpp:826: verts[0].fOffset = SkPoint::Make(-xRadius - SK_ScalarHalf, -yRadius - SK_ScalarHalf); On ...
4 years, 5 months ago (2016-06-30 18:41:17 UTC) #13
jvanverth1
lgtm
4 years, 5 months ago (2016-06-30 18:43:38 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2106953009/60001
4 years, 5 months ago (2016-06-30 18:45:52 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-06-30 19:07:09 UTC) #18
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/2106953009/60001
4 years, 5 months ago (2016-06-30 19:20:02 UTC) #20
commit-bot: I haz the power
4 years, 5 months ago (2016-06-30 19:20:58 UTC) #22
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/977996dd0e0c6e6686a980a23e97e6fb5da1a592

Powered by Google App Engine
This is Rietveld 408576698