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

Issue 761563002: First step to moving vertex attributes to the geometryProcessor (Closed)

Created:
6 years ago by joshua.litt
Modified:
6 years ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

First step to moving vertex attributes to the geometryProcessor BUG=skia: Committed: https://skia.googlesource.com/skia/+/2dd1ae016d7f297b433c3ea3a771ef8e01657c1f

Patch Set 1 #

Patch Set 2 : clean up #

Patch Set 3 : all better #

Patch Set 4 : cleaning up #

Patch Set 5 : ready for review #

Patch Set 6 : rebase and small cleanup #

Total comments: 2

Patch Set 7 : more cleanup #

Total comments: 7

Patch Set 8 : asserts added #

Patch Set 9 : feedback incorporated #

Total comments: 1

Patch Set 10 : feedback inc #

Patch Set 11 : bugs fixed #

Patch Set 12 : cleanup #

Patch Set 13 : fixed waning #

Patch Set 14 : adding test to ignore #

Unified diffs Side-by-side diffs Delta from patch set Stats (+858 lines, -1323 lines) Patch
M expectations/gm/ignored-tests.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +3 lines, -0 lines 0 comments Download
M gm/beziereffects.cpp View 1 2 3 4 5 6 7 4 chunks +6 lines, -15 lines 0 comments Download
M gm/convexpolyeffect.cpp View 1 2 3 4 5 6 7 2 chunks +8 lines, -4 lines 0 comments Download
M include/gpu/GrTypesPriv.h View 1 1 chunk +16 lines, -50 lines 0 comments Download
M src/gpu/GrAAConvexPathRenderer.cpp View 1 2 3 4 5 6 7 7 chunks +22 lines, -30 lines 0 comments Download
M src/gpu/GrAADistanceFieldPathRenderer.cpp View 1 2 3 4 5 6 7 3 chunks +18 lines, -26 lines 0 comments Download
M src/gpu/GrAAHairLinePathRenderer.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/gpu/GrAAHairLinePathRenderer.cpp View 1 2 3 4 5 6 7 8 chunks +15 lines, -20 lines 0 comments Download
M src/gpu/GrAARectRenderer.cpp View 1 2 3 4 5 6 7 5 chunks +12 lines, -13 lines 0 comments Download
M src/gpu/GrBitmapTextContext.cpp View 1 2 3 4 chunks +6 lines, -32 lines 0 comments Download
M src/gpu/GrContext.cpp View 1 2 3 4 5 6 7 8 9 10 5 chunks +14 lines, -15 lines 0 comments Download
M src/gpu/GrDefaultGeoProcFactory.h View 1 2 chunks +1 line, -5 lines 0 comments Download
M src/gpu/GrDefaultGeoProcFactory.cpp View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +118 lines, -117 lines 0 comments Download
M src/gpu/GrDefaultPathRenderer.cpp View 1 2 3 4 5 6 7 2 chunks +5 lines, -3 lines 0 comments Download
M src/gpu/GrDistanceFieldTextContext.cpp View 1 2 4 chunks +1 line, -30 lines 0 comments Download
M src/gpu/GrDrawState.h View 1 4 chunks +4 lines, -70 lines 0 comments Download
M src/gpu/GrDrawState.cpp View 1 7 chunks +0 lines, -148 lines 0 comments Download
M src/gpu/GrDrawTarget.cpp View 1 2 3 4 5 6 7 4 chunks +3 lines, -4 lines 0 comments Download
M src/gpu/GrGeometryProcessor.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +50 lines, -15 lines 0 comments Download
M src/gpu/GrInOrderDrawBuffer.cpp View 1 2 3 4 5 6 7 8 9 3 chunks +5 lines, -5 lines 0 comments Download
M src/gpu/GrOptDrawState.h View 1 2 3 4 4 chunks +2 lines, -28 lines 0 comments Download
M src/gpu/GrOptDrawState.cpp View 1 2 3 12 chunks +26 lines, -72 lines 0 comments Download
M src/gpu/GrOvalRenderer.cpp View 1 2 3 4 5 6 7 29 chunks +102 lines, -122 lines 0 comments Download
M src/gpu/GrProgramDesc.h View 1 2 3 4 2 chunks +4 lines, -28 lines 0 comments Download
M src/gpu/effects/GrBezierEffect.h View 6 chunks +12 lines, -6 lines 0 comments Download
M src/gpu/effects/GrBezierEffect.cpp View 1 2 3 9 chunks +41 lines, -31 lines 0 comments Download
M src/gpu/effects/GrCustomCoordsTextureEffect.h View 1 chunk +9 lines, -5 lines 0 comments Download
M src/gpu/effects/GrCustomCoordsTextureEffect.cpp View 1 2 3 4 3 chunks +35 lines, -18 lines 0 comments Download
M src/gpu/effects/GrDashingEffect.cpp View 1 2 3 4 5 6 7 17 chunks +49 lines, -41 lines 0 comments Download
M src/gpu/effects/GrDistanceFieldTextureEffect.h View 7 chunks +19 lines, -7 lines 0 comments Download
M src/gpu/effects/GrDistanceFieldTextureEffect.cpp View 1 2 3 9 chunks +58 lines, -29 lines 0 comments Download
M src/gpu/gl/GrGLGeometryProcessor.h View 1 2 3 4 1 chunk +9 lines, -5 lines 0 comments Download
M src/gpu/gl/GrGLProgram.cpp View 4 chunks +5 lines, -8 lines 0 comments Download
M src/gpu/gl/GrGLProgramDesc.cpp View 1 2 3 4 5 4 chunks +7 lines, -35 lines 0 comments Download
M src/gpu/gl/GrGpuGL.cpp View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/gl/GrGpuGL_program.cpp View 1 2 3 4 5 6 7 8 2 chunks +17 lines, -14 lines 0 comments Download
M src/gpu/gl/builders/GrGLProgramBuilder.h View 1 2 3 4 5 6 7 8 9 5 chunks +31 lines, -6 lines 0 comments Download
M src/gpu/gl/builders/GrGLProgramBuilder.cpp View 1 2 3 4 5 6 7 8 9 9 chunks +102 lines, -57 lines 0 comments Download
M src/gpu/gl/builders/GrGLVertexShaderBuilder.h View 2 chunks +8 lines, -30 lines 0 comments Download
M src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp View 3 chunks +12 lines, -98 lines 0 comments Download
M tests/GLProgramsTest.cpp View 1 2 3 4 2 chunks +0 lines, -79 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
joshualitt
Brian, can you mini-review GrDefaultGeoProcFactory? It is by far the most complex GP so if ...
6 years ago (2014-11-26 16:18:21 UTC) #2
bsalomon
Just looked at src/gpu/GrDefaultGeoProcFactory.cpp https://codereview.chromium.org/761563002/diff/100001/src/gpu/GrDefaultGeoProcFactory.cpp File src/gpu/GrDefaultGeoProcFactory.cpp (right): https://codereview.chromium.org/761563002/diff/100001/src/gpu/GrDefaultGeoProcFactory.cpp#newcode27 src/gpu/GrDefaultGeoProcFactory.cpp:27: if (hasColor && hasLocalCoord && ...
6 years ago (2014-11-26 18:10:15 UTC) #3
joshualitt
On 2014/11/26 18:10:15, bsalomon wrote: > Just looked at src/gpu/GrDefaultGeoProcFactory.cpp > > https://codereview.chromium.org/761563002/diff/100001/src/gpu/GrDefaultGeoProcFactory.cpp > File ...
6 years ago (2014-11-26 18:43:09 UTC) #4
joshualitt
Adding Greg, Jim, and Robert. No need for everyone to take a look at the ...
6 years ago (2014-11-26 18:47:59 UTC) #6
jvanverth1
Looks good examining the font and oval code. Just some comments: https://codereview.chromium.org/761563002/diff/120001/src/gpu/GrBitmapTextContext.h File src/gpu/GrBitmapTextContext.h (right): ...
6 years ago (2014-12-01 16:00:03 UTC) #7
joshualitt
On 2014/12/01 16:00:03, jvanverth1 wrote: > Looks good examining the font and oval code. Just ...
6 years ago (2014-12-01 16:11:59 UTC) #8
bsalomon
https://codereview.chromium.org/761563002/diff/120001/src/gpu/GrGeometryProcessor.h File src/gpu/GrGeometryProcessor.h (right): https://codereview.chromium.org/761563002/diff/120001/src/gpu/GrGeometryProcessor.h#newcode81 src/gpu/GrGeometryProcessor.h:81: return fAttribs.push_back(attribute); Is this right? Will we wind up ...
6 years ago (2014-12-02 18:06:05 UTC) #9
joshualitt
On 2014/12/02 18:06:05, bsalomon wrote: > https://codereview.chromium.org/761563002/diff/120001/src/gpu/GrGeometryProcessor.h > File src/gpu/GrGeometryProcessor.h (right): > > https://codereview.chromium.org/761563002/diff/120001/src/gpu/GrGeometryProcessor.h#newcode81 > ...
6 years ago (2014-12-02 20:48:58 UTC) #10
bsalomon
lgtm w/ one request for more clarity. https://codereview.chromium.org/761563002/diff/160001/src/gpu/gl/builders/GrGLProgramBuilder.h File src/gpu/gl/builders/GrGLProgramBuilder.h (right): https://codereview.chromium.org/761563002/diff/160001/src/gpu/gl/builders/GrGLProgramBuilder.h#newcode265 src/gpu/gl/builders/GrGLProgramBuilder.h:265: // If ...
6 years ago (2014-12-02 21:49:12 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/761563002/260001
6 years ago (2014-12-03 14:13:52 UTC) #13
commit-bot: I haz the power
6 years ago (2014-12-03 14:24:15 UTC) #14
Message was sent while issue was closed.
Committed patchset #14 (id:260001) as
https://skia.googlesource.com/skia/+/2dd1ae016d7f297b433c3ea3a771ef8e01657c1f

Powered by Google App Engine
This is Rietveld 408576698