• Home
  • Raw
  • Download

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()
562 mCurrentFrame.drop[i] = true; in validateAndApplyROI()
563 mCurrentFrame.dropCount++; in validateAndApplyROI()
575 mCurrentFrame.drop[i] = true; in validateAndApplyROI()
576 mCurrentFrame.dropCount++; in validateAndApplyROI()
581 memset(&mCurrentFrame.drop, 0, sizeof(mCurrentFrame.drop)); in validateAndApplyROI()
582 mCurrentFrame.dropCount = 0; in validateAndApplyROI()
756 if(not mCurrentFrame.drop[i] and in fullMDPComp()
772 mCurrentFrame.fbCount = 0; in fullMDPComp()
773 memcpy(&mCurrentFrame.isFBComposed, &mCurrentFrame.drop, in fullMDPComp()
774 sizeof(mCurrentFrame.isFBComposed)); in fullMDPComp()
775 mCurrentFrame.mdpCount = mCurrentFrame.layerCount - mCurrentFrame.fbCount - in fullMDPComp()
776 mCurrentFrame.dropCount; in fullMDPComp()
817 mCurrentFrame.reset(numAppLayers); in cacheBasedComp()
822 if(!mCurrentFrame.isFBComposed[i]) { in cacheBasedComp()
841 int mdpCount = mCurrentFrame.mdpCount; in cacheBasedComp()
876 const int numNonDroppedLayers = numAppLayers - mCurrentFrame.dropCount; in loadBasedComp()
887 if(mCurrentFrame.drop[i]) { in loadBasedComp()
902 mCurrentFrame.dropCount); in loadBasedComp()
918 mCurrentFrame.reset(numAppLayers); in loadBasedComp()
925 if(mCurrentFrame.drop[i]) { in loadBasedComp()
928 mCurrentFrame.isFBComposed[i] = false; in loadBasedComp()
932 mCurrentFrame.fbZ = mdpBatchSize; in loadBasedComp()
933 mCurrentFrame.fbCount = fbBatchSize; in loadBasedComp()
934 mCurrentFrame.mdpCount = mdpBatchSize; in loadBasedComp()
938 mCurrentFrame.dropCount); in loadBasedComp()
987 mCurrentFrame.reset(numAppLayers); in videoOnlyComp()
988 mCurrentFrame.fbCount -= mCurrentFrame.dropCount; in videoOnlyComp()
990 int mdpCount = mCurrentFrame.mdpCount; in videoOnlyComp()
1004 if(mCurrentFrame.fbCount) in videoOnlyComp()
1005 mCurrentFrame.fbZ = mCurrentFrame.mdpCount; in videoOnlyComp()
1061 if(mCurrentFrame.isFBComposed[i] && !mCurrentFrame.drop[i]) { in canPushBatchToTop()
1076 if(!mCurrentFrame.isFBComposed[i]) { in intersectingUpdatingLayers()
1092 while (i < mCurrentFrame.layerCount) { in getBatch()
1100 while(i < mCurrentFrame.layerCount) { in getBatch()
1101 if(!mCurrentFrame.isFBComposed[i]) { in getBatch()
1110 if(mCurrentFrame.drop[i]) { in getBatch()
1180 if(mCurrentFrame.fbCount == 0) { in markLayersForCaching()
1185 if(mCurrentFrame.mdpCount == 0) { in markLayersForCaching()
1192 for(int i = 0; i < mCurrentFrame.layerCount; i++) { in markLayersForCaching()
1195 mCurrentFrame.isFBComposed[i]){ in markLayersForCaching()
1196 if(!mCurrentFrame.drop[i]){ in markLayersForCaching()
1202 mCurrentFrame.isFBComposed[i] = false; in markLayersForCaching()
1208 mCurrentFrame.fbZ = fbZ; in markLayersForCaching()
1209 mCurrentFrame.fbCount = maxBatchCount; in markLayersForCaching()
1210 mCurrentFrame.mdpCount = mCurrentFrame.layerCount - in markLayersForCaching()
1211 mCurrentFrame.fbCount - mCurrentFrame.dropCount; in markLayersForCaching()
1214 mCurrentFrame.fbCount); in markLayersForCaching()
1227 if(!mCurrentFrame.drop[i]) in updateLayerCache()
1229 mCurrentFrame.isFBComposed[i] = true; in updateLayerCache()
1231 mCurrentFrame.isFBComposed[i] = false; in updateLayerCache()
1235 mCurrentFrame.fbCount = fbCount; in updateLayerCache()
1236 mCurrentFrame.mdpCount = mCurrentFrame.layerCount - mCurrentFrame.fbCount in updateLayerCache()
1237 - mCurrentFrame.dropCount; in updateLayerCache()
1240 ,__FUNCTION__, mCurrentFrame.mdpCount, mCurrentFrame.fbCount, in updateLayerCache()
1241 mCurrentFrame.dropCount); in updateLayerCache()
1252 if(!mCurrentFrame.isFBComposed[nYuvIndex]) { in updateYUV()
1253 mCurrentFrame.isFBComposed[nYuvIndex] = true; in updateYUV()
1254 mCurrentFrame.fbCount++; in updateYUV()
1257 if(mCurrentFrame.isFBComposed[nYuvIndex]) { in updateYUV()
1260 mCurrentFrame.isFBComposed[nYuvIndex] = false; in updateYUV()
1261 mCurrentFrame.fbCount--; in updateYUV()
1267 mCurrentFrame.mdpCount = mCurrentFrame.layerCount - in updateYUV()
1268 mCurrentFrame.fbCount - mCurrentFrame.dropCount; in updateYUV()
1270 mCurrentFrame.fbCount); in updateYUV()
1278 for(int i = 0; i < mCurrentFrame.layerCount; i++ ) { in getUpdatingFBRect()
1279 if(mCurrentFrame.isFBComposed[i] && !mCurrentFrame.drop[i]) { in getUpdatingFBRect()
1305 if(mCurrentFrame.fbZ >= 0) { in postHeuristicsHandling()
1307 if(!ctx->mFBUpdate[mDpy]->prepare(ctx, list, fbRect, mCurrentFrame.fbZ)) in postHeuristicsHandling()
1315 mCurrentFrame.map(); in postHeuristicsHandling()
1322 for (int index = 0, mdpNextZOrder = 0; index < mCurrentFrame.layerCount; in postHeuristicsHandling()
1324 if(!mCurrentFrame.isFBComposed[index]) { in postHeuristicsHandling()
1325 int mdpIndex = mCurrentFrame.layerToMDP[index]; in postHeuristicsHandling()
1329 if(mdpNextZOrder == mCurrentFrame.fbZ) { in postHeuristicsHandling()
1332 MdpPipeInfo* cur_pipe = mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in postHeuristicsHandling()
1338 mCurrentFrame.mdpToLayer[mdpIndex]) in postHeuristicsHandling()
1349 if(configure(ctx, layer, mCurrentFrame.mdpToLayer[mdpIndex]) != 0 ){ in postHeuristicsHandling()
1368 const bool fbUsed = mCurrentFrame.fbCount; in resourceCheck()
1369 if(mCurrentFrame.mdpCount > sMaxPipesPerMixer - fbUsed) { in resourceCheck()
1382 for(int i = 0; i < mCurrentFrame.layerCount; ++i) { in hwLimitationsCheck()
1383 if(!mCurrentFrame.isFBComposed[i] && in hwLimitationsCheck()
1396 for(int i = 0; i < mCurrentFrame.layerCount-1; ++i) { in hwLimitationsCheck()
1398 if(!mCurrentFrame.isFBComposed[i] && in hwLimitationsCheck()
1402 for(int j = i+1; j < mCurrentFrame.layerCount; ++j) { in hwLimitationsCheck()
1404 if(!mCurrentFrame.isFBComposed[j] && in hwLimitationsCheck()
1441 mCurrentFrame.reset(numLayers); in prepare()
1442 memset(&mCurrentFrame.drop, 0, sizeof(mCurrentFrame.drop)); in prepare()
1443 mCurrentFrame.dropCount = 0; in prepare()
1448 mCurrentFrame.needsRedraw = false; in prepare()
1450 mCurrentFrame.needsRedraw = true; in prepare()
1454 mCachedFrame.updateCounts(mCurrentFrame); in prepare()
1470 memset(&mCurrentFrame.drop, 0, sizeof(mCurrentFrame.drop)); in prepare()
1471 mCurrentFrame.dropCount = 0; in prepare()
1488 mCachedFrame.updateCounts(mCurrentFrame); in prepare()
1495 int mdpIndex = mCurrentFrame.layerToMDP[index]; in allocSplitVGPipesfor4k2k()
1496 PipeLayerPair& info = mCurrentFrame.mdpToLayer[mdpIndex]; in allocSplitVGPipesfor4k2k()
1532 if(mCurrentFrame.fbZ >= 0) { in adjustForSourceSplit()
1533 for (int index = 0, mdpNextZOrder = 0; index < mCurrentFrame.layerCount; in adjustForSourceSplit()
1535 if(!mCurrentFrame.isFBComposed[index]) { in adjustForSourceSplit()
1536 if(mdpNextZOrder == mCurrentFrame.fbZ) { in adjustForSourceSplit()
1543 if(mdpNextZOrder <= mCurrentFrame.fbZ) in adjustForSourceSplit()
1544 mCurrentFrame.fbZ += 1; in adjustForSourceSplit()
1548 mCurrentFrame.mdpCount++; in adjustForSourceSplit()
1576 for(int index = 0; index < mCurrentFrame.layerCount; index++) { in allocLayerPipes()
1578 if(mCurrentFrame.isFBComposed[index]) continue; in allocLayerPipes()
1588 int mdpIndex = mCurrentFrame.layerToMDP[index]; in allocLayerPipes()
1589 PipeLayerPair& info = mCurrentFrame.mdpToLayer[mdpIndex]; in allocLayerPipes()
1645 if(idleInvalidator && !sIdleFallBack && mCurrentFrame.mdpCount) { in draw()
1653 for(int i = 0; i < numHwLayers && mCurrentFrame.mdpCount; i++ ) in draw()
1655 if(mCurrentFrame.isFBComposed[i]) continue; in draw()
1669 int mdpIndex = mCurrentFrame.layerToMDP[i]; in draw()
1674 *(MdpYUVPipeInfo*)mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in draw()
1675 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; in draw()
1709 *(MdpPipeInfoNonSplit*)mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in draw()
1727 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; in draw()
1754 if(mCurrentFrame.fbZ >= 0) { in adjustForSourceSplit()
1755 for (int index = 0, mdpNextZOrder = 0; index < mCurrentFrame.layerCount; in adjustForSourceSplit()
1757 if(!mCurrentFrame.isFBComposed[index]) { in adjustForSourceSplit()
1758 if(mdpNextZOrder == mCurrentFrame.fbZ) { in adjustForSourceSplit()
1767 mCurrentFrame.mdpCount += 1; in adjustForSourceSplit()
1769 if(mdpNextZOrder <= mCurrentFrame.fbZ) in adjustForSourceSplit()
1770 mCurrentFrame.fbZ += 1; in adjustForSourceSplit()
1817 for(int index = 0 ; index < mCurrentFrame.layerCount; index++) { in allocLayerPipes()
1819 if(mCurrentFrame.isFBComposed[index]) continue; in allocLayerPipes()
1832 int mdpIndex = mCurrentFrame.layerToMDP[index]; in allocLayerPipes()
1833 PipeLayerPair& info = mCurrentFrame.mdpToLayer[mdpIndex]; in allocLayerPipes()
1906 if(idleInvalidator && !sIdleFallBack && mCurrentFrame.mdpCount) { in draw()
1914 for(int i = 0; i < numHwLayers && mCurrentFrame.mdpCount; i++ ) in draw()
1916 if(mCurrentFrame.isFBComposed[i]) continue; in draw()
1929 int mdpIndex = mCurrentFrame.layerToMDP[i]; in draw()
1934 *(MdpYUVPipeInfo*)mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in draw()
1935 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; in draw()
1969 *(MdpPipeInfoSplit*)mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in draw()
1970 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; in draw()