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

Issue 25474006: Move VertexBuilder to a GrGLFullShaderBuilder subclass (Closed)

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

Description

Move VertexBuilder to a GrGLFullShaderBuilder subclass Removes the VertexBuilder nested class from GrGLShaderBuilder in favor of a new GrGLFullShaderBuilder subclass, and adds an optional emitCode overload to GrGLEffect that takes a GrGLFullShaderBuilder. Makes setData virtual in GrGLEffectArray and adds a GrGLVertexEffectArray subclass that gets built using a GrGLFullShaderBuilder. Also adds a new GrGLVertexEffect subclass that makes the GrGLFullShaderBuilder overload required for emitCode, and updates GrGLEffects to inherit from GrGLVertexEffect where needed. Committed: http://code.google.com/p/skia/source/detail?r=11612

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+541 lines, -457 lines) Patch
M gyp/gpu.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/GrAAConvexPathRenderer.cpp View 1 4 chunks +7 lines, -9 lines 0 comments Download
M src/gpu/GrAARectRenderer.cpp View 1 5 chunks +18 lines, -23 lines 0 comments Download
M src/gpu/GrOvalRenderer.cpp View 1 7 chunks +25 lines, -33 lines 0 comments Download
M src/gpu/effects/GrBezierEffect.cpp View 1 10 chunks +22 lines, -30 lines 0 comments Download
M src/gpu/effects/GrCustomCoordsTextureEffect.cpp View 1 2 chunks +7 lines, -8 lines 0 comments Download
M src/gpu/gl/GrGLEffect.h View 1 4 chunks +15 lines, -3 lines 0 comments Download
M src/gpu/gl/GrGLProgram.cpp View 1 1 chunk +2 lines, -6 lines 0 comments Download
M src/gpu/gl/GrGLProgramDesc.h View 2 chunks +12 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLProgramEffects.h View 1 7 chunks +75 lines, -37 lines 0 comments Download
M src/gpu/gl/GrGLProgramEffects.cpp View 1 8 chunks +51 lines, -52 lines 0 comments Download
M src/gpu/gl/GrGLShaderBuilder.h View 1 8 chunks +156 lines, -133 lines 0 comments Download
M src/gpu/gl/GrGLShaderBuilder.cpp View 1 16 chunks +98 lines, -123 lines 0 comments Download
A src/gpu/gl/GrGLVertexEffect.h View 1 1 chunk +52 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Chris Dalton
7 years, 2 months ago (2013-10-02 20:13:51 UTC) #1
bsalomon
https://codereview.chromium.org/25474006/diff/1/src/effects/gradients/SkTwoPointConicalGradient.cpp File src/effects/gradients/SkTwoPointConicalGradient.cpp (right): https://codereview.chromium.org/25474006/diff/1/src/effects/gradients/SkTwoPointConicalGradient.cpp#newcode345 src/effects/gradients/SkTwoPointConicalGradient.cpp:345: virtual void emitCode(GrGLFullShaderBuilder*, Eek.. do we need both virtuals ...
7 years, 2 months ago (2013-10-03 14:44:52 UTC) #2
Chris Dalton
https://codereview.chromium.org/25474006/diff/1/src/effects/gradients/SkTwoPointConicalGradient.cpp File src/effects/gradients/SkTwoPointConicalGradient.cpp (right): https://codereview.chromium.org/25474006/diff/1/src/effects/gradients/SkTwoPointConicalGradient.cpp#newcode345 src/effects/gradients/SkTwoPointConicalGradient.cpp:345: virtual void emitCode(GrGLFullShaderBuilder*, On 2013/10/03 14:44:52, bsalomon wrote: > ...
7 years, 2 months ago (2013-10-03 21:43:22 UTC) #3
bsalomon
On 2013/10/03 21:43:22, Chris Dalton wrote: > https://codereview.chromium.org/25474006/diff/1/src/effects/gradients/SkTwoPointConicalGradient.cpp > File src/effects/gradients/SkTwoPointConicalGradient.cpp (right): > > https://codereview.chromium.org/25474006/diff/1/src/effects/gradients/SkTwoPointConicalGradient.cpp#newcode345 ...
7 years, 2 months ago (2013-10-04 15:28:00 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/cdalton@nvidia.com/25474006/8001
7 years, 2 months ago (2013-10-04 15:28:35 UTC) #5
commit-bot: I haz the power
7 years, 2 months ago (2013-10-04 15:42:59 UTC) #6
Message was sent while issue was closed.
Change committed as 11612

Powered by Google App Engine
This is Rietveld 408576698