Home | History | Annotate | Download | only in glsl

Lines Matching defs:xform

102         SkString xform;
103 this->appendColorGamutXform(&xform, lookup.c_str(), colorXformHelper);
105 this->codeAppendf("%s * %s", modulation, xform.c_str());
107 this->codeAppendf("%s", xform.c_str());
126 GrShaderVar("xform", kMat44f_GrSLType),
129 // Gamut xform, clamp to destination gamut. We only support/have premultiplied textures, so we
131 functionBody.append("\tcolor.rgb = clamp((xform * vec4(color.rgb, 1.0)).rgb, 0.0, color.a);\n");
148 SkString xform;
149 this->appendColorGamutXform(&xform, srcColor, colorXformHelper);
150 this->codeAppend(xform.c_str());