Lines Matching refs:mCurrentFrame
64 if(mCurrentFrame.layerCount > MAX_NUM_APP_LAYERS) in dump()
71 "fbCount:%2d \n", mCurrentFrame.layerCount, in dump()
72 mCurrentFrame.mdpCount, mCurrentFrame.fbCount); in dump()
74 (mCurrentFrame.needsRedraw? "YES" : "NO"), in dump()
75 mCurrentFrame.mdpCount, sMaxPipesPerMixer); in dump()
94 for(int index = 0; index < mCurrentFrame.layerCount; index++ ) in dump()
97 (mCurrentFrame.isFBComposed[index] ? "YES" : "NO"), in dump()
98 mCurrentFrame.layerToMDP[index], in dump()
99 (mCurrentFrame.isFBComposed[index] ? in dump()
100 (mCurrentFrame.drop[index] ? "DROP" : in dump()
101 (mCurrentFrame.needsRedraw ? "GLES" : "CACHE")) : "MDP"), in dump()
102 (mCurrentFrame.isFBComposed[index] ? mCurrentFrame.fbZ : in dump()
103 mCurrentFrame.mdpToLayer[mCurrentFrame.layerToMDP[index]].pipeInfo->zOrder)); in dump()
177 mCurrentFrame.reset(numLayers); in reset()
215 if(!mCurrentFrame.isFBComposed[index]) { in setMDPCompLayerFlags()
222 if(!mCurrentFrame.needsRedraw || mCurrentFrame.drop[index]) { in setMDPCompLayerFlags()
231 mCurrentFrame.needsRedraw = false; in setRedraw()
232 if(!mCachedFrame.isSameFrame(mCurrentFrame, list) || in setRedraw()
235 mCurrentFrame.needsRedraw = true; in setRedraw()
456 mCurrentFrame.drop[i] = true; in validateAndApplyROI()
457 mCurrentFrame.dropCount++; in validateAndApplyROI()
466 mCurrentFrame.drop[i] = true; in validateAndApplyROI()
467 mCurrentFrame.dropCount++; in validateAndApplyROI()
473 memset(&mCurrentFrame.drop, 0, sizeof(mCurrentFrame.drop)); in validateAndApplyROI()
474 mCurrentFrame.dropCount = 0; in validateAndApplyROI()
561 mCurrentFrame.drop[i] = true; in validateAndApplyROI()
562 mCurrentFrame.dropCount++; in validateAndApplyROI()
574 mCurrentFrame.drop[i] = true; in validateAndApplyROI()
575 mCurrentFrame.dropCount++; in validateAndApplyROI()
580 memset(&mCurrentFrame.drop, 0, sizeof(mCurrentFrame.drop)); in validateAndApplyROI()
581 mCurrentFrame.dropCount = 0; in validateAndApplyROI()
763 if(not mCurrentFrame.drop[i] and in fullMDPComp()
770 mCurrentFrame.fbCount = 0; in fullMDPComp()
771 memcpy(&mCurrentFrame.isFBComposed, &mCurrentFrame.drop, in fullMDPComp()
772 sizeof(mCurrentFrame.isFBComposed)); in fullMDPComp()
773 mCurrentFrame.mdpCount = mCurrentFrame.layerCount - mCurrentFrame.fbCount - in fullMDPComp()
774 mCurrentFrame.dropCount; in fullMDPComp()
810 isYuvPresent(ctx, mDpy) || mCurrentFrame.dropCount || in fullMDPCompWithPTOR()
928 mCurrentFrame.mdpCount = numAppLayers; in fullMDPCompWithPTOR()
929 mCurrentFrame.fbCount = 0; in fullMDPCompWithPTOR()
930 mCurrentFrame.fbZ = -1; in fullMDPCompWithPTOR()
933 mCurrentFrame.isFBComposed[j] = false; in fullMDPCompWithPTOR()
986 mCurrentFrame.reset(numAppLayers); in cacheBasedComp()
991 if(!mCurrentFrame.isFBComposed[i]) { in cacheBasedComp()
1010 int mdpCount = mCurrentFrame.mdpCount; in cacheBasedComp()
1045 const int numNonDroppedLayers = numAppLayers - mCurrentFrame.dropCount; in loadBasedComp()
1056 if(mCurrentFrame.drop[i]) { in loadBasedComp()
1071 mCurrentFrame.dropCount); in loadBasedComp()
1087 mCurrentFrame.reset(numAppLayers); in loadBasedComp()
1094 if(mCurrentFrame.drop[i]) { in loadBasedComp()
1097 mCurrentFrame.isFBComposed[i] = false; in loadBasedComp()
1101 mCurrentFrame.fbZ = mdpBatchSize; in loadBasedComp()
1102 mCurrentFrame.fbCount = fbBatchSize; in loadBasedComp()
1103 mCurrentFrame.mdpCount = mdpBatchSize; in loadBasedComp()
1107 mCurrentFrame.dropCount); in loadBasedComp()
1158 mCurrentFrame.reset(numAppLayers); in videoOnlyComp()
1159 mCurrentFrame.fbCount -= mCurrentFrame.dropCount; in videoOnlyComp()
1161 int mdpCount = mCurrentFrame.mdpCount; in videoOnlyComp()
1175 if(mCurrentFrame.fbCount) in videoOnlyComp()
1176 mCurrentFrame.fbZ = mCurrentFrame.mdpCount; in videoOnlyComp()
1232 if(mCurrentFrame.isFBComposed[i] && !mCurrentFrame.drop[i]) { in canPushBatchToTop()
1247 if(!mCurrentFrame.isFBComposed[i]) { in intersectingUpdatingLayers()
1263 while (i < mCurrentFrame.layerCount) { in getBatch()
1271 while(i < mCurrentFrame.layerCount) { in getBatch()
1272 if(!mCurrentFrame.isFBComposed[i]) { in getBatch()
1281 if(mCurrentFrame.drop[i]) { in getBatch()
1351 if(mCurrentFrame.fbCount == 0) { in markLayersForCaching()
1356 if(mCurrentFrame.mdpCount == 0) { in markLayersForCaching()
1363 for(int i = 0; i < mCurrentFrame.layerCount; i++) { in markLayersForCaching()
1366 mCurrentFrame.isFBComposed[i]){ in markLayersForCaching()
1367 if(!mCurrentFrame.drop[i]){ in markLayersForCaching()
1373 mCurrentFrame.isFBComposed[i] = false; in markLayersForCaching()
1379 mCurrentFrame.fbZ = fbZ; in markLayersForCaching()
1380 mCurrentFrame.fbCount = maxBatchCount; in markLayersForCaching()
1381 mCurrentFrame.mdpCount = mCurrentFrame.layerCount - in markLayersForCaching()
1382 mCurrentFrame.fbCount - mCurrentFrame.dropCount; in markLayersForCaching()
1385 mCurrentFrame.fbCount); in markLayersForCaching()
1397 if(!mCurrentFrame.drop[i]) in updateLayerCache()
1399 mCurrentFrame.isFBComposed[i] = true; in updateLayerCache()
1401 mCurrentFrame.isFBComposed[i] = false; in updateLayerCache()
1405 mCurrentFrame.fbCount = fbCount; in updateLayerCache()
1406 mCurrentFrame.mdpCount = mCurrentFrame.layerCount - mCurrentFrame.fbCount in updateLayerCache()
1407 - mCurrentFrame.dropCount; in updateLayerCache()
1410 ,__FUNCTION__, mCurrentFrame.mdpCount, mCurrentFrame.fbCount, in updateLayerCache()
1411 mCurrentFrame.dropCount); in updateLayerCache()
1422 if(!mCurrentFrame.isFBComposed[nYuvIndex]) { in updateYUV()
1423 mCurrentFrame.isFBComposed[nYuvIndex] = true; in updateYUV()
1424 mCurrentFrame.fbCount++; in updateYUV()
1427 if(mCurrentFrame.isFBComposed[nYuvIndex]) { in updateYUV()
1430 mCurrentFrame.isFBComposed[nYuvIndex] = false; in updateYUV()
1431 mCurrentFrame.fbCount--; in updateYUV()
1437 mCurrentFrame.mdpCount = mCurrentFrame.layerCount - in updateYUV()
1438 mCurrentFrame.fbCount - mCurrentFrame.dropCount; in updateYUV()
1440 mCurrentFrame.fbCount); in updateYUV()
1448 for(int i = 0; i < mCurrentFrame.layerCount; i++ ) { in getUpdatingFBRect()
1449 if(mCurrentFrame.isFBComposed[i] && !mCurrentFrame.drop[i]) { in getUpdatingFBRect()
1475 if(mCurrentFrame.fbZ >= 0) { in postHeuristicsHandling()
1477 if(!ctx->mFBUpdate[mDpy]->prepare(ctx, list, fbRect, mCurrentFrame.fbZ)) in postHeuristicsHandling()
1485 mCurrentFrame.map(); in postHeuristicsHandling()
1492 for (int index = 0, mdpNextZOrder = 0; index < mCurrentFrame.layerCount; in postHeuristicsHandling()
1494 if(!mCurrentFrame.isFBComposed[index]) { in postHeuristicsHandling()
1495 int mdpIndex = mCurrentFrame.layerToMDP[index]; in postHeuristicsHandling()
1499 if(mdpNextZOrder == mCurrentFrame.fbZ) { in postHeuristicsHandling()
1502 MdpPipeInfo* cur_pipe = mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in postHeuristicsHandling()
1508 mCurrentFrame.mdpToLayer[mdpIndex]) in postHeuristicsHandling()
1519 if(configure(ctx, layer, mCurrentFrame.mdpToLayer[mdpIndex]) != 0 ){ in postHeuristicsHandling()
1539 const bool fbUsed = mCurrentFrame.fbCount; in resourceCheck()
1540 if(mCurrentFrame.mdpCount > sMaxPipesPerMixer - fbUsed) { in resourceCheck()
1547 for (int index = 0; index < mCurrentFrame.layerCount; index++) { in resourceCheck()
1548 if(!mCurrentFrame.isFBComposed[index]) { in resourceCheck()
1571 for(int i = 0; i < mCurrentFrame.layerCount; ++i) { in hwLimitationsCheck()
1572 if(!mCurrentFrame.isFBComposed[i] && in hwLimitationsCheck()
1585 for(int i = 0; i < mCurrentFrame.layerCount-1; ++i) { in hwLimitationsCheck()
1587 if(!mCurrentFrame.isFBComposed[i] && in hwLimitationsCheck()
1591 for(int j = i+1; j < mCurrentFrame.layerCount; ++j) { in hwLimitationsCheck()
1593 if(!mCurrentFrame.isFBComposed[j] && in hwLimitationsCheck()
1640 mCurrentFrame.reset(numLayers); in prepare()
1641 memset(&mCurrentFrame.drop, 0, sizeof(mCurrentFrame.drop)); in prepare()
1642 mCurrentFrame.dropCount = 0; in prepare()
1647 mCurrentFrame.needsRedraw = false; in prepare()
1649 mCurrentFrame.needsRedraw = true; in prepare()
1653 mCachedFrame.updateCounts(mCurrentFrame); in prepare()
1670 memset(&mCurrentFrame.drop, 0, sizeof(mCurrentFrame.drop)); in prepare()
1671 mCurrentFrame.dropCount = 0; in prepare()
1689 mCachedFrame.updateCounts(mCurrentFrame); in prepare()
1696 int mdpIndex = mCurrentFrame.layerToMDP[index]; in allocSplitVGPipesfor4k2k()
1697 PipeLayerPair& info = mCurrentFrame.mdpToLayer[mdpIndex]; in allocSplitVGPipesfor4k2k()
1746 if(mCurrentFrame.fbZ >= 0) { in adjustForSourceSplit()
1747 for (int index = 0, mdpNextZOrder = 0; index < mCurrentFrame.layerCount; in adjustForSourceSplit()
1749 if(!mCurrentFrame.isFBComposed[index]) { in adjustForSourceSplit()
1750 if(mdpNextZOrder == mCurrentFrame.fbZ) { in adjustForSourceSplit()
1757 if(mdpNextZOrder <= mCurrentFrame.fbZ) in adjustForSourceSplit()
1758 mCurrentFrame.fbZ += 1; in adjustForSourceSplit()
1762 mCurrentFrame.mdpCount++; in adjustForSourceSplit()
1790 for(int index = 0; index < mCurrentFrame.layerCount; index++) { in allocLayerPipes()
1792 if(mCurrentFrame.isFBComposed[index]) continue; in allocLayerPipes()
1802 int mdpIndex = mCurrentFrame.layerToMDP[index]; in allocLayerPipes()
1803 PipeLayerPair& info = mCurrentFrame.mdpToLayer[mdpIndex]; in allocLayerPipes()
1850 if(idleInvalidator && !sIdleFallBack && mCurrentFrame.mdpCount) { in draw()
1858 for(int i = 0; i < numHwLayers && mCurrentFrame.mdpCount; i++ ) in draw()
1860 if(mCurrentFrame.isFBComposed[i]) continue; in draw()
1874 int mdpIndex = mCurrentFrame.layerToMDP[i]; in draw()
1879 *(MdpYUVPipeInfo*)mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in draw()
1880 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; in draw()
1914 *(MdpPipeInfoNonSplit*)mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in draw()
1939 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; in draw()
1966 if(mCurrentFrame.fbZ >= 0) { in adjustForSourceSplit()
1967 for (int index = 0, mdpNextZOrder = 0; index < mCurrentFrame.layerCount; in adjustForSourceSplit()
1969 if(!mCurrentFrame.isFBComposed[index]) { in adjustForSourceSplit()
1970 if(mdpNextZOrder == mCurrentFrame.fbZ) { in adjustForSourceSplit()
1979 mCurrentFrame.mdpCount += 1; in adjustForSourceSplit()
1981 if(mdpNextZOrder <= mCurrentFrame.fbZ) in adjustForSourceSplit()
1982 mCurrentFrame.fbZ += 1; in adjustForSourceSplit()
2029 for(int index = 0 ; index < mCurrentFrame.layerCount; index++) { in allocLayerPipes()
2031 if(mCurrentFrame.isFBComposed[index]) continue; in allocLayerPipes()
2044 int mdpIndex = mCurrentFrame.layerToMDP[index]; in allocLayerPipes()
2045 PipeLayerPair& info = mCurrentFrame.mdpToLayer[mdpIndex]; in allocLayerPipes()
2108 if(idleInvalidator && !sIdleFallBack && mCurrentFrame.mdpCount) { in draw()
2116 for(int i = 0; i < numHwLayers && mCurrentFrame.mdpCount; i++ ) in draw()
2118 if(mCurrentFrame.isFBComposed[i]) continue; in draw()
2131 int mdpIndex = mCurrentFrame.layerToMDP[i]; in draw()
2136 *(MdpYUVPipeInfo*)mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in draw()
2137 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; in draw()
2171 *(MdpPipeInfoSplit*)mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in draw()
2172 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; in draw()