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