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

Issue 22686002: Implement path cover with nv_path_rendering (Closed)

Created:
7 years, 4 months ago by Kimmo Kinnunen
Modified:
7 years, 2 months ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Implement filling a path with nv_path_rendering cover Implement filling a path with nv_path_rendering cover functionality. The nv_path_rendering cover can be used if the fill is non-inverted and the draw operation does not require use of vertex shaders. Moves code for the inverted fill from GrStencilAndCoverPathRenderer down to GrGpuGL. Committed: http://code.google.com/p/skia/source/detail?r=11667

Patch Set 1 #

Patch Set 2 : removed some stale hunks #

Patch Set 3 : ' #

Patch Set 4 : naming #

Patch Set 5 : more complete.. #

Patch Set 6 : rebased to issue 23537028 #

Patch Set 7 : rebased to issue 23537028 #

Total comments: 29

Patch Set 8 : Addressing most of the review comments #

Patch Set 9 : Omission with non-inverted path bounds fixed #

Total comments: 4

Patch Set 10 : not using drawstate #

Patch Set 11 : rebase #

Total comments: 10

Patch Set 12 : addressing review comments #

Total comments: 4

Patch Set 13 : address review comments #

Patch Set 14 : fix a comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+329 lines, -176 lines) Patch
M include/gpu/GrTypes.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/GrClipMaskManager.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M src/gpu/GrClipMaskManager.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +26 lines, -0 lines 0 comments Download
M src/gpu/GrDrawTarget.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +20 lines, -10 lines 0 comments Download
M src/gpu/GrDrawTarget.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 7 chunks +39 lines, -12 lines 0 comments Download
M src/gpu/GrDrawTargetCaps.h View 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M src/gpu/GrGpu.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +8 lines, -7 lines 0 comments Download
M src/gpu/GrGpu.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +51 lines, -5 lines 0 comments Download
M src/gpu/GrInOrderDrawBuffer.h View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +15 lines, -0 lines 0 comments Download
M src/gpu/GrInOrderDrawBuffer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +34 lines, -0 lines 0 comments Download
M src/gpu/GrStencilAndCoverPathRenderer.cpp View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +18 lines, -38 lines 0 comments Download
M src/gpu/gl/GrGLCaps.cpp View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M src/gpu/gl/GrGLProgram.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/gl/GrGLProgramDesc.cpp View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -2 lines 0 comments Download
M src/gpu/gl/GrGLShaderBuilder.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/gl/GrGpuGL.h View 1 2 3 4 5 6 7 8 9 3 chunks +3 lines, -4 lines 0 comments Download
M src/gpu/gl/GrGpuGL.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +99 lines, -92 lines 0 comments Download
M src/gpu/gl/GrGpuGL_program.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
Kimmo Kinnunen
Brian, would it be possible for you to give early feedback on how to implement ...
7 years, 4 months ago (2013-08-08 12:46:27 UTC) #1
bsalomon
On 2013/08/08 12:46:27, kkinnunen wrote: > Brian, would it be possible for you to give ...
7 years, 4 months ago (2013-08-08 21:32:25 UTC) #2
Kimmo Kinnunen
The refactor patch is separate here: https://codereview.chromium.org/22340010/ Somehow I can't upload a dependent patch to ...
7 years, 4 months ago (2013-08-09 13:11:51 UTC) #3
Kimmo Kinnunen
Depends on https://codereview.chromium.org/22340010/
7 years, 4 months ago (2013-08-14 12:18:12 UTC) #4
Kimmo Kinnunen
Not sure if this is at all the correct approach. Depends on https://chromiumcodereview.appspot.com/23537028
7 years, 3 months ago (2013-09-13 12:42:00 UTC) #5
Mark Kilgard
Nothing wrong with the code (looks good to me) but I've made some forwarded looking ...
7 years, 3 months ago (2013-09-13 15:42:23 UTC) #6
Chris Dalton
Looks great! Apart from the comments I'd just suggest that we rename GrDrawTargetCaps::pathStencilingSupport to pathRenderingSupport. ...
7 years, 3 months ago (2013-09-13 19:49:58 UTC) #7
bsalomon
On 2013/09/13 19:49:58, cdalton wrote: > Looks great! Apart from the comments I'd just suggest ...
7 years, 3 months ago (2013-09-13 20:24:04 UTC) #8
bsalomon
https://chromiumcodereview.appspot.com/22686002/diff/32001/src/gpu/GrDrawState.h File src/gpu/GrDrawState.h (right): https://chromiumcodereview.appspot.com/22686002/diff/32001/src/gpu/GrDrawState.h#newcode940 src/gpu/GrDrawState.h:940: GrStencilSettings fPathStencilSettings; Is this necessary? I'm wondering if we ...
7 years, 3 months ago (2013-09-13 20:25:27 UTC) #9
Kimmo Kinnunen
https://chromiumcodereview.appspot.com/22686002/diff/32001/src/gpu/GrDrawState.h File src/gpu/GrDrawState.h (right): https://chromiumcodereview.appspot.com/22686002/diff/32001/src/gpu/GrDrawState.h#newcode940 src/gpu/GrDrawState.h:940: GrStencilSettings fPathStencilSettings; On 2013/09/13 20:25:28, bsalomon wrote: > Is ...
7 years, 3 months ago (2013-09-18 07:52:38 UTC) #10
bsalomon
https://chromiumcodereview.appspot.com/22686002/diff/32001/src/gpu/gl/GrGpuGL.cpp File src/gpu/gl/GrGpuGL.cpp (right): https://chromiumcodereview.appspot.com/22686002/diff/32001/src/gpu/gl/GrGpuGL.cpp#newcode1742 src/gpu/gl/GrGpuGL.cpp:1742: } else { On 2013/09/18 07:52:38, kkinnunen wrote: > ...
7 years, 3 months ago (2013-09-18 14:24:21 UTC) #11
Kimmo Kinnunen
Thanks for the feedback, I'll see what I can come up with. https://chromiumcodereview.appspot.com/22686002/diff/47001/src/gpu/GrGpu.cpp File src/gpu/GrGpu.cpp ...
7 years, 3 months ago (2013-09-20 12:20:58 UTC) #12
Chris Dalton
https://codereview.chromium.org/22686002/diff/32001/src/gpu/gl/GrGpuGL_program.cpp File src/gpu/gl/GrGpuGL_program.cpp (right): https://codereview.chromium.org/22686002/diff/32001/src/gpu/gl/GrGpuGL_program.cpp#newcode218 src/gpu/gl/GrGpuGL_program.cpp:218: if (kStencilPath_DrawType != type) { On 2013/09/18 07:52:38, kkinnunen ...
7 years, 3 months ago (2013-09-23 02:05:59 UTC) #13
Chris Dalton
A few minor comments. The rest looks good to me. https://codereview.chromium.org/22686002/diff/72001/src/gpu/GrDrawState.h File src/gpu/GrDrawState.h (right): https://codereview.chromium.org/22686002/diff/72001/src/gpu/GrDrawState.h#newcode25 ...
7 years, 2 months ago (2013-10-07 22:22:45 UTC) #14
Kimmo Kinnunen
Thanks for the review, new version is up. https://chromiumcodereview.appspot.com/22686002/diff/72001/src/gpu/GrDrawState.h File src/gpu/GrDrawState.h (right): https://chromiumcodereview.appspot.com/22686002/diff/72001/src/gpu/GrDrawState.h#newcode25 src/gpu/GrDrawState.h:25: #include ...
7 years, 2 months ago (2013-10-08 12:14:09 UTC) #15
bsalomon
mostly looks good but I'd like to understand the dst copy problem. https://chromiumcodereview.appspot.com/22686002/diff/32001/src/gpu/gl/GrGpuGL_program.cpp File src/gpu/gl/GrGpuGL_program.cpp ...
7 years, 2 months ago (2013-10-08 14:05:08 UTC) #16
Kimmo Kinnunen
On 2013/10/08 14:05:08, bsalomon wrote: > mostly looks good but I'd like to understand the ...
7 years, 2 months ago (2013-10-09 07:07:01 UTC) #17
bsalomon
On 2013/10/09 07:07:01, kkinnunen wrote: > On 2013/10/08 14:05:08, bsalomon wrote: > > mostly looks ...
7 years, 2 months ago (2013-10-09 13:18:04 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/kkinnunen@nvidia.com/22686002/112001
7 years, 2 months ago (2013-10-09 13:18:24 UTC) #19
commit-bot: I haz the power
7 years, 2 months ago (2013-10-09 14:11:37 UTC) #20
Message was sent while issue was closed.
Change committed as 11667

Powered by Google App Engine
This is Rietveld 408576698