Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1560)

Issue 6500043: Some GrGLShaderBuilder cleanup (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 2 months ago by bsalomon
Modified:
12 years, 2 months ago
Reviewers:
robertphillips
CC:
TomH, skia-review_google.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : fix domain ("vec2f"->"vec3f") #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+171 lines, -166 lines) Patch
M src/effects/SkLightingImageFilter.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkMagnifierImageFilter.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/effects/SkMorphologyImageFilter.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/effects/gradients/SkGradientShader.cpp View 1 chunk +5 lines, -4 lines 0 comments Download
M src/effects/gradients/SkLinearGradient.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/effects/gradients/SkRadialGradient.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/effects/gradients/SkSweepGradient.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/effects/gradients/SkTwoPointConicalGradient.cpp View 4 chunks +5 lines, -7 lines 0 comments Download
M src/effects/gradients/SkTwoPointRadialGradient.cpp View 3 chunks +7 lines, -8 lines 0 comments Download
M src/gpu/effects/GrColorTableEffect.cpp View 1 chunk +4 lines, -8 lines 0 comments Download
M src/gpu/effects/GrConfigConversionEffect.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/effects/GrConvolutionEffect.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/effects/GrSingleTextureEffect.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/effects/GrTextureDomainEffect.cpp View 1 1 chunk +3 lines, -5 lines 2 comments Download
M src/gpu/gl/GrGLProgram.cpp View 3 chunks +25 lines, -34 lines 2 comments Download
M src/gpu/gl/GrGLSL.h View 2 chunks +21 lines, -3 lines 0 comments Download
M src/gpu/gl/GrGLSL.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLShaderBuilder.h View 4 chunks +35 lines, -29 lines 2 comments Download
M src/gpu/gl/GrGLShaderBuilder.cpp View 4 chunks +49 lines, -58 lines 0 comments Download

Messages

Total messages: 3
bsalomon
This was partly an exercise in making myself understand how the current code around texture ...
12 years, 2 months ago (2012-08-28 15:36:50 UTC) #1
robertphillips
LGTM https://codereview.appspot.com/6500043/diff/21/src/gpu/effects/GrTextureDomainEffect.cpp File src/gpu/effects/GrTextureDomainEffect.cpp (right): https://codereview.appspot.com/6500043/diff/21/src/gpu/effects/GrTextureDomainEffect.cpp#newcode52 src/gpu/effects/GrTextureDomainEffect.cpp:52: const char* samplerName) { It seems like we ...
12 years, 2 months ago (2012-08-28 15:52:31 UTC) #2
bsalomon
12 years, 2 months ago (2012-08-28 19:09:07 UTC) #3
Committed as r5322.

https://codereview.appspot.com/6500043/diff/21/src/gpu/effects/GrTextureDomai...
File src/gpu/effects/GrTextureDomainEffect.cpp (right):

https://codereview.appspot.com/6500043/diff/21/src/gpu/effects/GrTextureDomai...
src/gpu/effects/GrTextureDomainEffect.cpp:52: const char* samplerName) {
On 2012/08/28 15:52:32, robertphillips wrote:
> It seems like we should either remove coordVar or pass it to
> emitTextureLookupAndModulate

Done (removed)

https://codereview.appspot.com/6500043/diff/21/src/gpu/gl/GrGLProgram.cpp
File src/gpu/gl/GrGLProgram.cpp (right):

https://codereview.appspot.com/6500043/diff/21/src/gpu/gl/GrGLProgram.cpp#new...
src/gpu/gl/GrGLProgram.cpp:1034: 
On 2012/08/28 15:52:32, robertphillips wrote:
> Should this comment be "... after calling builder->setupTextureAccess"?
> texCoordVaryingType is now local to this method.

Yes, done (comment referred to an earlier version).

https://codereview.appspot.com/6500043/diff/21/src/gpu/gl/GrGLShaderBuilder.h
File src/gpu/gl/GrGLShaderBuilder.h (right):

https://codereview.appspot.com/6500043/diff/21/src/gpu/gl/GrGLShaderBuilder.h...
src/gpu/gl/GrGLShaderBuilder.h:51: kVec2f or kVec3.f */
On 2012/08/28 15:52:32, robertphillips wrote:
> .f -> f

Done.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b