• Home
  • Raw
  • Download

Lines Matching refs:mCurrentFrame

75     if(mCurrentFrame.layerCount > MAX_NUM_APP_LAYERS)  in dump()
82 "fbCount:%2d \n", mCurrentFrame.layerCount, in dump()
83 mCurrentFrame.mdpCount, mCurrentFrame.fbCount); in dump()
85 (mCurrentFrame.needsRedraw? "YES" : "NO"), in dump()
86 mCurrentFrame.mdpCount, sMaxPipesPerMixer); in dump()
105 for(int index = 0; index < mCurrentFrame.layerCount; index++ ) in dump()
108 (mCurrentFrame.isFBComposed[index] ? "YES" : "NO"), in dump()
109 mCurrentFrame.layerToMDP[index], in dump()
110 (mCurrentFrame.isFBComposed[index] ? in dump()
111 (mCurrentFrame.drop[index] ? "DROP" : in dump()
112 (mCurrentFrame.needsRedraw ? "GLES" : "CACHE")) : "MDP"), in dump()
113 (mCurrentFrame.isFBComposed[index] ? mCurrentFrame.fbZ : in dump()
114 mCurrentFrame.mdpToLayer[mCurrentFrame.layerToMDP[index]].pipeInfo->zOrder)); in dump()
218 mCurrentFrame.reset(numLayers); in reset()
289 if(!mCurrentFrame.isFBComposed[index]) { in setMDPCompLayerFlags()
296 if(!mCurrentFrame.needsRedraw || mCurrentFrame.drop[index]) { in setMDPCompLayerFlags()
305 mCurrentFrame.needsRedraw = false; in setRedraw()
306 if(!mCachedFrame.isSameFrame(mCurrentFrame, list) || in setRedraw()
309 mCurrentFrame.needsRedraw = true; in setRedraw()
565 mCurrentFrame.drop[i] = true; in validateAndApplyROI()
566 mCurrentFrame.dropCount++; in validateAndApplyROI()
575 mCurrentFrame.drop[i] = true; in validateAndApplyROI()
576 mCurrentFrame.dropCount++; in validateAndApplyROI()
582 memset(&mCurrentFrame.drop, 0, sizeof(mCurrentFrame.drop)); in validateAndApplyROI()
583 mCurrentFrame.dropCount = 0; in validateAndApplyROI()
670 mCurrentFrame.drop[i] = true; in validateAndApplyROI()
671 mCurrentFrame.dropCount++; in validateAndApplyROI()
683 mCurrentFrame.drop[i] = true; in validateAndApplyROI()
684 mCurrentFrame.dropCount++; in validateAndApplyROI()
689 memset(&mCurrentFrame.drop, 0, sizeof(mCurrentFrame.drop)); in validateAndApplyROI()
690 mCurrentFrame.dropCount = 0; in validateAndApplyROI()
872 if(not mCurrentFrame.drop[i] and in fullMDPComp()
879 mCurrentFrame.fbCount = 0; in fullMDPComp()
880 memcpy(&mCurrentFrame.isFBComposed, &mCurrentFrame.drop, in fullMDPComp()
881 sizeof(mCurrentFrame.isFBComposed)); in fullMDPComp()
882 mCurrentFrame.mdpCount = mCurrentFrame.layerCount - mCurrentFrame.fbCount - in fullMDPComp()
883 mCurrentFrame.dropCount; in fullMDPComp()
919 isYuvPresent(ctx, mDpy) || mCurrentFrame.dropCount || in fullMDPCompWithPTOR()
1081 mCurrentFrame.mdpCount = numAppLayers; in fullMDPCompWithPTOR()
1082 mCurrentFrame.fbCount = 0; in fullMDPCompWithPTOR()
1083 mCurrentFrame.fbZ = -1; in fullMDPCompWithPTOR()
1087 mCurrentFrame.isFBComposed[j] = false; in fullMDPCompWithPTOR()
1089 mCurrentFrame.mdpCount--; in fullMDPCompWithPTOR()
1090 mCurrentFrame.drop[j] = true; in fullMDPCompWithPTOR()
1158 mCurrentFrame.reset(numAppLayers); in cacheBasedComp()
1159 updateLayerCache(ctx, list, mCurrentFrame); in cacheBasedComp()
1163 if(!mCurrentFrame.isFBComposed[i]) { in cacheBasedComp()
1174 updateYUV(ctx, list, false /*secure only*/, mCurrentFrame); in cacheBasedComp()
1184 int mdpCount = mCurrentFrame.mdpCount; in cacheBasedComp()
1211 const int numNonDroppedLayers = numAppLayers - mCurrentFrame.dropCount; in loadBasedComp()
1222 if(mCurrentFrame.drop[i]) { in loadBasedComp()
1237 mCurrentFrame.dropCount); in loadBasedComp()
1253 mCurrentFrame.reset(numAppLayers); in loadBasedComp()
1260 if(mCurrentFrame.drop[i]) { in loadBasedComp()
1263 mCurrentFrame.isFBComposed[i] = false; in loadBasedComp()
1267 mCurrentFrame.fbZ = mdpBatchSize; in loadBasedComp()
1268 mCurrentFrame.fbCount = fbBatchSize; in loadBasedComp()
1269 mCurrentFrame.mdpCount = mdpBatchSize; in loadBasedComp()
1273 mCurrentFrame.dropCount); in loadBasedComp()
1344 mCurrentFrame.reset(numAppLayers); in videoOnlyComp()
1345 mCurrentFrame.fbCount -= mCurrentFrame.dropCount; in videoOnlyComp()
1346 updateYUV(ctx, list, secureOnly, mCurrentFrame); in videoOnlyComp()
1347 int mdpCount = mCurrentFrame.mdpCount; in videoOnlyComp()
1354 if(mCurrentFrame.fbCount) in videoOnlyComp()
1355 mCurrentFrame.fbZ = mCurrentFrame.mdpCount; in videoOnlyComp()
1421 mCurrentFrame.reset(numAppLayers); in mdpOnlyLayersComp()
1422 mCurrentFrame.fbCount -= mCurrentFrame.dropCount; in mdpOnlyLayersComp()
1424 updateYUV(ctx, list, secureOnly, mCurrentFrame); in mdpOnlyLayersComp()
1428 if(mCurrentFrame.mdpCount == 0) { in mdpOnlyLayersComp()
1516 if(mCurrentFrame.isFBComposed[i] && !mCurrentFrame.drop[i]) { in canPushBatchToTop()
1531 if(!mCurrentFrame.isFBComposed[i]) { in intersectingUpdatingLayers()
1547 while (i < mCurrentFrame.layerCount) { in getBatch()
1555 while(i < mCurrentFrame.layerCount) { in getBatch()
1556 if(!mCurrentFrame.isFBComposed[i]) { in getBatch()
1565 if(mCurrentFrame.drop[i]) { in getBatch()
1635 if(mCurrentFrame.fbCount == 0) { in markLayersForCaching()
1640 if(mCurrentFrame.mdpCount == 0) { in markLayersForCaching()
1647 for(int i = 0; i < mCurrentFrame.layerCount; i++) { in markLayersForCaching()
1650 mCurrentFrame.isFBComposed[i]){ in markLayersForCaching()
1651 if(!mCurrentFrame.drop[i]){ in markLayersForCaching()
1657 mCurrentFrame.isFBComposed[i] = false; in markLayersForCaching()
1663 mCurrentFrame.fbZ = fbZ; in markLayersForCaching()
1664 mCurrentFrame.fbCount = maxBatchCount; in markLayersForCaching()
1665 mCurrentFrame.mdpCount = mCurrentFrame.layerCount - in markLayersForCaching()
1666 mCurrentFrame.fbCount - mCurrentFrame.dropCount; in markLayersForCaching()
1669 mCurrentFrame.fbCount); in markLayersForCaching()
1704 mCurrentFrame.dropCount++; in dropNonAIVLayers()
1705 mCurrentFrame.drop[i] = true; in dropNonAIVLayers()
1708 mCurrentFrame.fbCount -= mCurrentFrame.dropCount; in dropNonAIVLayers()
1709 mCurrentFrame.mdpCount = mCurrentFrame.layerCount - in dropNonAIVLayers()
1710 mCurrentFrame.fbCount - mCurrentFrame.dropCount; in dropNonAIVLayers()
1712 __FUNCTION__, mCurrentFrame.fbCount, mCurrentFrame.mdpCount, in dropNonAIVLayers()
1713 mCurrentFrame.dropCount); in dropNonAIVLayers()
1723 if(mCurrentFrame.drop[nYuvIndex]) { in updateYUV()
1755 if(!mCurrentFrame.isFBComposed[nSecureRGBIndex]) { in updateSecureRGB()
1756 mCurrentFrame.isFBComposed[nSecureRGBIndex] = true; in updateSecureRGB()
1757 mCurrentFrame.fbCount++; in updateSecureRGB()
1760 if(mCurrentFrame.isFBComposed[nSecureRGBIndex]) { in updateSecureRGB()
1761 mCurrentFrame.isFBComposed[nSecureRGBIndex] = false; in updateSecureRGB()
1762 mCurrentFrame.fbCount--; in updateSecureRGB()
1767 mCurrentFrame.mdpCount = mCurrentFrame.layerCount - in updateSecureRGB()
1768 mCurrentFrame.fbCount - mCurrentFrame.dropCount; in updateSecureRGB()
1770 mCurrentFrame.fbCount); in updateSecureRGB()
1778 for(int i = 0; i < mCurrentFrame.layerCount; i++ ) { in getUpdatingFBRect()
1779 if(mCurrentFrame.isFBComposed[i] && !mCurrentFrame.drop[i]) { in getUpdatingFBRect()
1805 if(mCurrentFrame.fbZ >= 0) { in postHeuristicsHandling()
1807 if(!ctx->mFBUpdate[mDpy]->prepare(ctx, list, fbRect, mCurrentFrame.fbZ)) in postHeuristicsHandling()
1815 mCurrentFrame.map(); in postHeuristicsHandling()
1822 for (int index = 0, mdpNextZOrder = 0; index < mCurrentFrame.layerCount; in postHeuristicsHandling()
1824 if(!mCurrentFrame.isFBComposed[index]) { in postHeuristicsHandling()
1825 int mdpIndex = mCurrentFrame.layerToMDP[index]; in postHeuristicsHandling()
1829 if(mdpNextZOrder == mCurrentFrame.fbZ) { in postHeuristicsHandling()
1832 MdpPipeInfo* cur_pipe = mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in postHeuristicsHandling()
1838 mCurrentFrame.mdpToLayer[mdpIndex]) in postHeuristicsHandling()
1849 if(configure(ctx, layer, mCurrentFrame.mdpToLayer[mdpIndex]) != 0 ){ in postHeuristicsHandling()
1869 const bool fbUsed = mCurrentFrame.fbCount; in resourceCheck()
1870 if(mCurrentFrame.mdpCount > sMaxPipesPerMixer - fbUsed) { in resourceCheck()
1877 (mCurrentFrame.mdpCount > sMaxSecLayers)) { in resourceCheck()
1885 for (int index = 0; index < mCurrentFrame.layerCount; index++) { in resourceCheck()
1886 if(!mCurrentFrame.isFBComposed[index]) { in resourceCheck()
1909 for(int i = 0; i < mCurrentFrame.layerCount; ++i) { in hwLimitationsCheck()
1910 if(!mCurrentFrame.isFBComposed[i] && in hwLimitationsCheck()
1923 for(int i = 0; i < mCurrentFrame.layerCount-1; ++i) { in hwLimitationsCheck()
1925 if(!mCurrentFrame.isFBComposed[i] && in hwLimitationsCheck()
1929 for(int j = i+1; j < mCurrentFrame.layerCount; ++j) { in hwLimitationsCheck()
1931 if(!mCurrentFrame.isFBComposed[j] && in hwLimitationsCheck()
1952 frame.reset(mCurrentFrame.layerCount); in onlyVideosUpdating()
2012 mCurrentFrame.reset(numLayers); in prepare()
2013 memset(&mCurrentFrame.drop, 0, sizeof(mCurrentFrame.drop)); in prepare()
2014 mCurrentFrame.dropCount = 0; in prepare()
2031 mCurrentFrame.needsRedraw = false; in prepare()
2033 mCurrentFrame.needsRedraw = true; in prepare()
2037 mCachedFrame.updateCounts(mCurrentFrame); in prepare()
2066 memset(&mCurrentFrame.drop, 0, sizeof(mCurrentFrame.drop)); in prepare()
2067 mCurrentFrame.dropCount = 0; in prepare()
2077 ctx->copybitDrop[i] = mCurrentFrame.drop[i]; in prepare()
2098 mCachedFrame.updateCounts(mCurrentFrame); in prepare()
2105 int mdpIndex = mCurrentFrame.layerToMDP[index]; in allocSplitVGPipesfor4k2k()
2106 PipeLayerPair& info = mCurrentFrame.mdpToLayer[mdpIndex]; in allocSplitVGPipesfor4k2k()
2155 if(mCurrentFrame.fbZ >= 0) { in adjustForSourceSplit()
2156 for (int index = 0, mdpNextZOrder = 0; index < mCurrentFrame.layerCount; in adjustForSourceSplit()
2158 if(!mCurrentFrame.isFBComposed[index]) { in adjustForSourceSplit()
2159 if(mdpNextZOrder == mCurrentFrame.fbZ) { in adjustForSourceSplit()
2166 if(mdpNextZOrder <= mCurrentFrame.fbZ) in adjustForSourceSplit()
2167 mCurrentFrame.fbZ += 1; in adjustForSourceSplit()
2171 mCurrentFrame.mdpCount++; in adjustForSourceSplit()
2198 for(int index = 0; index < mCurrentFrame.layerCount; index++) { in allocLayerPipes()
2200 if(mCurrentFrame.isFBComposed[index]) continue; in allocLayerPipes()
2210 int mdpIndex = mCurrentFrame.layerToMDP[index]; in allocLayerPipes()
2211 PipeLayerPair& info = mCurrentFrame.mdpToLayer[mdpIndex]; in allocLayerPipes()
2257 if(sIdleInvalidator && !sIdleFallBack && mCurrentFrame.mdpCount) { in draw()
2265 for(int i = 0; i < numHwLayers && mCurrentFrame.mdpCount; i++ ) in draw()
2267 if(mCurrentFrame.isFBComposed[i]) continue; in draw()
2281 int mdpIndex = mCurrentFrame.layerToMDP[i]; in draw()
2286 *(MdpYUVPipeInfo*)mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in draw()
2287 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; in draw()
2321 *(MdpPipeInfoNonSplit*)mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in draw()
2345 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; in draw()
2372 if(mCurrentFrame.fbZ >= 0) { in adjustForSourceSplit()
2373 for (int index = 0, mdpNextZOrder = 0; index < mCurrentFrame.layerCount; in adjustForSourceSplit()
2375 if(!mCurrentFrame.isFBComposed[index]) { in adjustForSourceSplit()
2376 if(mdpNextZOrder == mCurrentFrame.fbZ) { in adjustForSourceSplit()
2385 mCurrentFrame.mdpCount += 1; in adjustForSourceSplit()
2387 if(mdpNextZOrder <= mCurrentFrame.fbZ) in adjustForSourceSplit()
2388 mCurrentFrame.fbZ += 1; in adjustForSourceSplit()
2435 for(int index = 0 ; index < mCurrentFrame.layerCount; index++) { in allocLayerPipes()
2437 if(mCurrentFrame.isFBComposed[index]) continue; in allocLayerPipes()
2450 int mdpIndex = mCurrentFrame.layerToMDP[index]; in allocLayerPipes()
2451 PipeLayerPair& info = mCurrentFrame.mdpToLayer[mdpIndex]; in allocLayerPipes()
2512 if(sIdleInvalidator && !sIdleFallBack && mCurrentFrame.mdpCount) { in draw()
2520 for(int i = 0; i < numHwLayers && mCurrentFrame.mdpCount; i++ ) in draw()
2522 if(mCurrentFrame.isFBComposed[i]) continue; in draw()
2535 int mdpIndex = mCurrentFrame.layerToMDP[i]; in draw()
2540 *(MdpYUVPipeInfo*)mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in draw()
2541 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; in draw()
2575 *(MdpPipeInfoSplit*)mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo; in draw()
2576 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; in draw()
2641 mCurrentFrame.drop[i] = true; in validateAndApplyROI()
2642 mCurrentFrame.dropCount++; in validateAndApplyROI()
2651 mCurrentFrame.drop[i] = true; in validateAndApplyROI()
2652 mCurrentFrame.dropCount++; in validateAndApplyROI()
2658 memset(&mCurrentFrame.drop, 0, sizeof(mCurrentFrame.drop)); in validateAndApplyROI()
2659 mCurrentFrame.dropCount = 0; in validateAndApplyROI()