Lines Matching refs:mCurrentFrame

66     if(mCurrentFrame.layerCount > MAX_NUM_APP_LAYERS)  in dump()
73 "fbCount:%2d \n", mCurrentFrame.layerCount, in dump()
74 mCurrentFrame.mdpCount, mCurrentFrame.fbCount); in dump()
76 (mCurrentFrame.needsRedraw? "YES" : "NO"), in dump()
77 mCurrentFrame.mdpCount, sMaxPipesPerMixer); in dump()
96 for(int index = 0; index < mCurrentFrame.layerCount; index++ ) in dump()
99 (mCurrentFrame.isFBComposed[index] ? "YES" : "NO"), in dump()
100 mCurrentFrame.layerToMDP[index], in dump()
101 (mCurrentFrame.isFBComposed[index] ? in dump()
102 (mCurrentFrame.drop[index] ? "DROP" : in dump()
103 (mCurrentFrame.needsRedraw ? "GLES" : "CACHE")) : "MDP"), in dump()
104 (mCurrentFrame.isFBComposed[index] ? mCurrentFrame.fbZ : in dump()
105 mCurrentFrame.mdpToLayer[mCurrentFrame.layerToMDP[index]].pipeInfo->zOrder)); in dump()
192 mCurrentFrame.reset(numLayers); in reset()
196 memset(&mCurrentFrame.drop, 0, sizeof(mCurrentFrame.drop)); in reset()
197 mCurrentFrame.dropCount = 0; in reset()
265 if(!mCurrentFrame.isFBComposed[index]) { in setMDPCompLayerFlags()
272 if(!mCurrentFrame.needsRedraw || mCurrentFrame.drop[index]) { in setMDPCompLayerFlags()
281 mCurrentFrame.needsRedraw = false; in setRedraw()
282 if(!mCachedFrame.isSameFrame(mCurrentFrame, list) || in setRedraw()
285 mCurrentFrame.needsRedraw = true; in setRedraw()
533 mCurrentFrame.drop[i] = true; in validateAndApplyROI()
534 mCurrentFrame.dropCount++; in validateAndApplyROI()
543 mCurrentFrame.drop[i] = true; in validateAndApplyROI()
544 mCurrentFrame.dropCount++; in validateAndApplyROI()
550 memset(&mCurrentFrame.drop, 0, sizeof(mCurrentFrame.drop)); in validateAndApplyROI()
551 mCurrentFrame.dropCount = 0; in validateAndApplyROI()
633 mCurrentFrame.drop[i] = true; in validateAndApplyROI()
634 mCurrentFrame.dropCount++; in validateAndApplyROI()
646 mCurrentFrame.drop[i] = true; in validateAndApplyROI()
647 mCurrentFrame.dropCount++; in validateAndApplyROI()
652 memset(&mCurrentFrame.drop, 0, sizeof(mCurrentFrame.drop)); in validateAndApplyROI()
653 mCurrentFrame.dropCount = 0; in validateAndApplyROI()
852 if(not mCurrentFrame.drop[i] and in fullMDPComp()
868 mCurrentFrame.fbCount = 0; in fullMDPComp()
869 memcpy(&mCurrentFrame.isFBComposed, &mCurrentFrame.drop, in fullMDPComp()
870 sizeof(mCurrentFrame.isFBComposed)); in fullMDPComp()
871 mCurrentFrame.mdpCount = mCurrentFrame.layerCount - mCurrentFrame.fbCount - in fullMDPComp()
872 mCurrentFrame.dropCount; in fullMDPComp()
908 isYuvPresent(ctx, mDpy) || mCurrentFrame.dropCount || in fullMDPCompWithPTOR()
1079 mCurrentFrame.mdpCount = numAppLayers; in fullMDPCompWithPTOR()
1080 mCurrentFrame.fbCount = 0; in fullMDPCompWithPTOR()
1081 mCurrentFrame.fbZ = -1; in fullMDPCompWithPTOR()
1085 mCurrentFrame.isFBComposed[j] = false; in fullMDPCompWithPTOR()
1087 mCurrentFrame.mdpCount--; in fullMDPCompWithPTOR()
1088 mCurrentFrame.drop[j] = true; in fullMDPCompWithPTOR()
1157 mCurrentFrame.reset(numAppLayers); in cacheBasedComp()
1158 updateLayerCache(ctx, list, mCurrentFrame); in cacheBasedComp()
1162 if(!mCurrentFrame.isFBComposed[i]) { in cacheBasedComp()
1173 updateYUV(ctx, list, false /*secure only*/, mCurrentFrame); in cacheBasedComp()
1183 int mdpCount = mCurrentFrame.mdpCount; in cacheBasedComp()
1218 const int numNonDroppedLayers = numAppLayers - mCurrentFrame.dropCount; in loadBasedComp()
1229 if(mCurrentFrame.drop[i]) { in loadBasedComp()
1244 mCurrentFrame.dropCount); in loadBasedComp()
1260 mCurrentFrame.reset(numAppLayers); in loadBasedComp()
1267 if(mCurrentFrame.drop[i]) { in loadBasedComp()
1270 mCurrentFrame.isFBComposed[i] = false; in loadBasedComp()
1274 mCurrentFrame.fbZ = mdpBatchSize; in loadBasedComp()
1275 mCurrentFrame.fbCount = fbBatchSize; in loadBasedComp()
1276 mCurrentFrame.mdpCount = mdpBatchSize; in loadBasedComp()
1280 mCurrentFrame.dropCount); in loadBasedComp()
1331 mCurrentFrame.reset(numAppLayers); in videoOnlyComp()
1332 mCurrentFrame.fbCount -= mCurrentFrame.dropCount; in videoOnlyComp()
1333 updateYUV(ctx, list, secureOnly, mCurrentFrame); in videoOnlyComp()
1334 int mdpCount = mCurrentFrame.mdpCount; in videoOnlyComp()
1348 if(mCurrentFrame.fbCount) in videoOnlyComp()
1349 mCurrentFrame.fbZ = mCurrentFrame.mdpCount; in videoOnlyComp()
1396 mCurrentFrame.reset(numAppLayers); in mdpOnlyLayersComp()
1397 mCurrentFrame.fbCount -= mCurrentFrame.dropCount; in mdpOnlyLayersComp()
1399 updateYUV(ctx, list, secureOnly, mCurrentFrame); in mdpOnlyLayersComp()
1403 if(mCurrentFrame.mdpCount == 0) { in mdpOnlyLayersComp()
1491 if(mCurrentFrame.isFBComposed[i] && !mCurrentFrame.drop[i]) { in canPushBatchToTop()
1506 if(!mCurrentFrame.isFBComposed[i]) { in intersectingUpdatingLayers()
1522 while (i < mCurrentFrame.layerCount) { in getBatch()
1530 while(i < mCurrentFrame.layerCount) { in getBatch()
1531 if(!mCurrentFrame.isFBComposed[i]) { in getBatch()
1540 if(mCurrentFrame.drop[i]) { in getBatch()
1610 if(mCurrentFrame.fbCount == 0) { in markLayersForCaching()
1615 if(mCurrentFrame.mdpCount == 0) { in markLayersForCaching()
1622 for(int i = 0; i < mCurrentFrame.layerCount; i++) { in markLayersForCaching()
1625 mCurrentFrame.isFBComposed[i]){ in markLayersForCaching()
1626 if(!mCurrentFrame.drop[i]){ in markLayersForCaching()
1632 mCurrentFrame.isFBComposed[i] = false; in markLayersForCaching()
1638 mCurrentFrame.fbZ = fbZ; in markLayersForCaching()
1639 mCurrentFrame.fbCount = maxBatchCount; in markLayersForCaching()
1640 mCurrentFrame.mdpCount = mCurrentFrame.layerCount - in markLayersForCaching()
1641 mCurrentFrame.fbCount - mCurrentFrame.dropCount; in markLayersForCaching()
1644 mCurrentFrame.fbCount); in markLayersForCaching()
1679 mCurrentFrame.dropCount++; in dropNonAIVLayers()
1680 mCurrentFrame.drop[i] = true; in dropNonAIVLayers()
1683 mCurrentFrame.fbCount -= mCurrentFrame.dropCount; in dropNonAIVLayers()
1684 mCurrentFrame.mdpCount = mCurrentFrame.layerCount - in dropNonAIVLayers()
1685 mCurrentFrame.fbCount - mCurrentFrame.dropCount; in dropNonAIVLayers()
1687 __FUNCTION__, mCurrentFrame.fbCount, mCurrentFrame.mdpCount, in dropNonAIVLayers()
1688 mCurrentFrame.dropCount); in dropNonAIVLayers()
1698 if(mCurrentFrame.drop[nYuvIndex]) { in updateYUV()
1730 if(!mCurrentFrame.isFBComposed[nSecureRGBIndex]) { in updateSecureRGB()
1731 mCurrentFrame.isFBComposed[nSecureRGBIndex] = true; in updateSecureRGB()
1732 mCurrentFrame.fbCount++; in updateSecureRGB()
1735 if(mCurrentFrame.isFBComposed[nSecureRGBIndex]) { in updateSecureRGB()
1736 mCurrentFrame.isFBComposed[nSecureRGBIndex] = false; in updateSecureRGB()
1737 mCurrentFrame.fbCount--; in updateSecureRGB()
1742 mCurrentFrame.mdpCount = mCurrentFrame.layerCount - in updateSecureRGB()
1743 mCurrentFrame.fbCount - mCurrentFrame.dropCount; in updateSecureRGB()
1745 mCurrentFrame.fbCount); in updateSecureRGB()
1753 for(int i = 0; i < mCurrentFrame.layerCount; i++ ) { in getUpdatingFBRect()
1754 if(mCurrentFrame.isFBComposed[i] && !mCurrentFrame.drop[i]) { in getUpdatingFBRect()
1780 if(mCurrentFrame.fbZ >= 0) { in postHeuristicsHandling()
1782 if(!ctx->mFBUpdate[mDpy]->prepare(ctx, list, fbRect, mCurrentFrame.fbZ)) in postHeuristicsHandling()
1790 mCurrentFrame.map(); in postHeuristicsHandling()
1797 for (int index = 0, mdpNextZOrder = 0; index < mCurrentFrame.layerCount; in postHeuristicsHandling()
1799 if(!mCurrentFrame.isFBComposed[index]) { in postHeuristicsHandling()
1800 int mdpIndex = mCurrentFrame.layerToMDP[index]; in postHeuristicsHandling()
1804 if(mdpNextZOrder == mCurrentFrame.fbZ) { in postHeuristicsHandling()
1807 MdpPipeInfo* cur_pipe = mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in postHeuristicsHandling()
1813 mCurrentFrame.mdpToLayer[mdpIndex]) in postHeuristicsHandling()
1824 if(configure(ctx, layer, mCurrentFrame.mdpToLayer[mdpIndex]) != 0 ){ in postHeuristicsHandling()
1844 const bool fbUsed = mCurrentFrame.fbCount; in resourceCheck()
1845 if(mCurrentFrame.mdpCount > sMaxPipesPerMixer - fbUsed) { in resourceCheck()
1852 for (int index = 0; index < mCurrentFrame.layerCount; index++) { in resourceCheck()
1853 if(!mCurrentFrame.isFBComposed[index]) { in resourceCheck()
1876 for(int i = 0; i < mCurrentFrame.layerCount; ++i) { in hwLimitationsCheck()
1877 if(!mCurrentFrame.isFBComposed[i] && in hwLimitationsCheck()
1890 for(int i = 0; i < mCurrentFrame.layerCount-1; ++i) { in hwLimitationsCheck()
1892 if(!mCurrentFrame.isFBComposed[i] && in hwLimitationsCheck()
1896 for(int j = i+1; j < mCurrentFrame.layerCount; ++j) { in hwLimitationsCheck()
1898 if(!mCurrentFrame.isFBComposed[j] && in hwLimitationsCheck()
1917 frame.reset(mCurrentFrame.layerCount); in setDynRefreshRate()
1966 mCurrentFrame.reset(numLayers); in prepare()
1967 memset(&mCurrentFrame.drop, 0, sizeof(mCurrentFrame.drop)); in prepare()
1968 mCurrentFrame.dropCount = 0; in prepare()
1985 mCurrentFrame.needsRedraw = false; in prepare()
1987 mCurrentFrame.needsRedraw = true; in prepare()
1991 mCachedFrame.updateCounts(mCurrentFrame); in prepare()
2006 mCurrentFrame.needsRedraw = false; in prepare()
2008 mCachedFrame.updateCounts(mCurrentFrame); in prepare()
2031 memset(&mCurrentFrame.drop, 0, sizeof(mCurrentFrame.drop)); in prepare()
2032 mCurrentFrame.dropCount = 0; in prepare()
2042 ctx->copybitDrop[i] = mCurrentFrame.drop[i]; in prepare()
2062 mCachedFrame.updateCounts(mCurrentFrame); in prepare()
2069 int mdpIndex = mCurrentFrame.layerToMDP[index]; in allocSplitVGPipesfor4k2k()
2070 PipeLayerPair& info = mCurrentFrame.mdpToLayer[mdpIndex]; in allocSplitVGPipesfor4k2k()
2119 if(mCurrentFrame.fbZ >= 0) { in adjustForSourceSplit()
2120 for (int index = 0, mdpNextZOrder = 0; index < mCurrentFrame.layerCount; in adjustForSourceSplit()
2122 if(!mCurrentFrame.isFBComposed[index]) { in adjustForSourceSplit()
2123 if(mdpNextZOrder == mCurrentFrame.fbZ) { in adjustForSourceSplit()
2130 if(mdpNextZOrder <= mCurrentFrame.fbZ) in adjustForSourceSplit()
2131 mCurrentFrame.fbZ += 1; in adjustForSourceSplit()
2135 mCurrentFrame.mdpCount++; in adjustForSourceSplit()
2162 for(int index = 0; index < mCurrentFrame.layerCount; index++) { in allocLayerPipes()
2164 if(mCurrentFrame.isFBComposed[index]) continue; in allocLayerPipes()
2174 int mdpIndex = mCurrentFrame.layerToMDP[index]; in allocLayerPipes()
2175 PipeLayerPair& info = mCurrentFrame.mdpToLayer[mdpIndex]; in allocLayerPipes()
2224 for(int i = 0; i < numHwLayers && mCurrentFrame.mdpCount; i++ ) in draw()
2226 if(mCurrentFrame.isFBComposed[i]) continue; in draw()
2240 int mdpIndex = mCurrentFrame.layerToMDP[i]; in draw()
2245 *(MdpYUVPipeInfo*)mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in draw()
2246 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; in draw()
2280 *(MdpPipeInfoNonSplit*)mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in draw()
2304 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; in draw()
2331 if(mCurrentFrame.fbZ >= 0) { in adjustForSourceSplit()
2332 for (int index = 0, mdpNextZOrder = 0; index < mCurrentFrame.layerCount; in adjustForSourceSplit()
2334 if(!mCurrentFrame.isFBComposed[index]) { in adjustForSourceSplit()
2335 if(mdpNextZOrder == mCurrentFrame.fbZ) { in adjustForSourceSplit()
2344 mCurrentFrame.mdpCount += 1; in adjustForSourceSplit()
2346 if(mdpNextZOrder <= mCurrentFrame.fbZ) in adjustForSourceSplit()
2347 mCurrentFrame.fbZ += 1; in adjustForSourceSplit()
2394 for(int index = 0 ; index < mCurrentFrame.layerCount; index++) { in allocLayerPipes()
2396 if(mCurrentFrame.isFBComposed[index]) continue; in allocLayerPipes()
2409 int mdpIndex = mCurrentFrame.layerToMDP[index]; in allocLayerPipes()
2410 PipeLayerPair& info = mCurrentFrame.mdpToLayer[mdpIndex]; in allocLayerPipes()
2474 for(int i = 0; i < numHwLayers && mCurrentFrame.mdpCount; i++ ) in draw()
2476 if(mCurrentFrame.isFBComposed[i]) continue; in draw()
2489 int mdpIndex = mCurrentFrame.layerToMDP[i]; in draw()
2494 *(MdpYUVPipeInfo*)mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in draw()
2495 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; in draw()
2529 *(MdpPipeInfoSplit*)mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in draw()
2530 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; in draw()