Searched refs:inRectParams (Results 1 – 1 of 1) sorted by relevance
/external/skia/src/gpu/ops/ |
D | GrDashOp.cpp | 1022 const Attribute* inRectParams() const { return fInRectParams; } in inRectParams() function in DashingLineEffect 1093 GrGLSLVertToFrag inRectParams(kVec4f_GrSLType); in onEmitCode() local 1094 varyingHandler->addVarying("RectParams", &inRectParams, GrSLPrecision::kHigh_GrSLPrecision); in onEmitCode() 1095 vertBuilder->codeAppendf("%s = %s;", inRectParams.vsOut(), de.inRectParams()->fName); in onEmitCode() 1122 fragBuilder->codeAppendf("xSub = min(fragPosShifted.x - %s.x, 0.0);", inRectParams.fsIn()); in onEmitCode() 1123 fragBuilder->codeAppendf("xSub += min(%s.z - fragPosShifted.x, 0.0);", inRectParams.fsIn()); in onEmitCode() 1124 fragBuilder->codeAppendf("ySub = min(fragPosShifted.y - %s.y, 0.0);", inRectParams.fsIn()); in onEmitCode() 1125 fragBuilder->codeAppendf("ySub += min(%s.w - fragPosShifted.y, 0.0);", inRectParams.fsIn()); in onEmitCode() 1134 fragBuilder->codeAppendf("xSub = min(fragPosShifted.x - %s.x, 0.0);", inRectParams.fsIn()); in onEmitCode() 1135 fragBuilder->codeAppendf("xSub += min(%s.z - fragPosShifted.x, 0.0);", inRectParams.fsIn()); in onEmitCode() [all …]
|