Lines Matching refs:DeferInfo
65 DrawBatch(const DeferInfo& deferInfo) : mAllOpsOpaque(true),
66 mBatchId(deferInfo.batchId), mMergeId(deferInfo.mergeId) {
150 MergingDrawBatch(DeferInfo& deferInfo, int width, int height) :
151 DrawBatch(deferInfo), mClipRect(width, height),
495 DeferInfo deferInfo;
496 op->onDefer(renderer, deferInfo, *state);
500 deferInfo.mergeable &= !recordingComplexClip();
501 deferInfo.opaqueOverBounds &= !recordingComplexClip()
507 deferInfo.opaqueOverBounds && state->mBounds.contains(mBounds)) {
515 DrawBatch* b = new DrawBatch(deferInfo);
516 b->add(op, state, deferInfo.opaqueOverBounds);
530 DrawBatch* b = new DrawBatch(deferInfo);
531 b->add(op, state, deferInfo.opaqueOverBounds);
541 if (deferInfo.mergeable) {
544 = mMergingBatches[deferInfo.batchId];
545 auto getResult = mergingBatch.find(deferInfo.mergeId);
554 targetBatch = (DrawBatch*)mBatchLookup[deferInfo.batchId];
557 if (targetBatch || deferInfo.mergeable) {
566 if (deferInfo.batchId == overBatch->getBatchId()) {
588 if (deferInfo.mergeable) {
589 targetBatch = new MergingDrawBatch(deferInfo,
591 mMergingBatches[deferInfo.batchId].insert(
592 std::make_pair(deferInfo.mergeId, targetBatch));
594 targetBatch = new DrawBatch(deferInfo);
595 mBatchLookup[deferInfo.batchId] = targetBatch;
599 deferInfo.mergeable ? "Merg" : "Draw",
600 targetBatch, deferInfo.batchId, insertBatchIndex);
604 targetBatch->add(op, state, deferInfo.opaqueOverBounds);