Home
last modified time | relevance | path

Searched refs:drawState (Results 1 – 2 of 2) sorted by relevance

/external/skia/experimental/AndroidPathRenderer/
DGrAndroidPathRenderer.cpp40 GrDrawState* drawState = target->drawState(); in onDrawPath() local
47 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()
/external/skia/experimental/StrokePathRenderer/
DGrStrokePathRenderer.cpp113 target->drawState()->setDefaultVertexAttribs();