Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1172)

Issue 5649083: Use cheapComputeDirection to determine normal facing in GrAAConvexPathRenderer (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 7 months ago by bsalomon
Modified:
12 years, 7 months ago
Reviewers:
guanqun.lu, guanqun, reed1
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Patch Set 1 #

Total comments: 2

Patch Set 2 : fix nans #

Patch Set 3 : add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -13 lines) Patch
M gm/convexpaths.cpp View 1 1 chunk +26 lines, -0 lines 0 comments Download
M include/core/SkPoint.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/gpu/GrAAConvexPathRenderer.cpp View 1 2 2 chunks +34 lines, -11 lines 0 comments Download

Messages

Total messages: 8
bsalomon
http://codereview.appspot.com/5649083/diff/1/include/core/SkPoint.h File include/core/SkPoint.h (left): http://codereview.appspot.com/5649083/diff/1/include/core/SkPoint.h#oldcode445 include/core/SkPoint.h:445: if (kLeft_Side == side) { When I first this ...
12 years, 7 months ago (2012-02-13 15:59:00 UTC) #1
guanqun
Thanks for the fixup, I ran the GM and it renders correctly for convexpaths. But ...
12 years, 7 months ago (2012-02-14 02:05:00 UTC) #2
guanqun
On 2012/02/14 02:05:00, guanqun wrote: > But one thing I'm a bit unclear is: fanPt ...
12 years, 7 months ago (2012-02-14 07:29:49 UTC) #3
bsalomon
On 2012/02/14 02:05:00, guanqun wrote: > Thanks for the fixup, I ran the GM and ...
12 years, 7 months ago (2012-02-15 16:22:51 UTC) #4
bsalomon
On 2012/02/15 16:22:51, bsalomon wrote: > On 2012/02/14 02:05:00, guanqun wrote: > > Thanks for ...
12 years, 7 months ago (2012-02-15 16:53:16 UTC) #5
guanqun
On 2012/02/15 16:22:51, bsalomon wrote: > Yeah, that's really bad :) The set of points ...
12 years, 7 months ago (2012-02-16 05:31:15 UTC) #6
bsalomon
On 2012/02/16 05:31:15, guanqun wrote: > On 2012/02/15 16:22:51, bsalomon wrote: > > Yeah, that's ...
12 years, 7 months ago (2012-02-16 13:21:52 UTC) #7
guanqun
12 years, 7 months ago (2012-02-16 13:56:10 UTC) #8
On 2012/02/16 13:21:52, bsalomon wrote:
> The AA softens pixels within 1 pixel distance of both the interior and
exterior
> sides of the path's boundary. If the fan point lies on a straight edge (or
> within 1 pixel of a curved edge) then the interior part of the AA isn't
applied.
> You can see this on the two shapes you added to the GM. In GPU mode the left
> edge gets no AA because the fan point lies on it.

By magnifying the picture and comparing pixel by pixel, I get what you mean by
"softening pixels", thanks for your detailed explaination. :D
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b