Lines Matching refs:drawState
92 static void set_vertex_attributes(GrDrawState* drawState,
107 drawState->setVertexAttribs<kRectPosColorUVAttribs>(3);
110 drawState->setVertexAttribs<kRectPosColorUVAttribs>(2);
113 drawState->setVertexAttribs<kRectPosUVAttribs>(2);
115 drawState->setVertexAttribs<kRectPosUVAttribs>(1);
127 GrDrawState* drawState = this->drawState();
129 GrColor color = drawState->getColor();
132 set_vertex_attributes(drawState,
133 this->caps()->dualSourceBlendingSupport() || drawState->hasSolidCoverage(),
142 acr.set(drawState, 0xFFFFFFFF);
158 combinedMatrix.postConcat(drawState->getViewMatrix());
163 if (!avmr.setIdentity(drawState)) {
167 size_t vsize = drawState->getVertexSize();
198 // to ensure that stashing the drawState ptr is valid
199 SkASSERT(this->drawState() == drawState);
248 const GrDrawState& drawState = this->getDrawState();
290 drawState.getVertexSize();
305 void set(GrDrawState* drawState) {
306 if (drawState->isClipState()) {
307 fDrawState = drawState;
308 drawState->disableState(GrDrawState::kClip_StateBit);
318 const GrDrawState& drawState = this->getDrawState();
321 if (drawState.isClipState() &&
324 acr.set(this->drawState());
354 drawState.getVertexSize();
426 renderTarget = this->drawState()->getRenderTarget();
492 GrDrawState* prevDrawState = fDstGpu->drawState();