Home
last modified time | relevance | path

Searched refs:flushInfo (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/gpu/batches/
DGrAtlasTextBatch.cpp114 FlushInfo flushInfo; in onPrepareDraws() local
115 flushInfo.fGlyphsToFlush = 0; in onPrepareDraws()
127 &flushInfo.fVertexOffset); in onPrepareDraws()
128 flushInfo.fVertexBuffer.reset(SkRef(vertexBuffer)); in onPrepareDraws()
129 flushInfo.fIndexBuffer.reset(target->resourceProvider()->refQuadIndexBuffer()); in onPrepareDraws()
130 if (!vertices || !flushInfo.fVertexBuffer) { in onPrepareDraws()
144 GrBlobRegenHelper helper(this, target, &flushInfo, gp); in onPrepareDraws()
179 this->flush(target, &flushInfo); in onPrepareDraws()
182 void GrAtlasTextBatch::flush(GrVertexBatch::Target* target, FlushInfo* flushInfo) const { in flush()
184 int maxGlyphsPerDraw = flushInfo->fIndexBuffer->maxQuads(); in flush()
[all …]
DGrAADistanceFieldPathRenderer.cpp212 FlushInfo flushInfo; in onPrepareDraws() local
222 &flushInfo.fVertexOffset); in onPrepareDraws()
223 flushInfo.fVertexBuffer.reset(SkRef(vertexBuffer)); in onPrepareDraws()
224 flushInfo.fIndexBuffer.reset(target->resourceProvider()->refQuadIndexBuffer()); in onPrepareDraws()
225 if (!vertices || !flushInfo.fIndexBuffer) { in onPrepareDraws()
230 flushInfo.fInstancesToFlush = 0; in onPrepareDraws()
263 &flushInfo, in onPrepareDraws()
292 flushInfo.fInstancesToFlush++; in onPrepareDraws()
295 this->flush(target, &flushInfo); in onPrepareDraws()
320 FlushInfo* flushInfo, in addPathToAtlas() argument
[all …]
DGrAtlasTextBatch.h142 inline void flush(GrVertexBatch::Target* target, FlushInfo* flushInfo) const;
198 GrAtlasTextBatch::FlushInfo* flushInfo, in GrBlobRegenHelper() argument
202 , fFlushInfo(flushInfo) in GrBlobRegenHelper()