Lines Matching refs:fTriangleIsArc

182             , fTriangleIsArc(kInt_GrSLType)  in Backend()
212 GrGLSLVertToFrag fTriangleIsArc; member in gr_instanced::GLSLInstanceProcessor::Backend
474 if (fTriangleIsArc.vsOut()) { in setupRRect()
476 fTriangleIsArc.vsOut(), fInputs.attr(Attrib::kShapeCoords)); in setupRRect()
596 varyingHandler->addFlatVarying("triangleIsArc", &fTriangleIsArc, kLow_GrSLPrecision); in onInit()
602 if (fTriangleIsArc.vsOut()) { in setupRect()
603 v->codeAppendf("%s = 0;", fTriangleIsArc.vsOut()); in setupRect()
609 SkASSERT(fTriangleIsArc.vsOut()); in setupOval()
611 v->codeAppendf("%s = %s & 1;", fTriangleIsArc.vsOut(), fInputs.attr(Attrib::kVertexAttrs)); in setupOval()
653 if (fTriangleIsArc.fsIn()) { in onEmitCode()
656 fTriangleIsArc.fsIn(), fArcCoords.fsIn(), fArcCoords.fsIn(), dropFragment); in onEmitCode()
770 varyingHandler->addFlatVarying("triangleIsArc", &fTriangleIsArc, kLow_GrSLPrecision); in onInit()
799 if (fTriangleIsArc.vsOut()) { in setupRect()
800 v->codeAppendf("%s = 0;", fTriangleIsArc.vsOut()); in setupRect()
818 if (fTriangleIsArc.vsOut()) { in setupOval()
820 fTriangleIsArc.vsOut(), fInputs.attr(Attrib::kVertexAttrs)); in setupOval()
938 if (fOpInfo.fInnerShapeTypes || (!fTweakAlphaForCoverage && fTriangleIsArc.fsIn())) { in onEmitCode()
942 if (fTriangleIsArc.fsIn()) { in onEmitCode()
943 f->codeAppendf("if (%s == 0) {", fTriangleIsArc.fsIn()); in onEmitCode()
1138 varyingHandler->addFlatVarying("triangleIsArc", &fTriangleIsArc, kLow_GrSLPrecision); in onInit()
1171 varyingHandler->addFlatVarying("triangleIsArc", &fTriangleIsArc, in onInit()
1201 if (fTriangleIsArc.vsOut()) { in setupRect()
1202 v->codeAppendf("%s = 0;", fTriangleIsArc.vsOut()); in setupRect()
1223 if (fTriangleIsArc.vsOut()) { in setupOval()
1226 fTriangleIsArc.vsOut(), fInputs.attr(Attrib::kVertexAttrs)); in setupOval()
1228 v->codeAppendf("%s = 1;", fTriangleIsArc.vsOut()); in setupOval()
1393 if (fTriangleIsArc.fsIn()) { in onEmitCode()
1394 f->codeAppendf("if (%s != 0) {", fTriangleIsArc.fsIn()); in onEmitCode()
1420 } else if (fTriangleIsArc.fsIn()) { in onEmitCode()
1421 f->codeAppendf("if (%s == 0) {", fTriangleIsArc.fsIn()); in onEmitCode()