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

Issue 4926045: Add AA hairline path renderer (Closed)

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

Patch Set 1 #

Patch Set 2 : update #

Patch Set 3 : #if->#ifdef and fix endlines #

Patch Set 4 : remove unused label #

Patch Set 5 : only test quadtric code in program unit test when deriv funcs available #

Patch Set 6 : cleanup #

Total comments: 13

Patch Set 7 : response to comments and fix var name in debug assert #

Total comments: 5

Patch Set 8 : incorporate comments #

Total comments: 18

Patch Set 9 : incorporate comments, rename SampleHairCubics, fix lines vertex order bug #

Total comments: 13

Patch Set 10 : incorporate comments #

Patch Set 11 : incorporate comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1082 lines, -47 lines) Patch
M gm/base-win/complexclip_gpu.png View 7 Binary file 0 comments Download
A gpu/src/GrAAHairLinePathRenderer.h View 1 2 3 4 5 6 7 8 9 1 chunk +62 lines, -0 lines 0 comments Download
A gpu/src/GrAAHairLinePathRenderer.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +633 lines, -0 lines 0 comments Download
A gpu/src/GrAddPathRenderers_aahairline.cpp View 7 1 chunk +20 lines, -0 lines 0 comments Download
M gpu/src/GrContext.cpp View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -2 lines 0 comments Download
M gpu/src/GrDefaultPathRenderer.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 0 comments Download
M gpu/src/GrDrawTarget.h View 1 2 3 4 5 6 7 8 9 11 chunks +63 lines, -11 lines 0 comments Download
M gpu/src/GrDrawTarget.cpp View 1 2 3 4 5 6 7 8 9 8 chunks +70 lines, -17 lines 0 comments Download
M gpu/src/GrGLProgram.h View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -0 lines 0 comments Download
M gpu/src/GrGLProgram.cpp View 1 2 3 4 5 6 7 8 9 3 chunks +23 lines, -1 line 0 comments Download
M gpu/src/GrGpuGLFixed.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +9 lines, -2 lines 0 comments Download
M gpu/src/GrGpuGLShaders.cpp View 1 2 3 4 5 6 7 8 9 6 chunks +53 lines, -7 lines 0 comments Download
M gpu/src/GrPathRenderer.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +16 lines, -1 line 0 comments Download
M gpu/src/GrPathRendererChain.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M gpu/src/GrTesselatedPathRenderer.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 0 comments Download
M gpu/src/GrTesselatedPathRenderer.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 0 comments Download
M gyp/SampleApp.gyp View 1 2 3 4 5 6 7 8 9 3 chunks +2 lines, -1 line 0 comments Download
M gyp/gpu.gyp View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -1 line 0 comments Download
A samplecode/SampleHairCurves.cpp View 1 2 3 4 5 6 7 8 1 chunk +112 lines, -0 lines 0 comments Download

Messages

Total messages: 14
bsalomon
12 years, 10 months ago (2011-08-25 15:52:07 UTC) #1
TomH
Beginning of review... More tomorrow. http://codereview.appspot.com/4926045/diff/8002/gpu/src/GrPathRenderer.h File gpu/src/GrPathRenderer.h (right): http://codereview.appspot.com/4926045/diff/8002/gpu/src/GrPathRenderer.h#newcode57 gpu/src/GrPathRenderer.h:57: * modifications are limited ...
12 years, 10 months ago (2011-08-25 21:48:31 UTC) #2
bsalomon
http://codereview.appspot.com/4926045/diff/8002/gpu/src/GrPathRenderer.h File gpu/src/GrPathRenderer.h (right): http://codereview.appspot.com/4926045/diff/8002/gpu/src/GrPathRenderer.h#newcode57 gpu/src/GrPathRenderer.h:57: * modifications are limited to scaling and translating. On ...
12 years, 10 months ago (2011-08-26 12:55:48 UTC) #3
bsalomon
ping
12 years, 10 months ago (2011-08-29 16:51:14 UTC) #4
Stephen White
LGTM. My comments are mostly cosmetic. http://codereview.appspot.com/4926045/diff/15001/gpu/src/GrAAHairLinePathRenderer.cpp File gpu/src/GrAAHairLinePathRenderer.cpp (right): http://codereview.appspot.com/4926045/diff/15001/gpu/src/GrAAHairLinePathRenderer.cpp#newcode28 gpu/src/GrAAHairLinePathRenderer.cpp:28: data[8 + 9*i] ...
12 years, 10 months ago (2011-08-29 19:18:04 UTC) #5
bsalomon
Thanks for the review! I incorporated all Stephen's comments into patchset 8. On 2011/08/29 19:18:04, ...
12 years, 10 months ago (2011-08-29 20:42:43 UTC) #6
Stephen White
http://codereview.appspot.com/4926045/diff/4002/gpu/src/GrAAHairLinePathRenderer.cpp File gpu/src/GrAAHairLinePathRenderer.cpp (right): http://codereview.appspot.com/4926045/diff/4002/gpu/src/GrAAHairLinePathRenderer.cpp#newcode43 gpu/src/GrAAHairLinePathRenderer.cpp:43: data[0 + kIdxsPerQuad*i] = kVertsPerQuad*i + 0; // a0 ...
12 years, 10 months ago (2011-08-29 20:49:43 UTC) #7
bsalomon
Patchset 9 incorporates Stephen's second set of comments, renames SampleHairCubics to SampleHairCubics, and fixes a ...
12 years, 10 months ago (2011-08-29 21:10:01 UTC) #8
Stephen White
On 2011/08/29 21:10:01, bsalomon wrote: > Patchset 9 incorporates Stephen's second set of comments, renames ...
12 years, 10 months ago (2011-08-29 21:14:48 UTC) #9
reed1
12 years, 10 months ago (2011-08-29 21:16:37 UTC) #10
TomH
Add a little more and we can have a 1kLOC commit! http://codereview.appspot.com/4926045/diff/4002/gpu/src/GrAAHairLinePathRenderer.cpp File gpu/src/GrAAHairLinePathRenderer.cpp (right): ...
12 years, 10 months ago (2011-08-30 14:33:12 UTC) #11
bsalomon
Patchset 11 addresses Tom's comments. http://codereview.appspot.com/4926045/diff/4002/gpu/src/GrAAHairLinePathRenderer.cpp File gpu/src/GrAAHairLinePathRenderer.cpp (right): http://codereview.appspot.com/4926045/diff/4002/gpu/src/GrAAHairLinePathRenderer.cpp#newcode11 gpu/src/GrAAHairLinePathRenderer.cpp:11: // AA stroke around ...
12 years, 10 months ago (2011-08-30 17:49:50 UTC) #12
TomH
Thanks. LGTM.
12 years, 10 months ago (2011-08-30 18:01:03 UTC) #13
bsalomon
12 years, 10 months ago (2011-08-31 12:59:58 UTC) #14
Checked in at r2196.
Sign in to reply to this message.

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