Home | History | Annotate | Download | only in gpu

Lines Matching refs:drawState

501     GrDrawState* drawState = target->drawState();
503 const SkMatrix& vm = drawState->getViewMatrix();
510 if (!avmr.setIdentity(drawState)) {
514 drawState->setVertexAttribs<gCircleVertexAttribs>(SK_ARRAY_COUNT(gCircleVertexAttribs));
515 SkASSERT(sizeof(CircleVertex) == drawState->getVertexSize());
546 drawState->addCoverageEffect(effect, kCircleEdgeAttrIndex)->unref();
606 GrDrawState* drawState = target->drawState();
610 bool isAxisAlignedEllipse = drawState->getViewMatrix().rectStaysRect();
616 const SkMatrix& vm = drawState->getViewMatrix();
667 if (!avmr.setIdentity(drawState)) {
671 drawState->setVertexAttribs<gEllipseVertexAttribs>(SK_ARRAY_COUNT(gEllipseVertexAttribs));
672 SkASSERT(sizeof(EllipseVertex) == drawState->getVertexSize());
687 drawState->addCoverageEffect(effect, kEllipseCenterAttrIndex, kEllipseEdgeAttrIndex)->unref();
738 GrDrawState* drawState = target->drawState();
739 const SkMatrix& vm = drawState->getViewMatrix();
790 drawState->setVertexAttribs<gDIEllipseVertexAttribs>(SK_ARRAY_COUNT(gDIEllipseVertexAttribs));
791 SkASSERT(sizeof(DIEllipseVertex) == drawState->getVertexSize());
805 drawState->addCoverageEffect(effect, kEllipseOuterOffsetAttrIndex,
934 GrDrawState* drawState = target->drawState();
936 if (!avmr.setIdentity(drawState)) {
950 drawState->setVertexAttribs<gCircleVertexAttribs>(SK_ARRAY_COUNT(gCircleVertexAttribs));
951 SkASSERT(sizeof(CircleVertex) == drawState->getVertexSize());
981 drawState->addCoverageEffect(effect, kCircleEdgeAttrIndex)->unref();
1038 drawState->setVertexAttribs<gEllipseVertexAttribs>(SK_ARRAY_COUNT(gEllipseVertexAttribs));
1039 SkASSERT(sizeof(EllipseVertex) == drawState->getVertexSize());
1085 drawState->addCoverageEffect(effect,