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()
185 mCurrentFrame.reset(numLayers); in reset()
223 if(!mCurrentFrame.isFBComposed[index]) { in setMDPCompLayerFlags()
230 if(!mCurrentFrame.needsRedraw || mCurrentFrame.drop[index]) { in setMDPCompLayerFlags()
239 mCurrentFrame.needsRedraw = false; in setRedraw()
240 if(!mCachedFrame.isSameFrame(mCurrentFrame, list) || in setRedraw()
243 mCurrentFrame.needsRedraw = true; in setRedraw()
464 mCurrentFrame.drop[i] = true; in validateAndApplyROI()
465 mCurrentFrame.dropCount++; in validateAndApplyROI()
474 mCurrentFrame.drop[i] = true; in validateAndApplyROI()
475 mCurrentFrame.dropCount++; in validateAndApplyROI()
481 memset(&mCurrentFrame.drop, 0, sizeof(mCurrentFrame.drop)); in validateAndApplyROI()
482 mCurrentFrame.dropCount = 0; in validateAndApplyROI()
569 mCurrentFrame.drop[i] = true; in validateAndApplyROI()
570 mCurrentFrame.dropCount++; in validateAndApplyROI()
582 mCurrentFrame.drop[i] = true; in validateAndApplyROI()
583 mCurrentFrame.dropCount++; in validateAndApplyROI()
588 memset(&mCurrentFrame.drop, 0, sizeof(mCurrentFrame.drop)); in validateAndApplyROI()
589 mCurrentFrame.dropCount = 0; in validateAndApplyROI()
771 if(not mCurrentFrame.drop[i] and in fullMDPComp()
778 mCurrentFrame.fbCount = 0; in fullMDPComp()
779 memcpy(&mCurrentFrame.isFBComposed, &mCurrentFrame.drop, in fullMDPComp()
780 sizeof(mCurrentFrame.isFBComposed)); in fullMDPComp()
781 mCurrentFrame.mdpCount = mCurrentFrame.layerCount - mCurrentFrame.fbCount - in fullMDPComp()
782 mCurrentFrame.dropCount; in fullMDPComp()
818 isYuvPresent(ctx, mDpy) || mCurrentFrame.dropCount || in fullMDPCompWithPTOR()
936 mCurrentFrame.mdpCount = numAppLayers; in fullMDPCompWithPTOR()
937 mCurrentFrame.fbCount = 0; in fullMDPCompWithPTOR()
938 mCurrentFrame.fbZ = -1; in fullMDPCompWithPTOR()
941 mCurrentFrame.isFBComposed[j] = false; in fullMDPCompWithPTOR()
994 mCurrentFrame.reset(numAppLayers); in cacheBasedComp()
999 if(!mCurrentFrame.isFBComposed[i]) { in cacheBasedComp()
1018 int mdpCount = mCurrentFrame.mdpCount; in cacheBasedComp()
1053 const int numNonDroppedLayers = numAppLayers - mCurrentFrame.dropCount; in loadBasedComp()
1064 if(mCurrentFrame.drop[i]) { in loadBasedComp()
1079 mCurrentFrame.dropCount); in loadBasedComp()
1095 mCurrentFrame.reset(numAppLayers); in loadBasedComp()
1102 if(mCurrentFrame.drop[i]) { in loadBasedComp()
1105 mCurrentFrame.isFBComposed[i] = false; in loadBasedComp()
1109 mCurrentFrame.fbZ = mdpBatchSize; in loadBasedComp()
1110 mCurrentFrame.fbCount = fbBatchSize; in loadBasedComp()
1111 mCurrentFrame.mdpCount = mdpBatchSize; in loadBasedComp()
1115 mCurrentFrame.dropCount); in loadBasedComp()
1166 mCurrentFrame.reset(numAppLayers); in videoOnlyComp()
1167 mCurrentFrame.fbCount -= mCurrentFrame.dropCount; in videoOnlyComp()
1169 int mdpCount = mCurrentFrame.mdpCount; in videoOnlyComp()
1183 if(mCurrentFrame.fbCount) in videoOnlyComp()
1184 mCurrentFrame.fbZ = mCurrentFrame.mdpCount; in videoOnlyComp()
1240 if(mCurrentFrame.isFBComposed[i] && !mCurrentFrame.drop[i]) { in canPushBatchToTop()
1255 if(!mCurrentFrame.isFBComposed[i]) { in intersectingUpdatingLayers()
1271 while (i < mCurrentFrame.layerCount) { in getBatch()
1279 while(i < mCurrentFrame.layerCount) { in getBatch()
1280 if(!mCurrentFrame.isFBComposed[i]) { in getBatch()
1289 if(mCurrentFrame.drop[i]) { in getBatch()
1359 if(mCurrentFrame.fbCount == 0) { in markLayersForCaching()
1364 if(mCurrentFrame.mdpCount == 0) { in markLayersForCaching()
1371 for(int i = 0; i < mCurrentFrame.layerCount; i++) { in markLayersForCaching()
1374 mCurrentFrame.isFBComposed[i]){ in markLayersForCaching()
1375 if(!mCurrentFrame.drop[i]){ in markLayersForCaching()
1381 mCurrentFrame.isFBComposed[i] = false; in markLayersForCaching()
1387 mCurrentFrame.fbZ = fbZ; in markLayersForCaching()
1388 mCurrentFrame.fbCount = maxBatchCount; in markLayersForCaching()
1389 mCurrentFrame.mdpCount = mCurrentFrame.layerCount - in markLayersForCaching()
1390 mCurrentFrame.fbCount - mCurrentFrame.dropCount; in markLayersForCaching()
1393 mCurrentFrame.fbCount); in markLayersForCaching()
1405 if(!mCurrentFrame.drop[i]) in updateLayerCache()
1407 mCurrentFrame.isFBComposed[i] = true; in updateLayerCache()
1409 mCurrentFrame.isFBComposed[i] = false; in updateLayerCache()
1413 mCurrentFrame.fbCount = fbCount; in updateLayerCache()
1414 mCurrentFrame.mdpCount = mCurrentFrame.layerCount - mCurrentFrame.fbCount in updateLayerCache()
1415 - mCurrentFrame.dropCount; in updateLayerCache()
1418 ,__FUNCTION__, mCurrentFrame.mdpCount, mCurrentFrame.fbCount, in updateLayerCache()
1419 mCurrentFrame.dropCount); in updateLayerCache()
1430 if(!mCurrentFrame.isFBComposed[nYuvIndex]) { in updateYUV()
1431 mCurrentFrame.isFBComposed[nYuvIndex] = true; in updateYUV()
1432 mCurrentFrame.fbCount++; in updateYUV()
1435 if(mCurrentFrame.isFBComposed[nYuvIndex]) { in updateYUV()
1438 mCurrentFrame.isFBComposed[nYuvIndex] = false; in updateYUV()
1439 mCurrentFrame.fbCount--; in updateYUV()
1445 mCurrentFrame.mdpCount = mCurrentFrame.layerCount - in updateYUV()
1446 mCurrentFrame.fbCount - mCurrentFrame.dropCount; in updateYUV()
1448 mCurrentFrame.fbCount); in updateYUV()
1456 for(int i = 0; i < mCurrentFrame.layerCount; i++ ) { in getUpdatingFBRect()
1457 if(mCurrentFrame.isFBComposed[i] && !mCurrentFrame.drop[i]) { in getUpdatingFBRect()
1483 if(mCurrentFrame.fbZ >= 0) { in postHeuristicsHandling()
1485 if(!ctx->mFBUpdate[mDpy]->prepare(ctx, list, fbRect, mCurrentFrame.fbZ)) in postHeuristicsHandling()
1493 mCurrentFrame.map(); in postHeuristicsHandling()
1500 for (int index = 0, mdpNextZOrder = 0; index < mCurrentFrame.layerCount; in postHeuristicsHandling()
1502 if(!mCurrentFrame.isFBComposed[index]) { in postHeuristicsHandling()
1503 int mdpIndex = mCurrentFrame.layerToMDP[index]; in postHeuristicsHandling()
1507 if(mdpNextZOrder == mCurrentFrame.fbZ) { in postHeuristicsHandling()
1510 MdpPipeInfo* cur_pipe = mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in postHeuristicsHandling()
1516 mCurrentFrame.mdpToLayer[mdpIndex]) in postHeuristicsHandling()
1527 if(configure(ctx, layer, mCurrentFrame.mdpToLayer[mdpIndex]) != 0 ){ in postHeuristicsHandling()
1547 const bool fbUsed = mCurrentFrame.fbCount; in resourceCheck()
1548 if(mCurrentFrame.mdpCount > sMaxPipesPerMixer - fbUsed) { in resourceCheck()
1555 for (int index = 0; index < mCurrentFrame.layerCount; index++) { in resourceCheck()
1556 if(!mCurrentFrame.isFBComposed[index]) { in resourceCheck()
1579 for(int i = 0; i < mCurrentFrame.layerCount; ++i) { in hwLimitationsCheck()
1580 if(!mCurrentFrame.isFBComposed[i] && in hwLimitationsCheck()
1593 for(int i = 0; i < mCurrentFrame.layerCount-1; ++i) { in hwLimitationsCheck()
1595 if(!mCurrentFrame.isFBComposed[i] && in hwLimitationsCheck()
1599 for(int j = i+1; j < mCurrentFrame.layerCount; ++j) { in hwLimitationsCheck()
1601 if(!mCurrentFrame.isFBComposed[j] && in hwLimitationsCheck()
1648 mCurrentFrame.reset(numLayers); in prepare()
1649 memset(&mCurrentFrame.drop, 0, sizeof(mCurrentFrame.drop)); in prepare()
1650 mCurrentFrame.dropCount = 0; in prepare()
1655 mCurrentFrame.needsRedraw = false; in prepare()
1657 mCurrentFrame.needsRedraw = true; in prepare()
1661 mCachedFrame.updateCounts(mCurrentFrame); in prepare()
1678 memset(&mCurrentFrame.drop, 0, sizeof(mCurrentFrame.drop)); in prepare()
1679 mCurrentFrame.dropCount = 0; in prepare()
1697 mCachedFrame.updateCounts(mCurrentFrame); in prepare()
1704 int mdpIndex = mCurrentFrame.layerToMDP[index]; in allocSplitVGPipesfor4k2k()
1705 PipeLayerPair& info = mCurrentFrame.mdpToLayer[mdpIndex]; in allocSplitVGPipesfor4k2k()
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()
1765 if(mdpNextZOrder <= mCurrentFrame.fbZ) in adjustForSourceSplit()
1766 mCurrentFrame.fbZ += 1; in adjustForSourceSplit()
1770 mCurrentFrame.mdpCount++; in adjustForSourceSplit()
1798 for(int index = 0; index < mCurrentFrame.layerCount; index++) { in allocLayerPipes()
1800 if(mCurrentFrame.isFBComposed[index]) continue; in allocLayerPipes()
1810 int mdpIndex = mCurrentFrame.layerToMDP[index]; in allocLayerPipes()
1811 PipeLayerPair& info = mCurrentFrame.mdpToLayer[mdpIndex]; in allocLayerPipes()
1858 if(idleInvalidator && !sIdleFallBack && mCurrentFrame.mdpCount) { in draw()
1866 for(int i = 0; i < numHwLayers && mCurrentFrame.mdpCount; i++ ) in draw()
1868 if(mCurrentFrame.isFBComposed[i]) continue; in draw()
1882 int mdpIndex = mCurrentFrame.layerToMDP[i]; in draw()
1887 *(MdpYUVPipeInfo*)mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in draw()
1888 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; in draw()
1922 *(MdpPipeInfoNonSplit*)mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in draw()
1947 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; in draw()
1974 if(mCurrentFrame.fbZ >= 0) { in adjustForSourceSplit()
1975 for (int index = 0, mdpNextZOrder = 0; index < mCurrentFrame.layerCount; in adjustForSourceSplit()
1977 if(!mCurrentFrame.isFBComposed[index]) { in adjustForSourceSplit()
1978 if(mdpNextZOrder == mCurrentFrame.fbZ) { in adjustForSourceSplit()
1987 mCurrentFrame.mdpCount += 1; in adjustForSourceSplit()
1989 if(mdpNextZOrder <= mCurrentFrame.fbZ) in adjustForSourceSplit()
1990 mCurrentFrame.fbZ += 1; in adjustForSourceSplit()
2037 for(int index = 0 ; index < mCurrentFrame.layerCount; index++) { in allocLayerPipes()
2039 if(mCurrentFrame.isFBComposed[index]) continue; in allocLayerPipes()
2052 int mdpIndex = mCurrentFrame.layerToMDP[index]; in allocLayerPipes()
2053 PipeLayerPair& info = mCurrentFrame.mdpToLayer[mdpIndex]; in allocLayerPipes()
2116 if(idleInvalidator && !sIdleFallBack && mCurrentFrame.mdpCount) { in draw()
2124 for(int i = 0; i < numHwLayers && mCurrentFrame.mdpCount; i++ ) in draw()
2126 if(mCurrentFrame.isFBComposed[i]) continue; in draw()
2139 int mdpIndex = mCurrentFrame.layerToMDP[i]; in draw()
2144 *(MdpYUVPipeInfo*)mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in draw()
2145 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; in draw()
2179 *(MdpPipeInfoSplit*)mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in draw()
2180 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; in draw()