Lines Matching refs:fDrawTarget
54 if (NULL == fDrawTarget) {
58 GrDrawState* drawState = fDrawTarget->drawState();
99 fDrawTarget->setIndexSourceToBuffer(fContext->getQuadIndexBuffer());
100 fDrawTarget->drawIndexedInstances(kTriangles_GrPrimitiveType,
104 fDrawTarget->resetVertexSource();
125 if (NULL == fDrawTarget) {
209 GrDrawTarget::DrawToken drawToken = fDrawTarget->getCurrentDrawToken();
229 fDrawTarget->drawState()->setVertexAttribs<gTextVertexAttribs>(
231 bool flush = fDrawTarget->geometryHints(&fMaxVertices, NULL);
235 fDrawTarget->drawState()->setVertexAttribs<gTextVertexAttribs>(
240 fDrawTarget->geometryHints(&fMaxVertices, NULL);
249 bool success = fDrawTarget->reserveVertexAndIndexSpace(fMaxVertices,
254 SkASSERT(2*sizeof(GrPoint) == fDrawTarget->getDrawState().getVertexSize());