Home | History | Annotate | Download | only in hwui

Lines Matching refs:mBatches

354     if (mBatches.size() != 0) {
355 mBatches.add(new BarrierDebugBatch());
358 mEarliestBatchIndex = mBatches.size();
365 for (unsigned int i = 0; i < mBatches.size(); i++) {
366 delete mBatches[i];
368 mBatches.clear();
505 if (CC_LIKELY(avoidOverdraw()) && mBatches.size() &&
509 discardDrawingBatches(mBatches.size() - 1);
517 mBatches.push_back(b);
526 int insertBatchIndex = mBatches.size();
527 if (!mBatches.empty()) {
532 mBatches.push_back(b);
560 for (int i = mBatches.size() - 1; i >= mEarliestBatchIndex; i--) {
561 DrawBatch* overBatch = (DrawBatch*)mBatches[i];
601 mBatches.insert(mBatches.begin() + insertBatchIndex, targetBatch);
608 DEFER_LOGD("%p adding state op barrier at pos %d", this, mBatches.size());
612 mBatches.push_back(new StateOpBatch(op, state));
619 this, newSaveCount, mBatches.size());
625 mBatches.push_back(new RestoreToCountBatch(op, state, newSaveCount));
658 for (unsigned int i = 1; i < mBatches.size(); i++) {
659 if (mBatches[i] && mBatches[i]->coversBounds(mBounds)) {
666 replayBatchList(mBatches, renderer, dirty);
677 if (mBatches[i] && mBatches[i]->purelyDrawBatch()) {
678 delete mBatches[i];
679 mBatches[i] = nullptr;