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

Issue 1094293002: Fix double blend in GrAAConvexPathRenderer (Closed)

Created:
5 years, 8 months ago by Chris Dalton
Modified:
5 years, 7 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 double blend in GrAAConvexPathRenderer Updates GrAAConvexPathRenderer to not draw the interior fan of a convex path when it does not exist (i.e when segment count <= 2). TODO: We should also detect and combine colinear segments in order to make sure we catch every case. BUG=skia: Committed: https://skia.googlesource.com/skia/+/3596482cc7b36c9f45f59c304dfb28a841229525

Patch Set 1 #

Total comments: 3

Patch Set 2 : Combine colinear lines #

Total comments: 3

Patch Set 3 : Threshold in pixels #

Patch Set 4 : Remove colinear lineTo stuff #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -13 lines) Patch
M src/gpu/GrAAConvexPathRenderer.cpp View 1 2 3 2 chunks +29 lines, -13 lines 1 comment Download

Messages

Total messages: 19 (3 generated)
Chris Dalton
This will require an update to the gm expectation for mixed_xfermodes, gpu and gpudft. https://codereview.chromium.org/1094293002/diff/1/src/gpu/GrAAConvexPathRenderer.cpp ...
5 years, 8 months ago (2015-04-21 11:42:00 UTC) #2
Chris Dalton
https://codereview.chromium.org/1094293002/diff/1/src/gpu/GrAAConvexPathRenderer.cpp File src/gpu/GrAAConvexPathRenderer.cpp (right): https://codereview.chromium.org/1094293002/diff/1/src/gpu/GrAAConvexPathRenderer.cpp#newcode439 src/gpu/GrAAConvexPathRenderer.cpp:439: if (count > 2) { Do we need to ...
5 years, 8 months ago (2015-04-21 11:49:05 UTC) #3
bsalomon
https://codereview.chromium.org/1094293002/diff/1/src/gpu/GrAAConvexPathRenderer.cpp File src/gpu/GrAAConvexPathRenderer.cpp (right): https://codereview.chromium.org/1094293002/diff/1/src/gpu/GrAAConvexPathRenderer.cpp#newcode439 src/gpu/GrAAConvexPathRenderer.cpp:439: if (count > 2) { On 2015/04/21 11:49:05, Chris ...
5 years, 8 months ago (2015-04-21 15:50:08 UTC) #5
Chris Dalton
On 2015/04/21 15:50:08, bsalomon wrote: > https://codereview.chromium.org/1094293002/diff/1/src/gpu/GrAAConvexPathRenderer.cpp > File src/gpu/GrAAConvexPathRenderer.cpp (right): > > https://codereview.chromium.org/1094293002/diff/1/src/gpu/GrAAConvexPathRenderer.cpp#newcode439 > ...
5 years, 8 months ago (2015-04-21 19:53:16 UTC) #6
bsalomon
On 2015/04/21 19:53:16, Chris Dalton wrote: > On 2015/04/21 15:50:08, bsalomon wrote: > > > ...
5 years, 8 months ago (2015-04-21 20:12:55 UTC) #7
Chris Dalton
On 2015/04/21 20:12:55, bsalomon wrote: > So what I mean was that there could be ...
5 years, 8 months ago (2015-04-21 21:18:39 UTC) #8
bsalomon
On 2015/04/21 21:18:39, Chris Dalton wrote: > On 2015/04/21 20:12:55, bsalomon wrote: > > So ...
5 years, 8 months ago (2015-04-22 13:32:12 UTC) #9
Chris Dalton
This one combines colinear lineTo segments. Even without the combined lineTos, the gms are all ...
5 years, 8 months ago (2015-04-23 06:22:21 UTC) #10
robertphillips
https://codereview.chromium.org/1094293002/diff/20001/src/gpu/GrAAConvexPathRenderer.cpp File src/gpu/GrAAConvexPathRenderer.cpp (right): https://codereview.chromium.org/1094293002/diff/20001/src/gpu/GrAAConvexPathRenderer.cpp#newcode226 src/gpu/GrAAConvexPathRenderer.cpp:226: Seems like we should do this in terms of ...
5 years, 8 months ago (2015-04-24 12:32:55 UTC) #11
bsalomon
https://codereview.chromium.org/1094293002/diff/20001/src/gpu/GrAAConvexPathRenderer.cpp File src/gpu/GrAAConvexPathRenderer.cpp (right): https://codereview.chromium.org/1094293002/diff/20001/src/gpu/GrAAConvexPathRenderer.cpp#newcode226 src/gpu/GrAAConvexPathRenderer.cpp:226: On 2015/04/24 12:32:55, robertphillips wrote: > Seems like we ...
5 years, 8 months ago (2015-04-24 14:19:55 UTC) #12
Chris Dalton
https://codereview.chromium.org/1094293002/diff/20001/src/gpu/GrAAConvexPathRenderer.cpp File src/gpu/GrAAConvexPathRenderer.cpp (right): https://codereview.chromium.org/1094293002/diff/20001/src/gpu/GrAAConvexPathRenderer.cpp#newcode226 src/gpu/GrAAConvexPathRenderer.cpp:226: On 2015/04/24 14:19:55, bsalomon wrote: > On 2015/04/24 12:32:55, ...
5 years, 8 months ago (2015-04-24 18:36:27 UTC) #13
Chris Dalton
On 2015/04/24 18:36:27, Chris Dalton wrote: > https://codereview.chromium.org/1094293002/diff/20001/src/gpu/GrAAConvexPathRenderer.cpp > File src/gpu/GrAAConvexPathRenderer.cpp (right): > > https://codereview.chromium.org/1094293002/diff/20001/src/gpu/GrAAConvexPathRenderer.cpp#newcode226 ...
5 years, 8 months ago (2015-04-27 05:13:01 UTC) #14
Chris Dalton
Verified this resolves the gm issues. https://codereview.chromium.org/1094293002/diff/60001/src/gpu/GrAAConvexPathRenderer.cpp File src/gpu/GrAAConvexPathRenderer.cpp (right): https://codereview.chromium.org/1094293002/diff/60001/src/gpu/GrAAConvexPathRenderer.cpp#newcode498 src/gpu/GrAAConvexPathRenderer.cpp:498: if (count >= ...
5 years, 7 months ago (2015-04-29 16:38:04 UTC) #15
robertphillips
lgtm
5 years, 7 months ago (2015-04-29 16:58:47 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1094293002/60001
5 years, 7 months ago (2015-04-29 17:05:07 UTC) #18
commit-bot: I haz the power
5 years, 7 months ago (2015-04-29 17:14:06 UTC) #19
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/3596482cc7b36c9f45f59c304dfb28a841229525

Powered by Google App Engine
This is Rietveld 408576698