Home | History | Annotate | Download | only in batches

Lines Matching refs:flushInfo

114     FlushInfo flushInfo;
115 flushInfo.fGlyphsToFlush = 0;
127 &flushInfo.fVertexOffset);
128 flushInfo.fVertexBuffer.reset(SkRef(vertexBuffer));
129 flushInfo.fIndexBuffer.reset(target->resourceProvider()->refQuadIndexBuffer());
130 if (!vertices || !flushInfo.fVertexBuffer) {
144 GrBlobRegenHelper helper(this, target, &flushInfo, gp);
179 this->flush(target, &flushInfo);
182 void GrAtlasTextBatch::flush(GrVertexBatch::Target* target, FlushInfo* flushInfo) const {
184 int maxGlyphsPerDraw = flushInfo->fIndexBuffer->maxQuads();
185 vertices.initInstanced(kTriangles_GrPrimitiveType, flushInfo->fVertexBuffer,
186 flushInfo->fIndexBuffer, flushInfo->fVertexOffset,
187 kVerticesPerGlyph, kIndicesPerGlyph, flushInfo->fGlyphsToFlush,
190 flushInfo->fVertexOffset += kVerticesPerGlyph * flushInfo->fGlyphsToFlush;
191 flushInfo->fGlyphsToFlush = 0;