Lines Matching refs:mCurrentFrame
63 if(mCurrentFrame.layerCount > MAX_NUM_APP_LAYERS) in dump()
70 "fbCount:%2d \n", mCurrentFrame.layerCount, in dump()
71 mCurrentFrame.mdpCount, mCurrentFrame.fbCount); in dump()
73 (mCurrentFrame.needsRedraw? "YES" : "NO"), in dump()
74 mCurrentFrame.mdpCount, sMaxPipesPerMixer); in dump()
93 for(int index = 0; index < mCurrentFrame.layerCount; index++ ) in dump()
96 (mCurrentFrame.isFBComposed[index] ? "YES" : "NO"), in dump()
97 mCurrentFrame.layerToMDP[index], in dump()
98 (mCurrentFrame.isFBComposed[index] ? in dump()
99 (mCurrentFrame.drop[index] ? "DROP" : in dump()
100 (mCurrentFrame.needsRedraw ? "GLES" : "CACHE")) : "MDP"), in dump()
101 (mCurrentFrame.isFBComposed[index] ? mCurrentFrame.fbZ : in dump()
102 mCurrentFrame.mdpToLayer[mCurrentFrame.layerToMDP[index]].pipeInfo->zOrder)); in dump()
173 mCurrentFrame.reset(numLayers); in reset()
206 if(!mCurrentFrame.isFBComposed[index]) { in setMDPCompLayerFlags()
213 if(!mCurrentFrame.needsRedraw || mCurrentFrame.drop[index]) { in setMDPCompLayerFlags()
222 mCurrentFrame.needsRedraw = false; in setRedraw()
223 if(!mCachedFrame.isSameFrame(mCurrentFrame, list) || in setRedraw()
226 mCurrentFrame.needsRedraw = true; in setRedraw()
463 mCurrentFrame.drop[i] = true; in validateAndApplyROI()
464 mCurrentFrame.dropCount++; in validateAndApplyROI()
473 mCurrentFrame.drop[i] = true; in validateAndApplyROI()
474 mCurrentFrame.dropCount++; in validateAndApplyROI()
480 memset(&mCurrentFrame.drop, 0, sizeof(mCurrentFrame.drop)); in validateAndApplyROI()
481 mCurrentFrame.dropCount = 0; in validateAndApplyROI()
560 mCurrentFrame.drop[i] = true; in validateAndApplyROI()
561 mCurrentFrame.dropCount++; in validateAndApplyROI()
573 mCurrentFrame.drop[i] = true; in validateAndApplyROI()
574 mCurrentFrame.dropCount++; in validateAndApplyROI()
579 memset(&mCurrentFrame.drop, 0, sizeof(mCurrentFrame.drop)); in validateAndApplyROI()
580 mCurrentFrame.dropCount = 0; in validateAndApplyROI()
751 if(not mCurrentFrame.drop[i] and in fullMDPComp()
767 mCurrentFrame.fbCount = 0; in fullMDPComp()
768 memcpy(&mCurrentFrame.isFBComposed, &mCurrentFrame.drop, in fullMDPComp()
769 sizeof(mCurrentFrame.isFBComposed)); in fullMDPComp()
770 mCurrentFrame.mdpCount = mCurrentFrame.layerCount - mCurrentFrame.fbCount - in fullMDPComp()
771 mCurrentFrame.dropCount; in fullMDPComp()
812 mCurrentFrame.reset(numAppLayers); in cacheBasedComp()
817 if(!mCurrentFrame.isFBComposed[i]) { in cacheBasedComp()
836 int mdpCount = mCurrentFrame.mdpCount; in cacheBasedComp()
871 const int numNonDroppedLayers = numAppLayers - mCurrentFrame.dropCount; in loadBasedComp()
882 if(mCurrentFrame.drop[i]) { in loadBasedComp()
897 mCurrentFrame.dropCount); in loadBasedComp()
913 mCurrentFrame.reset(numAppLayers); in loadBasedComp()
920 if(mCurrentFrame.drop[i]) { in loadBasedComp()
923 mCurrentFrame.isFBComposed[i] = false; in loadBasedComp()
927 mCurrentFrame.fbZ = mdpBatchSize; in loadBasedComp()
928 mCurrentFrame.fbCount = fbBatchSize; in loadBasedComp()
929 mCurrentFrame.mdpCount = mdpBatchSize; in loadBasedComp()
933 mCurrentFrame.dropCount); in loadBasedComp()
982 mCurrentFrame.reset(numAppLayers); in videoOnlyComp()
983 mCurrentFrame.fbCount -= mCurrentFrame.dropCount; in videoOnlyComp()
985 int mdpCount = mCurrentFrame.mdpCount; in videoOnlyComp()
999 if(mCurrentFrame.fbCount) in videoOnlyComp()
1000 mCurrentFrame.fbZ = mCurrentFrame.mdpCount; in videoOnlyComp()
1056 if(mCurrentFrame.isFBComposed[i] && !mCurrentFrame.drop[i]) { in canPushBatchToTop()
1071 if(!mCurrentFrame.isFBComposed[i]) { in intersectingUpdatingLayers()
1087 while (i < mCurrentFrame.layerCount) { in getBatch()
1095 while(i < mCurrentFrame.layerCount) { in getBatch()
1096 if(!mCurrentFrame.isFBComposed[i]) { in getBatch()
1105 if(mCurrentFrame.drop[i]) { in getBatch()
1175 if(mCurrentFrame.fbCount == 0) { in markLayersForCaching()
1180 if(mCurrentFrame.mdpCount == 0) { in markLayersForCaching()
1187 for(int i = 0; i < mCurrentFrame.layerCount; i++) { in markLayersForCaching()
1190 mCurrentFrame.isFBComposed[i]){ in markLayersForCaching()
1191 if(!mCurrentFrame.drop[i]){ in markLayersForCaching()
1197 mCurrentFrame.isFBComposed[i] = false; in markLayersForCaching()
1203 mCurrentFrame.fbZ = fbZ; in markLayersForCaching()
1204 mCurrentFrame.fbCount = maxBatchCount; in markLayersForCaching()
1205 mCurrentFrame.mdpCount = mCurrentFrame.layerCount - in markLayersForCaching()
1206 mCurrentFrame.fbCount - mCurrentFrame.dropCount; in markLayersForCaching()
1209 mCurrentFrame.fbCount); in markLayersForCaching()
1222 if(!mCurrentFrame.drop[i]) in updateLayerCache()
1224 mCurrentFrame.isFBComposed[i] = true; in updateLayerCache()
1226 mCurrentFrame.isFBComposed[i] = false; in updateLayerCache()
1230 mCurrentFrame.fbCount = fbCount; in updateLayerCache()
1231 mCurrentFrame.mdpCount = mCurrentFrame.layerCount - mCurrentFrame.fbCount in updateLayerCache()
1232 - mCurrentFrame.dropCount; in updateLayerCache()
1235 ,__FUNCTION__, mCurrentFrame.mdpCount, mCurrentFrame.fbCount, in updateLayerCache()
1236 mCurrentFrame.dropCount); in updateLayerCache()
1247 if(!mCurrentFrame.isFBComposed[nYuvIndex]) { in updateYUV()
1248 mCurrentFrame.isFBComposed[nYuvIndex] = true; in updateYUV()
1249 mCurrentFrame.fbCount++; in updateYUV()
1252 if(mCurrentFrame.isFBComposed[nYuvIndex]) { in updateYUV()
1255 mCurrentFrame.isFBComposed[nYuvIndex] = false; in updateYUV()
1256 mCurrentFrame.fbCount--; in updateYUV()
1262 mCurrentFrame.mdpCount = mCurrentFrame.layerCount - in updateYUV()
1263 mCurrentFrame.fbCount - mCurrentFrame.dropCount; in updateYUV()
1265 mCurrentFrame.fbCount); in updateYUV()
1273 for(int i = 0; i < mCurrentFrame.layerCount; i++ ) { in getUpdatingFBRect()
1274 if(mCurrentFrame.isFBComposed[i] && !mCurrentFrame.drop[i]) { in getUpdatingFBRect()
1300 if(mCurrentFrame.fbZ >= 0) { in postHeuristicsHandling()
1302 if(!ctx->mFBUpdate[mDpy]->prepare(ctx, list, fbRect, mCurrentFrame.fbZ)) in postHeuristicsHandling()
1310 mCurrentFrame.map(); in postHeuristicsHandling()
1317 for (int index = 0, mdpNextZOrder = 0; index < mCurrentFrame.layerCount; in postHeuristicsHandling()
1319 if(!mCurrentFrame.isFBComposed[index]) { in postHeuristicsHandling()
1320 int mdpIndex = mCurrentFrame.layerToMDP[index]; in postHeuristicsHandling()
1324 if(mdpNextZOrder == mCurrentFrame.fbZ) { in postHeuristicsHandling()
1327 MdpPipeInfo* cur_pipe = mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in postHeuristicsHandling()
1333 mCurrentFrame.mdpToLayer[mdpIndex]) in postHeuristicsHandling()
1344 if(configure(ctx, layer, mCurrentFrame.mdpToLayer[mdpIndex]) != 0 ){ in postHeuristicsHandling()
1363 const bool fbUsed = mCurrentFrame.fbCount; in resourceCheck()
1364 if(mCurrentFrame.mdpCount > sMaxPipesPerMixer - fbUsed) { in resourceCheck()
1377 for(int i = 0; i < mCurrentFrame.layerCount; ++i) { in hwLimitationsCheck()
1378 if(!mCurrentFrame.isFBComposed[i] && in hwLimitationsCheck()
1391 for(int i = 0; i < mCurrentFrame.layerCount-1; ++i) { in hwLimitationsCheck()
1393 if(!mCurrentFrame.isFBComposed[i] && in hwLimitationsCheck()
1397 for(int j = i+1; j < mCurrentFrame.layerCount; ++j) { in hwLimitationsCheck()
1399 if(!mCurrentFrame.isFBComposed[j] && in hwLimitationsCheck()
1436 mCurrentFrame.reset(numLayers); in prepare()
1437 memset(&mCurrentFrame.drop, 0, sizeof(mCurrentFrame.drop)); in prepare()
1438 mCurrentFrame.dropCount = 0; in prepare()
1443 mCurrentFrame.needsRedraw = false; in prepare()
1445 mCurrentFrame.needsRedraw = true; in prepare()
1449 mCachedFrame.updateCounts(mCurrentFrame); in prepare()
1465 memset(&mCurrentFrame.drop, 0, sizeof(mCurrentFrame.drop)); in prepare()
1466 mCurrentFrame.dropCount = 0; in prepare()
1483 mCachedFrame.updateCounts(mCurrentFrame); in prepare()
1490 int mdpIndex = mCurrentFrame.layerToMDP[index]; in allocSplitVGPipesfor4k2k()
1491 PipeLayerPair& info = mCurrentFrame.mdpToLayer[mdpIndex]; in allocSplitVGPipesfor4k2k()
1527 if(mCurrentFrame.fbZ >= 0) { in adjustForSourceSplit()
1528 for (int index = 0, mdpNextZOrder = 0; index < mCurrentFrame.layerCount; in adjustForSourceSplit()
1530 if(!mCurrentFrame.isFBComposed[index]) { in adjustForSourceSplit()
1531 if(mdpNextZOrder == mCurrentFrame.fbZ) { in adjustForSourceSplit()
1538 if(mdpNextZOrder <= mCurrentFrame.fbZ) in adjustForSourceSplit()
1539 mCurrentFrame.fbZ += 1; in adjustForSourceSplit()
1543 mCurrentFrame.mdpCount++; in adjustForSourceSplit()
1571 for(int index = 0; index < mCurrentFrame.layerCount; index++) { in allocLayerPipes()
1573 if(mCurrentFrame.isFBComposed[index]) continue; in allocLayerPipes()
1583 int mdpIndex = mCurrentFrame.layerToMDP[index]; in allocLayerPipes()
1584 PipeLayerPair& info = mCurrentFrame.mdpToLayer[mdpIndex]; in allocLayerPipes()
1640 if(idleInvalidator && !sIdleFallBack && mCurrentFrame.mdpCount) { in draw()
1648 for(int i = 0; i < numHwLayers && mCurrentFrame.mdpCount; i++ ) in draw()
1650 if(mCurrentFrame.isFBComposed[i]) continue; in draw()
1664 int mdpIndex = mCurrentFrame.layerToMDP[i]; in draw()
1669 *(MdpYUVPipeInfo*)mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in draw()
1670 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; in draw()
1704 *(MdpPipeInfoNonSplit*)mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in draw()
1722 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; in draw()
1749 if(mCurrentFrame.fbZ >= 0) { in adjustForSourceSplit()
1750 for (int index = 0, mdpNextZOrder = 0; index < mCurrentFrame.layerCount; in adjustForSourceSplit()
1752 if(!mCurrentFrame.isFBComposed[index]) { in adjustForSourceSplit()
1753 if(mdpNextZOrder == mCurrentFrame.fbZ) { in adjustForSourceSplit()
1762 mCurrentFrame.mdpCount += 1; in adjustForSourceSplit()
1764 if(mdpNextZOrder <= mCurrentFrame.fbZ) in adjustForSourceSplit()
1765 mCurrentFrame.fbZ += 1; in adjustForSourceSplit()
1812 for(int index = 0 ; index < mCurrentFrame.layerCount; index++) { in allocLayerPipes()
1814 if(mCurrentFrame.isFBComposed[index]) continue; in allocLayerPipes()
1827 int mdpIndex = mCurrentFrame.layerToMDP[index]; in allocLayerPipes()
1828 PipeLayerPair& info = mCurrentFrame.mdpToLayer[mdpIndex]; in allocLayerPipes()
1901 if(idleInvalidator && !sIdleFallBack && mCurrentFrame.mdpCount) { in draw()
1909 for(int i = 0; i < numHwLayers && mCurrentFrame.mdpCount; i++ ) in draw()
1911 if(mCurrentFrame.isFBComposed[i]) continue; in draw()
1924 int mdpIndex = mCurrentFrame.layerToMDP[i]; in draw()
1929 *(MdpYUVPipeInfo*)mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in draw()
1930 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; in draw()
1964 *(MdpPipeInfoSplit*)mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in draw()
1965 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; in draw()