/external/skia/src/gpu/effects/ |
GrBezierEffect.cpp | 148 fragBuilder->codeAppendf("%s = dFdx(%s.xyz);", dklmdx.c_str(), v.fsIn()); 149 fragBuilder->codeAppendf("%s = dFdy(%s.xyz);", dklmdy.c_str(), v.fsIn()); 152 v.fsIn(), dklmdx.c_str(), 153 v.fsIn(), dklmdx.c_str(), 154 v.fsIn(), dklmdx.c_str()); 157 v.fsIn(), dklmdy.c_str(), 158 v.fsIn(), dklmdy.c_str(), 159 v.fsIn(), dklmdy.c_str()); 164 func.c_str(), v.fsIn(), v.fsIn(), v.fsIn(), v.fsIn()) [all...] |
GrDashingEffect.cpp | [all...] |
GrBitmapTextGeoProc.cpp | 70 v.fsIn(), 76 fragBuilder->appendTextureLookup(args.fSamplers[0], v.fsIn(), kVec2f_GrSLType);
|
GrDistanceFieldGeoProc.cpp | 100 fragBuilder->codeAppendf("vec2 uv = %s;\n", uv.fsIn()); 123 st.fsIn()); 138 fragBuilder->codeAppendf("vec2 Jdx = dFdx(%s);", st.fsIn()); 139 fragBuilder->codeAppendf("vec2 Jdy = dFdy(%s);", st.fsIn()); 324 fragBuilder->codeAppendf("vec2 uv = %s;", v.fsIn()); 547 fragBuilder->codeAppendf("vec2 uv = %s;\n", uv.fsIn()); 558 fragBuilder->codeAppendf("float dy = abs(dFdy(%s.y));", st.fsIn()); 561 fragBuilder->codeAppendf("vec2 st = %s;\n", st.fsIn()); [all...] |
/external/skia/src/gpu/batches/ |
GrPLSPathRenderer.cpp | 351 fsBuilder->codeAppendf("highp vec2 delta1 = %s;", delta1.fsIn()); 352 fsBuilder->codeAppendf("highp vec2 delta2 = %s;", delta2.fsIn()); 353 fsBuilder->codeAppendf("highp vec2 delta3 = %s;", delta3.fsIn()); 359 v1.fsIn()); 361 v2.fsIn()); 363 v3.fsIn()); 365 fsBuilder->codeAppendf("pls.windings[0] += (dmax <= 0.0) ? %s : 0;", windings.fsIn()); 372 fsBuilder->codeAppendf("pls.windings[1] += (dmax <= 0.0) ? %s : 0;", windings.fsIn()); 377 fsBuilder->codeAppendf("pls.windings[2] += (dmax <= 0.0) ? %s : 0;", windings.fsIn()); 382 fsBuilder->codeAppendf("pls.windings[3] += (dmax <= 0.0) ? %s : 0;", windings.fsIn()); [all...] |
GrAAConvexPathRenderer.cpp | 590 fragBuilder->codeAppendf("vec2 duvdx = dFdx(%s.xy);", v.fsIn()); 591 fragBuilder->codeAppendf("vec2 duvdy = dFdy(%s.xy);", v.fsIn()); 592 fragBuilder->codeAppendf("if (%s.z > 0.0 && %s.w > 0.0) {", v.fsIn(), v.fsIn()); 594 fragBuilder->codeAppendf("edgeAlpha = min(min(%s.z, %s.w) + 0.5, 1.0);", v.fsIn(), 595 v.fsIn()); 599 v.fsIn(), v.fsIn()); 600 fragBuilder->codeAppendf("edgeAlpha = (%s.x*%s.x - %s.y);", v.fsIn(), v.fsIn(), [all...] |
/external/skia/src/gpu/glsl/ |
GrGLSLVarying.cpp | 37 fProgramBuilder->fFS.codeAppendf("%s = %s;", output, v.fsIn()); 123 const char* fsIn = v.fVsOut.c_str(); 127 fsIn = v.fGsOut.c_str(); 129 fFragInputs.push_back().set(v.fType, GrShaderVar::kVaryingIn_TypeModifier, fsIn,
|
GrGLSLVarying.h | 28 const char* fsIn() const { return fFsIn; }
|
GrGLSLGeometryProcessor.cpp | 68 (*tout)[i].emplace_back(SkString(v.fsIn()), varyingType); 122 (*tout)[i].emplace_back(SkString(v.fsIn()), varyingType);
|
/external/skia/src/gpu/ |
GrOvalRenderer.cpp | 129 fragBuilder->codeAppendf("float d = length(%s.xy);", v.fsIn()); 131 v.fsIn()); 134 v.fsIn(), v.fsIn()); 285 fragBuilder->codeAppendf("vec2 scaledOffset = %s*%s.xy;", ellipseOffsets.fsIn(), 286 ellipseRadii.fsIn()); 288 fragBuilder->codeAppendf("vec2 grad = 2.0*scaledOffset*%s.xy;", ellipseRadii.fsIn()); 299 ellipseOffsets.fsIn(), ellipseRadii.fsIn()); 302 ellipseRadii.fsIn()); [all...] |
GrPathProcessor.cpp | 79 (*tout)[i].emplace_back(SkString(v.fsIn()), varyingType);
|