Searched refs:drawState (Results 1 – 2 of 2) sorted by relevance
40 GrDrawState* drawState = target->drawState(); in onDrawPath() local47 drawState->setVertexAttribs(attribs, SK_ARRAY_COUNT(attribs)); in onDrawPath()48 drawState->setAttribIndex(GrDrawState::kPosition_AttribIndex, 0); in onDrawPath()49 drawState->setAttribIndex(GrDrawState::kCoverage_AttribIndex, 1); in onDrawPath()50 drawState->setAttribBindings(GrDrawState::kCoverage_AttribBindingsBit); in onDrawPath()52 drawState->setDefaultVertexAttribs(); in onDrawPath()65 SkASSERT(sizeof(ColorVertex) == drawState->getVertexSize()); in onDrawPath()80 size_t vsize = drawState->getVertexSize(); in onDrawPath()
113 target->drawState()->setDefaultVertexAttribs();