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