Lines Matching refs:mCurrentFrame
59 fbCount:%2d \n", mCurrentFrame.layerCount, in dump()
60 mCurrentFrame.mdpCount, mCurrentFrame.fbCount); in dump()
62 (mCurrentFrame.needsRedraw? "YES" : "NO"), in dump()
63 mCurrentFrame.mdpCount, sMaxPipesPerMixer); in dump()
67 for(int index = 0; index < mCurrentFrame.layerCount; index++ ) in dump()
70 (mCurrentFrame.isFBComposed[index] ? "YES" : "NO"), in dump()
71 mCurrentFrame.layerToMDP[index], in dump()
72 (mCurrentFrame.isFBComposed[index] ? in dump()
73 (mCurrentFrame.needsRedraw ? "GLES" : "CACHE") : "MDP"), in dump()
74 (mCurrentFrame.isFBComposed[index] ? mCurrentFrame.fbZ : in dump()
75 mCurrentFrame.mdpToLayer[mCurrentFrame.layerToMDP[index]].pipeInfo->zOrder)); in dump()
152 if(!mCurrentFrame.isFBComposed[index]) { in setMDPCompLayerFlags()
158 if(!mCurrentFrame.needsRedraw) in setMDPCompLayerFlags()
435 mCurrentFrame.mdpCount = mCurrentFrame.layerCount; in fullMDPComp()
436 mCurrentFrame.fbCount = 0; in fullMDPComp()
437 mCurrentFrame.fbZ = -1; in fullMDPComp()
438 memset(&mCurrentFrame.isFBComposed, 0, sizeof(mCurrentFrame.isFBComposed)); in fullMDPComp()
440 int mdpCount = mCurrentFrame.mdpCount; in fullMDPComp()
462 mCurrentFrame.reset(numAppLayers); in partialMDPComp()
467 int mdpCount = mCurrentFrame.mdpCount; in partialMDPComp()
488 mCurrentFrame.reset(numAppLayers); in isOnlyVideoDoable()
490 int mdpCount = mCurrentFrame.mdpCount; in isOnlyVideoDoable()
491 int fbNeeded = int(mCurrentFrame.fbCount != 0); in isOnlyVideoDoable()
564 if(!mCurrentFrame.fbCount) { in batchLayers()
565 mCurrentFrame.fbZ = -1; in batchLayers()
568 if(!mCurrentFrame.mdpCount) { in batchLayers()
569 mCurrentFrame.fbZ = 0; in batchLayers()
575 while (i < mCurrentFrame.layerCount) { in batchLayers()
577 while(mCurrentFrame.isFBComposed[i] && i < mCurrentFrame.layerCount) { in batchLayers()
583 mCurrentFrame.fbZ = maxBatchStart; in batchLayers()
585 if(i < mCurrentFrame.layerCount) i++; in batchLayers()
589 for(int i = 0; i < mCurrentFrame.layerCount; i++) { in batchLayers()
591 mCurrentFrame.isFBComposed[i] = false; in batchLayers()
597 mCurrentFrame.fbCount = maxBatchCount; in batchLayers()
598 mCurrentFrame.mdpCount = mCurrentFrame.layerCount - in batchLayers()
599 mCurrentFrame.fbCount; in batchLayers()
602 mCurrentFrame.fbCount); in batchLayers()
614 mCurrentFrame.isFBComposed[i] = true; in updateLayerCache()
616 mCurrentFrame.isFBComposed[i] = false; in updateLayerCache()
621 mCurrentFrame.fbCount = numCacheableLayers; in updateLayerCache()
622 mCurrentFrame.mdpCount = mCurrentFrame.layerCount - in updateLayerCache()
623 mCurrentFrame.fbCount; in updateLayerCache()
638 if(mCurrentFrame.fbCount) in getAvailablePipes()
652 if(!mCurrentFrame.isFBComposed[nYuvIndex]) { in updateYUV()
653 mCurrentFrame.isFBComposed[nYuvIndex] = true; in updateYUV()
654 mCurrentFrame.fbCount++; in updateYUV()
657 if(mCurrentFrame.isFBComposed[nYuvIndex]) { in updateYUV()
658 mCurrentFrame.isFBComposed[nYuvIndex] = false; in updateYUV()
659 mCurrentFrame.fbCount--; in updateYUV()
664 mCurrentFrame.mdpCount = mCurrentFrame.layerCount - in updateYUV()
665 mCurrentFrame.fbCount; in updateYUV()
667 mCurrentFrame.fbCount); in updateYUV()
678 for (int index = 0, mdpNextZOrder = 0; index < mCurrentFrame.layerCount; in programMDP()
680 if(!mCurrentFrame.isFBComposed[index]) { in programMDP()
681 int mdpIndex = mCurrentFrame.layerToMDP[index]; in programMDP()
684 MdpPipeInfo* cur_pipe = mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in programMDP()
687 if(configure(ctx, layer, mCurrentFrame.mdpToLayer[mdpIndex]) != 0 ){ in programMDP()
708 for (int index = 0; index < mCurrentFrame.layerCount; index++) { in programYUV()
709 if(!mCurrentFrame.isFBComposed[index]) { in programYUV()
711 int mdpIndex = mCurrentFrame.layerToMDP[index]; in programYUV()
713 mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in programYUV()
717 mCurrentFrame.mdpToLayer[mdpIndex]) != 0 ){ in programYUV()
732 mCurrentFrame.reset(numLayers); in prepare()
746 mCurrentFrame.reset(numLayers); in prepare()
748 mCachedFrame.updateCounts(mCurrentFrame); in prepare()
754 mCurrentFrame.map(); in prepare()
757 mCurrentFrame.reset(numLayers); in prepare()
761 mCurrentFrame.needsRedraw = false; in prepare()
762 if(mCurrentFrame.fbCount && in prepare()
763 ((mCurrentFrame.mdpCount != mCachedFrame.mdpCount) || in prepare()
764 (mCurrentFrame.fbCount != mCachedFrame.cacheCount) || in prepare()
765 (mCurrentFrame.fbZ != mCachedFrame.fbZ) || in prepare()
766 (!mCurrentFrame.mdpCount) || in prepare()
770 mCurrentFrame.needsRedraw = true; in prepare()
778 mCurrentFrame.fbZ = -1; in prepare()
779 if(mCurrentFrame.fbCount) in prepare()
780 mCurrentFrame.fbZ = ctx->listStats[mDpy].yuvCount; in prepare()
782 mCurrentFrame.map(); in prepare()
784 mCurrentFrame.reset(numLayers); in prepare()
788 mCurrentFrame.reset(numLayers); in prepare()
794 mCachedFrame.updateCounts(mCurrentFrame); in prepare()
803 return mCurrentFrame.fbZ; in prepare()
829 return mCurrentFrame.mdpCount; in pipesNeeded()
840 if(mCurrentFrame.isFBComposed[nYuvIndex]) in allocLayerPipes()
843 int mdpIndex = mCurrentFrame.layerToMDP[nYuvIndex]; in allocLayerPipes()
845 PipeLayerPair& info = mCurrentFrame.mdpToLayer[mdpIndex]; in allocLayerPipes()
859 for(int index = 0 ; index < mCurrentFrame.layerCount; index++ ) { in allocLayerPipes()
860 if(mCurrentFrame.isFBComposed[index]) continue; in allocLayerPipes()
867 int mdpIndex = mCurrentFrame.layerToMDP[index]; in allocLayerPipes()
869 PipeLayerPair& info = mCurrentFrame.mdpToLayer[mdpIndex]; in allocLayerPipes()
903 if(idleInvalidator && !sIdleFallBack && mCurrentFrame.mdpCount) in draw()
910 for(int i = 0; i < numHwLayers && mCurrentFrame.mdpCount; i++ ) in draw()
912 if(mCurrentFrame.isFBComposed[i]) continue; in draw()
921 int mdpIndex = mCurrentFrame.layerToMDP[i]; in draw()
924 *(MdpPipeInfoLowRes*)mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in draw()
941 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; in draw()
966 for(int i = 0; i < mCurrentFrame.layerCount; ++i) { in pipesNeeded()
967 if(!mCurrentFrame.isFBComposed[i]) { in pipesNeeded()
1019 PipeLayerPair& info = mCurrentFrame.mdpToLayer[nYuvIndex]; in allocLayerPipes()
1040 int mdpIndex = mCurrentFrame.layerToMDP[index]; in allocLayerPipes()
1041 PipeLayerPair& info = mCurrentFrame.mdpToLayer[mdpIndex]; in allocLayerPipes()
1094 if(idleInvalidator && !sIdleFallBack && mCurrentFrame.mdpCount) in draw()
1101 for(int i = 0; i < numHwLayers && mCurrentFrame.mdpCount; i++ ) in draw()
1103 if(mCurrentFrame.isFBComposed[i]) continue; in draw()
1116 int mdpIndex = mCurrentFrame.layerToMDP[i]; in draw()
1119 *(MdpPipeInfoHighRes*)mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in draw()
1120 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; in draw()