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

Issue 25605008: Repurpose GrGLCoordTransform as GrGLEffectArray (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

Repurpose GrGLCoordTransform as GrGLProgramEffects Creates a GrGLProgramEffects class that the GrGLProgram uses to manage an array of effects. This gives us enough abstraction for the program to cleanly handle different types of coord transforms. Committed: http://code.google.com/p/skia/source/detail?r=11588

Patch Set 1 #

Total comments: 10

Patch Set 2 : #

Patch Set 3 : Oops, one alphabetical adjustment #

Patch Set 4 : Oops, and one whitespace adjustment #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+718 lines, -732 lines) Patch
M gyp/gpu.gypi View 1 2 chunks +2 lines, -3 lines 0 comments Download
M include/core/SkTArray.h View 1 chunk +4 lines, -0 lines 0 comments Download
M include/gpu/GrTBackendEffectFactory.h View 1 2 chunks +4 lines, -3 lines 0 comments Download
M src/effects/gradients/SkGradientShader.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/effects/gradients/SkGradientShaderPriv.h View 1 chunk +1 line, -1 line 0 comments Download
D src/gpu/gl/GrGLCoordTransform.h View 1 chunk +0 lines, -109 lines 0 comments Download
D src/gpu/gl/GrGLCoordTransform.cpp View 1 chunk +0 lines, -188 lines 0 comments Download
M src/gpu/gl/GrGLEffect.h View 1 4 chunks +6 lines, -10 lines 0 comments Download
D src/gpu/gl/GrGLEffect.cpp View 1 chunk +0 lines, -63 lines 0 comments Download
M src/gpu/gl/GrGLProgram.h View 1 2 5 chunks +12 lines, -29 lines 0 comments Download
M src/gpu/gl/GrGLProgram.cpp View 1 5 chunks +16 lines, -108 lines 0 comments Download
A src/gpu/gl/GrGLProgramEffects.h View 1 1 chunk +192 lines, -0 lines 0 comments Download
A src/gpu/gl/GrGLProgramEffects.cpp View 1 1 chunk +414 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLShaderBuilder.h View 1 2 3 4 6 chunks +17 lines, -95 lines 0 comments Download
M src/gpu/gl/GrGLShaderBuilder.cpp View 1 2 3 11 chunks +49 lines, -122 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Chris Dalton
https://codereview.chromium.org/25605008/diff/1/include/gpu/GrTBackendEffectFactory.h File include/gpu/GrTBackendEffectFactory.h (right): https://codereview.chromium.org/25605008/diff/1/include/gpu/GrTBackendEffectFactory.h#newcode39 include/gpu/GrTBackendEffectFactory.h:39: EffectKey attribKey = GLEffect::ArrayClass::GenAttribKey(drawEffect); I'm not sure I'm a ...
7 years, 2 months ago (2013-10-02 19:57:32 UTC) #1
bsalomon
https://codereview.chromium.org/25605008/diff/1/include/gpu/GrTBackendEffectFactory.h File include/gpu/GrTBackendEffectFactory.h (right): https://codereview.chromium.org/25605008/diff/1/include/gpu/GrTBackendEffectFactory.h#newcode39 include/gpu/GrTBackendEffectFactory.h:39: EffectKey attribKey = GLEffect::ArrayClass::GenAttribKey(drawEffect); On 2013/10/02 19:57:32, Chris Dalton ...
7 years, 2 months ago (2013-10-02 20:17:06 UTC) #2
Chris Dalton
https://codereview.chromium.org/25605008/diff/1/include/gpu/GrTBackendEffectFactory.h File include/gpu/GrTBackendEffectFactory.h (right): https://codereview.chromium.org/25605008/diff/1/include/gpu/GrTBackendEffectFactory.h#newcode39 include/gpu/GrTBackendEffectFactory.h:39: EffectKey attribKey = GLEffect::ArrayClass::GenAttribKey(drawEffect); On 2013/10/02 20:17:06, bsalomon wrote: ...
7 years, 2 months ago (2013-10-02 20:24:09 UTC) #3
bsalomon
On 2013/10/02 20:24:09, Chris Dalton wrote: > https://codereview.chromium.org/25605008/diff/1/include/gpu/GrTBackendEffectFactory.h > File include/gpu/GrTBackendEffectFactory.h (right): > > https://codereview.chromium.org/25605008/diff/1/include/gpu/GrTBackendEffectFactory.h#newcode39 ...
7 years, 2 months ago (2013-10-02 20:45:47 UTC) #4
Chris Dalton
https://codereview.chromium.org/25605008/diff/1/include/gpu/GrTBackendEffectFactory.h File include/gpu/GrTBackendEffectFactory.h (right): https://codereview.chromium.org/25605008/diff/1/include/gpu/GrTBackendEffectFactory.h#newcode39 include/gpu/GrTBackendEffectFactory.h:39: EffectKey attribKey = GLEffect::ArrayClass::GenAttribKey(drawEffect); On 2013/10/02 20:24:09, Chris Dalton ...
7 years, 2 months ago (2013-10-02 21:25:43 UTC) #5
bsalomon
lgtm
7 years, 2 months ago (2013-10-03 14:53: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/25605008/44001
7 years, 2 months ago (2013-10-03 14:54:05 UTC) #7
commit-bot: I haz the power
7 years, 2 months ago (2013-10-03 15:18:01 UTC) #8
Message was sent while issue was closed.
Change committed as 11588

Powered by Google App Engine
This is Rietveld 408576698