Lines Matching refs:egp
545 const EllipseGeometryProcessor& egp = args.fGP.cast<EllipseGeometryProcessor>(); in onEmitCode() local
551 varyingHandler->emitAttributes(egp); in onEmitCode()
553 GrSLType offsetType = egp.fUseScale ? kFloat3_GrSLType : kFloat2_GrSLType; in onEmitCode()
557 egp.fInEllipseOffset.name()); in onEmitCode()
561 vertBuilder->codeAppendf("%s = %s;", ellipseRadii.vsOut(), egp.fInEllipseRadii.name()); in onEmitCode()
565 varyingHandler->addPassThroughAttribute(egp.fInColor, args.fOutputColor); in onEmitCode()
568 this->writeOutputPosition(vertBuilder, gpArgs, egp.fInPosition.name()); in onEmitCode()
574 egp.fInPosition.asShaderVar(), in onEmitCode()
575 egp.fLocalMatrix, in onEmitCode()
590 if (egp.fStroke) { in onEmitCode()
594 if (egp.fUseScale) { in onEmitCode()
608 if (egp.fUseScale) { in onEmitCode()
617 if (egp.fStroke) { in onEmitCode()
621 if (egp.fUseScale) { in onEmitCode()
631 if (egp.fUseScale) { in onEmitCode()
646 const EllipseGeometryProcessor& egp = gp.cast<EllipseGeometryProcessor>(); in GenKey() local
647 uint16_t key = egp.fStroke ? 0x1 : 0x0; in GenKey()
648 key |= egp.fLocalMatrix.hasPerspective() ? 0x2 : 0x0; in GenKey()
654 const EllipseGeometryProcessor& egp = primProc.cast<EllipseGeometryProcessor>(); in setData() local
655 this->setTransformDataHelper(egp.fLocalMatrix, pdman, &transformIter); in setData()