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

Issue 23754003: Isolate VertexBuilder from GrGLShaderBuilder (Closed)

Created:
7 years, 3 months ago by Chris Dalton
Modified:
7 years, 3 months ago
Reviewers:
bsalomon
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Isolate VertexBuilder from GrGLShaderBuilder Adds a nested class to GrGLShaderBuilder called VertexBuilder. Now GrGLShaderBuilder can only modify the fragment shader directly. In order to modify the vertex shader, the client code needs to call getVertexShader, which will return null for vertex-less shaders. Committed: http://code.google.com/p/skia/source/detail?r=11046

Patch Set 1 #

Patch Set 2 : comment fix #

Total comments: 9

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+450 lines, -333 lines) Patch
M src/effects/gradients/SkTwoPointConicalGradient.cpp View 1 2 3 3 chunks +10 lines, -8 lines 0 comments Download
M src/effects/gradients/SkTwoPointRadialGradient.cpp View 1 2 3 3 chunks +10 lines, -7 lines 0 comments Download
M src/gpu/GrAAConvexPathRenderer.cpp View 1 2 2 chunks +6 lines, -3 lines 0 comments Download
M src/gpu/GrAARectRenderer.cpp View 1 2 2 chunks +17 lines, -11 lines 0 comments Download
M src/gpu/GrOvalRenderer.cpp View 1 2 2 chunks +15 lines, -9 lines 0 comments Download
M src/gpu/effects/GrBezierEffect.cpp View 1 2 4 chunks +20 lines, -11 lines 0 comments Download
M src/gpu/effects/GrSimpleTextureEffect.cpp View 1 2 3 1 chunk +5 lines, -3 lines 0 comments Download
M src/gpu/gl/GrGLEffectMatrix.cpp View 1 2 3 3 chunks +14 lines, -11 lines 0 comments Download
M src/gpu/gl/GrGLProgram.h View 2 chunks +2 lines, -1 line 0 comments Download
M src/gpu/gl/GrGLProgram.cpp View 1 2 3 10 chunks +96 lines, -80 lines 0 comments Download
M src/gpu/gl/GrGLShaderBuilder.h View 1 2 3 10 chunks +112 lines, -79 lines 0 comments Download
M src/gpu/gl/GrGLShaderBuilder.cpp View 1 2 3 7 chunks +143 lines, -110 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Chris Dalton
PTAL
7 years, 3 months ago (2013-08-30 16:13:39 UTC) #1
bsalomon
Mostly looks good. Some comments (and requests for code comments) inline. The first two style ...
7 years, 3 months ago (2013-08-30 17:59:17 UTC) #2
Chris Dalton
Hopefully this addresses all the comments. Sorry it had to rebase ... https://codereview.chromium.org/23754003/diff/3001/src/effects/gradients/SkTwoPointConicalGradient.cpp File src/effects/gradients/SkTwoPointConicalGradient.cpp ...
7 years, 3 months ago (2013-08-30 19:10:30 UTC) #3
bsalomon
On 2013/08/30 19:10:30, cdalton wrote: > Hopefully this addresses all the comments. > > Sorry ...
7 years, 3 months ago (2013-08-30 19:14:05 UTC) #4
Chris Dalton
Try that
7 years, 3 months ago (2013-08-30 19:35:26 UTC) #5
bsalomon
lgtm
7 years, 3 months ago (2013-08-30 19:38:59 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/cdalton@nvidia.com/23754003/34001
7 years, 3 months ago (2013-08-30 19:39:08 UTC) #7
commit-bot: I haz the power
Failed to apply patch for src/gpu/gl/GrGLProgram.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 3 months ago (2013-08-30 19:39:11 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/cdalton@nvidia.com/23754003/34001
7 years, 3 months ago (2013-08-30 19:52:26 UTC) #9
commit-bot: I haz the power
7 years, 3 months ago (2013-08-30 20:17:39 UTC) #10
Message was sent while issue was closed.
Change committed as 11046

Powered by Google App Engine
This is Rietveld 408576698