Home | History | Annotate | Download | only in hwui

Lines Matching refs:targetBatch

213         BatchBase** targetBatch, size_t* insertBatchIndex) const {
217 if (overBatch == *targetBatch) break;
222 if (!*targetBatch) break; // found insert position, quit
229 *targetBatch = nullptr;
290 OpBatch* targetBatch = mBatchLookup[batchId];
293 if (targetBatch) {
295 (BatchBase**)(&targetBatch), &insertBatchIndex);
298 if (targetBatch) {
299 targetBatch->batchOp(op);
302 targetBatch = allocator.create<OpBatch>(batchId, op);
303 mBatchLookup[batchId] = targetBatch;
304 mBatches.insert(mBatches.begin() + insertBatchIndex, targetBatch);
311 MergingOpBatch* targetBatch = nullptr;
316 targetBatch = getResult->second;
317 if (!targetBatch->canMergeWith(op)) {
318 targetBatch = nullptr;
324 (BatchBase**)(&targetBatch), &insertBatchIndex);
326 if (targetBatch) {
327 targetBatch->mergeOp(op);
330 targetBatch = allocator.create<MergingOpBatch>(batchId, op);
331 mMergingBatchLookup[batchId].insert(std::make_pair(mergeId, targetBatch));
333 mBatches.insert(mBatches.begin() + insertBatchIndex, targetBatch);