Lines Matching refs:batch
216 inline static void append_to_batch(NonAAFillRectBatchSimple* batch, GrColor color, in append_to_batch() argument
220 NonAAFillRectBatchSimple::Geometry& geo = batch->geoData()->push_back(); in append_to_batch()
237 inline static void append_to_batch(NonAAFillRectBatchPerspective* batch, GrColor color, in append_to_batch() argument
241 NonAAFillRectBatchPerspective::Geometry& geo = batch->geoData()->push_back(); in append_to_batch()
264 NonAAFillRectBatchSimple* batch = NonAAFillRectBatchSimple::Create(); in Create() local
265 append_to_batch(batch, color, viewMatrix, rect, localRect, localMatrix); in Create()
266 batch->init(); in Create()
267 return batch; in Create()
275 NonAAFillRectBatchPerspective* batch = NonAAFillRectBatchPerspective::Create(); in CreateWithPerspective() local
276 append_to_batch(batch, color, viewMatrix, rect, localRect, localMatrix); in CreateWithPerspective()
277 batch->init(); in CreateWithPerspective()
278 return batch; in CreateWithPerspective()
295 NonAAFillRectBatchSimple* batch = origBatch->cast<NonAAFillRectBatchSimple>(); in Append() local
296 append_to_batch(batch, color, viewMatrix, rect, localRect, localMatrix); in Append()
297 batch->updateBoundsAfterAppend(); in Append()
299 NonAAFillRectBatchPerspective* batch = origBatch->cast<NonAAFillRectBatchPerspective>(); in Append() local
300 const NonAAFillRectBatchPerspective::Geometry& geo = batch->geoData()->back(); in Append()
309 append_to_batch(batch, color, viewMatrix, rect, localRect, localMatrix); in Append()
310 batch->updateBoundsAfterAppend(); in Append()