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

Issue 18258005: Add implicit hairline conic rendering to GPU (Closed)

Created:
7 years, 5 months ago by egdaniel
Modified:
7 years, 5 months ago
Reviewers:
jvanverth1, bsalomon, reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Add implicit hairline conic rendering to GPU R=bsalomon@google.com Committed: https://code.google.com/p/skia/source/detail?r=10055

Patch Set 1 #

Total comments: 9

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+331 lines, -36 lines) Patch
M include/core/SkGeometry.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M src/core/SkGeometry.cpp View 1 2 4 chunks +9 lines, -10 lines 0 comments Download
M src/gpu/GrAAHairLinePathRenderer.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/GrAAHairLinePathRenderer.cpp View 1 2 3 20 chunks +315 lines, -26 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
egdaniel
Straight implicit version of conic hairlines for gpu Not ready for being patched in since ...
7 years, 5 months ago (2013-07-10 14:35:36 UTC) #1
bsalomon
I think it's OK to land hairlines first https://codereview.chromium.org/18258005/diff/1/include/core/SkGeometry.h File include/core/SkGeometry.h (right): https://codereview.chromium.org/18258005/diff/1/include/core/SkGeometry.h#newcode79 include/core/SkGeometry.h:79: float ...
7 years, 5 months ago (2013-07-10 15:14:36 UTC) #2
reed1
https://codereview.chromium.org/18258005/diff/1/include/core/SkGeometry.h File include/core/SkGeometry.h (right): https://codereview.chromium.org/18258005/diff/1/include/core/SkGeometry.h#newcode79 include/core/SkGeometry.h:79: float SkGetTQuadAtMaxCurvature(const SkPoint src[3]); On 2013/07/10 15:14:36, bsalomon wrote: ...
7 years, 5 months ago (2013-07-10 16:00:36 UTC) #3
egdaniel
https://codereview.chromium.org/18258005/diff/1/src/gpu/GrAAHairLinePathRenderer.cpp File src/gpu/GrAAHairLinePathRenderer.cpp (right): https://codereview.chromium.org/18258005/diff/1/src/gpu/GrAAHairLinePathRenderer.cpp#newcode105 src/gpu/GrAAHairLinePathRenderer.cpp:105: !push_quad_index_data(cIdxBuf)) { I'm assuming you mean for the quad ...
7 years, 5 months ago (2013-07-10 20:34:18 UTC) #4
egdaniel
Updated code based on comments, and removed my local test files from CL
7 years, 5 months ago (2013-07-11 15:22:38 UTC) #5
egdaniel
Moved chop_conic back into Renderer as helper function instead of in skgeometry. Also finished merging ...
7 years, 5 months ago (2013-07-11 17:58:26 UTC) #6
bsalomon
lgtm with some minor nits. Any before/after perf numbers? (There is a sample called HairCurves ...
7 years, 5 months ago (2013-07-11 18:48:38 UTC) #7
egdaniel
I used the HairCurves sample to draw 600 random quads/conics. Just using sample apps 'f ...
7 years, 5 months ago (2013-07-12 14:28:51 UTC) #8
jvanverth1
If we don't have one, we should probably add a bench and a gm to ...
7 years, 5 months ago (2013-07-12 15:09:43 UTC) #9
egdaniel
7 years, 5 months ago (2013-07-12 20:15:37 UTC) #10
Message was sent while issue was closed.
Committed patchset #4 manually as r10055 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698