Lines Matching refs:fragBuilder
46 GrGLSLFPFragmentBuilder* fragBuilder = args.fFragBuilder; in emitCode() local
47 SkString coords2D = fragBuilder->ensureCoords2D(args.fTransformedCoords[0]); in emitCode()
67 fragBuilder->codeAppend("half4x4 kMitchellCoefficients = half4x4(" in emitCode()
72 fragBuilder->codeAppendf("float2 coord = %s - %s * float2(0.5);", coords2D.c_str(), imgInc); in emitCode()
77 fragBuilder->codeAppendf("coord /= %s;", imgInc); in emitCode()
78 fragBuilder->codeAppend("float2 f = fract(coord);"); in emitCode()
79 fragBuilder->codeAppendf("coord = (coord - f + float2(0.5)) * %s;", imgInc); in emitCode()
80 …fragBuilder->codeAppend("half4 wx = kMitchellCoefficients * half4(1.0, f.x, f.x * f.x, f.x * f.x *… in emitCode()
81 …fragBuilder->codeAppend("half4 wy = kMitchellCoefficients * half4(1.0, f.y, f.y * f.y, f.y * f.y *… in emitCode()
82 fragBuilder->codeAppend("half4 rowColors[4];"); in emitCode()
89 fDomain.sampleTexture(fragBuilder, in emitCode()
97 fragBuilder->codeAppendf( in emitCode()
102 fragBuilder->codeAppendf("%s = %s * %s;", args.fOutputColor, bicubicColor.c_str(), in emitCode()