Lines Matching refs:flushInfo
200 FlushInfo flushInfo; in onPrepareDraws() local
201 flushInfo.fPrimProcProxies = target->allocPrimProcProxyPtrs(kMaxTextures); in onPrepareDraws()
208 flushInfo.fPrimProcProxies[i] = views[i].proxy(); in onPrepareDraws()
233 flushInfo.fGeometryProcessor = GrDistanceFieldPathGeoProc::Make( in onPrepareDraws()
245 flushInfo.fGeometryProcessor = GrBitmapTextGeoProc::Make( in onPrepareDraws()
252 const size_t kVertexStride = flushInfo.fGeometryProcessor->vertexStride(); in onPrepareDraws()
261 &flushInfo.fVertexBuffer, &flushInfo.fVertexOffset)}; in onPrepareDraws()
263 flushInfo.fIndexBuffer = target->resourceProvider()->refNonAAQuadIndexBuffer(); in onPrepareDraws()
264 if (!vertices.fPtr || !flushInfo.fIndexBuffer) { in onPrepareDraws()
269 flushInfo.fInstancesToFlush = 0; in onPrepareDraws()
329 &flushInfo, in onPrepareDraws()
344 &flushInfo, in onPrepareDraws()
360 flushInfo.fInstancesToFlush++; in onPrepareDraws()
363 this->flush(target, &flushInfo); in onPrepareDraws()
367 FlushInfo* flushInfo, in addToAtlasWithRetry() argument
382 this->flush(target, flushInfo); in addToAtlasWithRetry()
394 bool addDFPathToAtlas(GrMeshDrawOp::Target* target, FlushInfo* flushInfo, in addDFPathToAtlas() argument
481 return this->addToAtlasWithRetry(target, flushInfo, atlasMgr, in addDFPathToAtlas()
486 bool addBMPathToAtlas(GrMeshDrawOp::Target* target, FlushInfo* flushInfo, in addBMPathToAtlas() argument
548 return this->addToAtlasWithRetry(target, flushInfo, atlasMgr, in addBMPathToAtlas()
577 void flush(GrMeshDrawOp::Target* target, FlushInfo* flushInfo) const { in flush()
586 GrGeometryProcessor* gp = flushInfo->fGeometryProcessor; in flush()
589 flushInfo->fPrimProcProxies[i] = views[i].proxy(); in flush()
605 if (flushInfo->fInstancesToFlush) { in flush()
607 mesh->setIndexedPatterned(flushInfo->fIndexBuffer, in flush()
609 flushInfo->fInstancesToFlush, in flush()
611 flushInfo->fVertexBuffer, in flush()
613 flushInfo->fVertexOffset); in flush()
614 target->recordDraw(flushInfo->fGeometryProcessor, mesh, 1, flushInfo->fPrimProcProxies, in flush()
616 flushInfo->fVertexOffset += GrResourceProvider::NumVertsPerNonAAQuad() * in flush()
617 flushInfo->fInstancesToFlush; in flush()
618 flushInfo->fInstancesToFlush = 0; in flush()