Home | History | Annotate | Download | only in hwui

Lines Matching refs:DeferInfo

62     DrawBatch(const DeferInfo& deferInfo) : mAllOpsOpaque(true),
63 mBatchId(deferInfo.batchId), mMergeId(deferInfo.mergeId) {
155 MergingDrawBatch(DeferInfo& deferInfo, int width, int height) :
156 DrawBatch(deferInfo), mClipRect(width, height),
511 DeferInfo deferInfo;
512 op->onDefer(renderer, deferInfo, *state);
516 deferInfo.mergeable &= !recordingComplexClip();
517 deferInfo.opaqueOverBounds &= !recordingComplexClip() && mSaveStack.isEmpty();
521 deferInfo.opaqueOverBounds && state->mBounds.contains(mBounds)) {
529 DrawBatch* b = new DrawBatch(deferInfo);
530 b->add(op, state, deferInfo.opaqueOverBounds);
544 DrawBatch* b = new DrawBatch(deferInfo);
545 b->add(op, state, deferInfo.opaqueOverBounds);
555 if (deferInfo.mergeable) {
557 if (mMergingBatches[deferInfo.batchId].get(deferInfo.mergeId, targetBatch)) {
564 targetBatch = (DrawBatch*)mBatchLookup[deferInfo.batchId];
567 if (targetBatch || deferInfo.mergeable) {
576 if (deferInfo.batchId == overBatch->getBatchId()) {
598 if (deferInfo.mergeable) {
599 targetBatch = new MergingDrawBatch(deferInfo,
601 mMergingBatches[deferInfo.batchId].put(deferInfo.mergeId, targetBatch);
603 targetBatch = new DrawBatch(deferInfo);
604 mBatchLookup[deferInfo.batchId] = targetBatch;
608 deferInfo.mergeable ? "Merg" : "Draw",
609 targetBatch, deferInfo.batchId, insertBatchIndex);
613 targetBatch->add(op, state, deferInfo.opaqueOverBounds);