Lines Matching refs:fragBuilder
58 GrGLSLFPFragmentBuilder* fragBuilder = args.fFragBuilder; in emitCode() local
59 SkString coords2D = fragBuilder->ensureCoords2D(args.fTransformedCoords[0]); in emitCode()
61 fragBuilder->codeAppendf("%s = half4(0, 0, 0, 0);", args.fOutputColor); in emitCode()
66 … fragBuilder->codeAppendf("float2 coord = %s - %d.0 * %s;", coords2D.c_str(), ce.radius(), imgInc); in emitCode()
67 fragBuilder->codeAppend("float2 coordSampled = half2(0, 0);"); in emitCode()
78 fragBuilder->codeAppend("coordSampled = coord;"); in emitCode()
88 fragBuilder->codeAppendf("coordSampled.%s = clamp(coord.%s, %s.x, %s.y);\n", in emitCode()
93 fragBuilder->codeAppendf("coordSampled.%s = " in emitCode()
99 fragBuilder->codeAppendf("if (coord.%s >= %s.x && coord.%s <= %s.y) {", in emitCode()
108 fragBuilder->codeAppendf("%s += ", args.fOutputColor); in emitCode()
109 fragBuilder->appendTextureLookup(args.fTexSamplers[0], "coordSampled"); in emitCode()
110 fragBuilder->codeAppendf(" * %s;\n", kernelIndex.c_str()); in emitCode()
112 fragBuilder->codeAppend("}"); in emitCode()
114 fragBuilder->codeAppendf("coord += %s;\n", imgInc); in emitCode()
116 fragBuilder->codeAppendf("%s *= %s;\n", args.fOutputColor, args.fInputColor); in emitCode()