Lines Matching refs:SkString
53 SkString inputColor;
54 SkString inputCoverage;
73 bool GrGLSLProgramBuilder::emitAndInstallPrimProc(SkString* outputColor, SkString* outputCoverage) {
100 SkString name;
130 bool GrGLSLProgramBuilder::emitAndInstallFragProcs(SkString* color, SkString* coverage) {
135 SkString* inOut = this->pipeline().isColorFragmentProcessor(i) ? color : coverage;
136 SkString output;
148 SkString GrGLSLProgramBuilder::emitFragProc(const GrFragmentProcessor& fp,
150 const SkString& input,
151 SkString output) {
162 SkString name;
328 SkString dstColorDecl = SkStringPrintf("half4 %s;", dstColor);
346 SkString dstColorDecl = SkStringPrintf("half4 %s;", dstColor);
356 bool GrGLSLProgramBuilder::emitAndInstallXferProc(const SkString& colorIn,
357 const SkString& coverageIn) {
375 SkString openBrace;
379 SkString finalInColor = colorIn.size() ? colorIn : SkString("float4(1)");
438 SkString GrGLSLProgramBuilder::getMangleSuffix() const {
440 SkString suffix;
448 SkString GrGLSLProgramBuilder::nameVariable(char prefix, const char* name, bool mangle) {
449 SkString out;
456 SkString suffix = this->getMangleSuffix();
464 void GrGLSLProgramBuilder::nameExpression(SkString* output, const char* baseName) {
472 void GrGLSLProgramBuilder::appendUniformDecls(GrShaderFlags visibility, SkString* out) const {