LGTM. http://codereview.appspot.com/6458080/diff/5001/src/effects/SkLightingImageFi... File src/effects/SkLightingImageFilter.cpp (right): http://codereview.appspot.com/6458080/diff/5001/src/effects/SkLightingImageFi... src/effects/SkLightingImageFilter.cpp:374: virtual void emitFuncs(GrGLShaderBuilder* builder) {} Change in signature looks like a real improvement. http://codereview.appspot.com/6458080/diff/5001/src/gpu/gl/GrGLShaderVar.h File src/gpu/gl/GrGLShaderVar.h (left): http://codereview.appspot.com/6458080/diff/5001/src/gpu/gl/GrGLShaderVar.h#ol... src/gpu/gl/GrGLShaderVar.h:235: out->append(";\n"); Why did we have to remove this?
http://codereview.appspot.com/6458080/diff/5001/src/gpu/gl/GrGLShaderVar.h File src/gpu/gl/GrGLShaderVar.h (left): http://codereview.appspot.com/6458080/diff/5001/src/gpu/gl/GrGLShaderVar.h#ol... src/gpu/gl/GrGLShaderVar.h:235: out->append(";\n"); On 2012/08/06 20:26:44, TomH wrote: > Why did we have to remove this? The function emitting code wants to emit a bunch of arguments separated by commas. I wanted to reuse this code there so I took out the ";\n" and moved it to the two current callers.
Ah, right, argument lists.