Lines Matching refs:mCurrentFrame
56 if(mCurrentFrame.layerCount > MAX_NUM_APP_LAYERS) in dump()
63 "fbCount:%2d \n", mCurrentFrame.layerCount, in dump()
64 mCurrentFrame.mdpCount, mCurrentFrame.fbCount); in dump()
66 (mCurrentFrame.needsRedraw? "YES" : "NO"), in dump()
67 mCurrentFrame.mdpCount, sMaxPipesPerMixer); in dump()
71 for(int index = 0; index < mCurrentFrame.layerCount; index++ ) in dump()
74 (mCurrentFrame.isFBComposed[index] ? "YES" : "NO"), in dump()
75 mCurrentFrame.layerToMDP[index], in dump()
76 (mCurrentFrame.isFBComposed[index] ? in dump()
77 (mCurrentFrame.needsRedraw ? "GLES" : "CACHE") : "MDP"), in dump()
78 (mCurrentFrame.isFBComposed[index] ? mCurrentFrame.fbZ : in dump()
79 mCurrentFrame.mdpToLayer[mCurrentFrame.layerToMDP[index]].pipeInfo->zOrder)); in dump()
142 mCurrentFrame.reset(numLayers); in reset()
144 mCachedFrame.updateCounts(mCurrentFrame); in reset()
170 if(!mCurrentFrame.isFBComposed[index]) { in setMDPCompLayerFlags()
175 if(!mCurrentFrame.needsRedraw) in setMDPCompLayerFlags()
456 mCurrentFrame.mdpCount = mCurrentFrame.layerCount; in fullMDPComp()
457 mCurrentFrame.fbCount = 0; in fullMDPComp()
458 mCurrentFrame.fbZ = -1; in fullMDPComp()
459 memset(&mCurrentFrame.isFBComposed, 0, sizeof(mCurrentFrame.isFBComposed)); in fullMDPComp()
461 int mdpCount = mCurrentFrame.mdpCount; in fullMDPComp()
496 mCurrentFrame.reset(numAppLayers); in cacheBasedComp()
501 if(!mCurrentFrame.isFBComposed[i]) { in cacheBasedComp()
518 int mdpCount = mCurrentFrame.mdpCount; in cacheBasedComp()
550 mCurrentFrame.reset(numAppLayers); in loadBasedComp()
592 mCurrentFrame.isFBComposed[i] = false; in loadBasedComp()
596 mCurrentFrame.fbZ = minBatchStart; in loadBasedComp()
597 mCurrentFrame.fbCount = batchSize; in loadBasedComp()
598 mCurrentFrame.mdpCount = mCurrentFrame.layerCount - batchSize; in loadBasedComp()
605 __FUNCTION__, mCurrentFrame.fbZ, batchSize); in loadBasedComp()
621 mCurrentFrame.reset(numAppLayers); in isOnlyVideoDoable()
623 int mdpCount = mCurrentFrame.mdpCount; in isOnlyVideoDoable()
624 int fbNeeded = int(mCurrentFrame.fbCount != 0); in isOnlyVideoDoable()
696 if(!mCurrentFrame.fbCount) { in batchLayers()
697 mCurrentFrame.fbZ = -1; in batchLayers()
700 if(!mCurrentFrame.mdpCount) { in batchLayers()
701 mCurrentFrame.fbZ = 0; in batchLayers()
707 while (i < mCurrentFrame.layerCount) { in batchLayers()
709 while(mCurrentFrame.isFBComposed[i] && i < mCurrentFrame.layerCount) { in batchLayers()
715 mCurrentFrame.fbZ = maxBatchStart; in batchLayers()
717 if(i < mCurrentFrame.layerCount) i++; in batchLayers()
721 for(int i = 0; i < mCurrentFrame.layerCount; i++) { in batchLayers()
729 mCurrentFrame.isFBComposed[i] = false; in batchLayers()
735 mCurrentFrame.fbCount = maxBatchCount; in batchLayers()
736 mCurrentFrame.mdpCount = mCurrentFrame.layerCount - in batchLayers()
737 mCurrentFrame.fbCount; in batchLayers()
740 mCurrentFrame.fbCount); in batchLayers()
753 mCurrentFrame.isFBComposed[i] = true; in updateLayerCache()
755 mCurrentFrame.isFBComposed[i] = false; in updateLayerCache()
760 mCurrentFrame.fbCount = fbCount; in updateLayerCache()
761 mCurrentFrame.mdpCount = mCurrentFrame.layerCount - mCurrentFrame.fbCount; in updateLayerCache()
764 mCurrentFrame.mdpCount, mCurrentFrame.fbCount); in updateLayerCache()
775 if(!mCurrentFrame.isFBComposed[nYuvIndex]) { in updateYUV()
776 mCurrentFrame.isFBComposed[nYuvIndex] = true; in updateYUV()
777 mCurrentFrame.fbCount++; in updateYUV()
780 if(mCurrentFrame.isFBComposed[nYuvIndex]) { in updateYUV()
781 mCurrentFrame.isFBComposed[nYuvIndex] = false; in updateYUV()
782 mCurrentFrame.fbCount--; in updateYUV()
787 mCurrentFrame.mdpCount = mCurrentFrame.layerCount - in updateYUV()
788 mCurrentFrame.fbCount; in updateYUV()
790 mCurrentFrame.fbCount); in updateYUV()
800 for (int index = 0, mdpNextZOrder = 0; index < mCurrentFrame.layerCount; in programMDP()
802 if(!mCurrentFrame.isFBComposed[index]) { in programMDP()
803 int mdpIndex = mCurrentFrame.layerToMDP[index]; in programMDP()
806 MdpPipeInfo* cur_pipe = mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in programMDP()
809 if(configure(ctx, layer, mCurrentFrame.mdpToLayer[mdpIndex]) != 0 ){ in programMDP()
830 for (int index = 0; index < mCurrentFrame.layerCount; index++) { in programYUV()
831 if(!mCurrentFrame.isFBComposed[index]) { in programYUV()
833 int mdpIndex = mCurrentFrame.layerToMDP[index]; in programYUV()
835 mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in programYUV()
839 mCurrentFrame.mdpToLayer[mdpIndex]) != 0 ){ in programYUV()
853 mCurrentFrame.reset(numLayers); in prepare()
858 mCachedFrame.updateCounts(mCurrentFrame); in prepare()
874 mCurrentFrame.map(); in prepare()
876 if(mCurrentFrame.fbZ >= 0) { in prepare()
878 mCurrentFrame.fbZ)) { in prepare()
890 mCurrentFrame.needsRedraw = false; in prepare()
891 if(mCurrentFrame.fbCount && in prepare()
892 ((mCurrentFrame.mdpCount != mCachedFrame.mdpCount) || in prepare()
893 (mCurrentFrame.fbCount != mCachedFrame.fbCount) || in prepare()
894 (mCurrentFrame.fbZ != mCachedFrame.fbZ) || in prepare()
895 (!mCurrentFrame.mdpCount) || in prepare()
898 mCurrentFrame.needsRedraw = true; in prepare()
906 mCurrentFrame.fbZ = -1; in prepare()
907 if(mCurrentFrame.fbCount) in prepare()
908 mCurrentFrame.fbZ = mCurrentFrame.mdpCount; in prepare()
910 mCurrentFrame.map(); in prepare()
913 if(mCurrentFrame.fbZ >= 0) { in prepare()
914 if(!ctx->mFBUpdate[mDpy]->prepare(ctx, list, mCurrentFrame.fbZ)) { in prepare()
931 mCachedFrame.updateCounts(mCurrentFrame); in prepare()
968 int numPipesNeeded = mCurrentFrame.mdpCount; in arePipesAvailable()
972 if(mCurrentFrame.fbCount) in arePipesAvailable()
986 for(int index = 0; index < mCurrentFrame.layerCount; index++) { in allocLayerPipes()
988 if(mCurrentFrame.isFBComposed[index]) continue; in allocLayerPipes()
992 int mdpIndex = mCurrentFrame.layerToMDP[index]; in allocLayerPipes()
993 PipeLayerPair& info = mCurrentFrame.mdpToLayer[mdpIndex]; in allocLayerPipes()
1035 if(idleInvalidator && !sIdleFallBack && mCurrentFrame.mdpCount) in draw()
1042 for(int i = 0; i < numHwLayers && mCurrentFrame.mdpCount; i++ ) in draw()
1044 if(mCurrentFrame.isFBComposed[i]) continue; in draw()
1053 int mdpIndex = mCurrentFrame.layerToMDP[i]; in draw()
1056 *(MdpPipeInfoLowRes*)mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in draw()
1081 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; in draw()
1108 for(int i = 0; i < mCurrentFrame.layerCount; ++i) { in pipesNeeded()
1109 if(!mCurrentFrame.isFBComposed[i]) { in pipesNeeded()
1131 if(mCurrentFrame.fbCount) in arePipesAvailable()
1170 for(int index = 0 ; index < mCurrentFrame.layerCount; index++) { in allocLayerPipes()
1172 if(mCurrentFrame.isFBComposed[index]) continue; in allocLayerPipes()
1176 int mdpIndex = mCurrentFrame.layerToMDP[index]; in allocLayerPipes()
1177 PipeLayerPair& info = mCurrentFrame.mdpToLayer[mdpIndex]; in allocLayerPipes()
1238 if(idleInvalidator && !sIdleFallBack && mCurrentFrame.mdpCount) in draw()
1245 for(int i = 0; i < numHwLayers && mCurrentFrame.mdpCount; i++ ) in draw()
1247 if(mCurrentFrame.isFBComposed[i]) continue; in draw()
1260 int mdpIndex = mCurrentFrame.layerToMDP[i]; in draw()
1263 *(MdpPipeInfoHighRes*)mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in draw()
1264 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; in draw()