Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DLayerBuilder.cpp213 BatchBase** targetBatch, size_t* insertBatchIndex) const { in locateInsertIndex() argument
217 if (overBatch == *targetBatch) break; in locateInsertIndex()
222 if (!*targetBatch) break; // found insert position, quit in locateInsertIndex()
229 *targetBatch = nullptr; in locateInsertIndex()
290 OpBatch* targetBatch = mBatchLookup[batchId]; in deferUnmergeableOp() local
293 if (targetBatch) { in deferUnmergeableOp()
295 (BatchBase**)(&targetBatch), &insertBatchIndex); in deferUnmergeableOp()
298 if (targetBatch) { in deferUnmergeableOp()
299 targetBatch->batchOp(op); in deferUnmergeableOp()
302 targetBatch = allocator.create<OpBatch>(batchId, op); in deferUnmergeableOp()
[all …]
DDeferredDisplayList.cpp522 DrawBatch* targetBatch = nullptr; in addDrawOp() local
547 targetBatch = getResult->second; in addDrawOp()
548 if (!((MergingDrawBatch*) targetBatch)->canMergeWith(op, state)) { in addDrawOp()
549 targetBatch = nullptr; in addDrawOp()
554 targetBatch = (DrawBatch*)mBatchLookup[deferInfo.batchId]; in addDrawOp()
557 if (targetBatch || deferInfo.mergeable) { in addDrawOp()
563 if (overBatch == targetBatch) break; in addDrawOp()
568 if (!targetBatch) break; // found insert position, quit in addDrawOp()
575 targetBatch = nullptr; in addDrawOp()
578 targetBatch, i); in addDrawOp()
[all …]
DLayerBuilder.h86 BatchBase** targetBatch, size_t* insertBatchIndex) const;