Lines Matching refs:egp
583 const EllipseGeometryProcessor& egp = args.fGeomProc.cast<EllipseGeometryProcessor>(); in onEmitCode() local
589 varyingHandler->emitAttributes(egp); in onEmitCode()
591 GrSLType offsetType = egp.fUseScale ? kFloat3_GrSLType : kFloat2_GrSLType; in onEmitCode()
595 egp.fInEllipseOffset.name()); in onEmitCode()
599 vertBuilder->codeAppendf("%s = %s;", ellipseRadii.vsOut(), egp.fInEllipseRadii.name()); in onEmitCode()
604 varyingHandler->addPassThroughAttribute(egp.fInColor, args.fOutputColor); in onEmitCode()
607 WriteOutputPosition(vertBuilder, gpArgs, egp.fInPosition.name()); in onEmitCode()
612 egp.fInPosition.asShaderVar(), in onEmitCode()
613 egp.fLocalMatrix, in onEmitCode()
629 if (egp.fStroke) { in onEmitCode()
633 if (egp.fUseScale) { in onEmitCode()
647 if (egp.fUseScale) { in onEmitCode()
656 if (egp.fStroke) { in onEmitCode()
660 if (egp.fUseScale) { in onEmitCode()
670 if (egp.fUseScale) { in onEmitCode()
685 const EllipseGeometryProcessor& egp = gp.cast<EllipseGeometryProcessor>(); in GenKey() local
686 b->addBool(egp.fStroke, "stroked"); in GenKey()
688 ComputeMatrixKey(shaderCaps, egp.fLocalMatrix), in GenKey()
695 const EllipseGeometryProcessor& egp = geomProc.cast<EllipseGeometryProcessor>(); in setData() local
696 SetTransform(pdman, shaderCaps, fLocalMatrixUniform, egp.fLocalMatrix, &fLocalMatrix); in setData()