Lines Matching refs:mCurrentFrame
63 if(mCurrentFrame.layerCount > MAX_NUM_APP_LAYERS)
70 "fbCount:%2d \n", mCurrentFrame.layerCount,
71 mCurrentFrame.mdpCount, mCurrentFrame.fbCount);
73 (mCurrentFrame.needsRedraw? "YES" : "NO"),
74 mCurrentFrame.mdpCount, sMaxPipesPerMixer);
93 for(int index = 0; index < mCurrentFrame.layerCount; index++ )
96 (mCurrentFrame.isFBComposed[index] ? "YES" : "NO"),
97 mCurrentFrame.layerToMDP[index],
98 (mCurrentFrame.isFBComposed[index] ?
99 (mCurrentFrame.drop[index] ? "DROP" :
100 (mCurrentFrame.needsRedraw ? "GLES" : "CACHE")) : "MDP"),
101 (mCurrentFrame.isFBComposed[index] ? mCurrentFrame.fbZ :
102 mCurrentFrame.mdpToLayer[mCurrentFrame.layerToMDP[index]].pipeInfo->zOrder));
173 mCurrentFrame.reset(numLayers);
206 if(!mCurrentFrame.isFBComposed[index]) {
213 if(!mCurrentFrame.needsRedraw || mCurrentFrame.drop[index]) {
222 mCurrentFrame.needsRedraw = false;
223 if(!mCachedFrame.isSameFrame(mCurrentFrame, list) ||
226 mCurrentFrame.needsRedraw = true;
463 mCurrentFrame.drop[i] = true;
464 mCurrentFrame.dropCount++;
473 mCurrentFrame.drop[i] = true;
474 mCurrentFrame.dropCount++;
480 memset(&mCurrentFrame.drop, 0, sizeof(mCurrentFrame.drop));
481 mCurrentFrame.dropCount = 0;
562 mCurrentFrame.drop[i] = true;
563 mCurrentFrame.dropCount++;
575 mCurrentFrame.drop[i] = true;
576 mCurrentFrame.dropCount++;
581 memset(&mCurrentFrame.drop, 0, sizeof(mCurrentFrame.drop));
582 mCurrentFrame.dropCount = 0;
756 if(not mCurrentFrame.drop[i] and
772 mCurrentFrame.fbCount = 0;
773 memcpy(&mCurrentFrame.isFBComposed, &mCurrentFrame.drop,
774 sizeof(mCurrentFrame.isFBComposed));
775 mCurrentFrame.mdpCount = mCurrentFrame.layerCount - mCurrentFrame.fbCount -
776 mCurrentFrame.dropCount;
817 mCurrentFrame.reset(numAppLayers);
822 if(!mCurrentFrame.isFBComposed[i]) {
841 int mdpCount = mCurrentFrame.mdpCount;
876 const int numNonDroppedLayers = numAppLayers - mCurrentFrame.dropCount;
887 if(mCurrentFrame.drop[i]) {
902 mCurrentFrame.dropCount);
918 mCurrentFrame.reset(numAppLayers);
925 if(mCurrentFrame.drop[i]) {
928 mCurrentFrame.isFBComposed[i] = false;
932 mCurrentFrame.fbZ = mdpBatchSize;
933 mCurrentFrame.fbCount = fbBatchSize;
934 mCurrentFrame.mdpCount = mdpBatchSize;
938 mCurrentFrame.dropCount);
987 mCurrentFrame.reset(numAppLayers);
988 mCurrentFrame.fbCount -= mCurrentFrame.dropCount;
990 int mdpCount = mCurrentFrame.mdpCount;
1004 if(mCurrentFrame.fbCount)
1005 mCurrentFrame.fbZ = mCurrentFrame.mdpCount;
1061 if(mCurrentFrame.isFBComposed[i] && !mCurrentFrame.drop[i]) {
1076 if(!mCurrentFrame.isFBComposed[i]) {
1092 while (i < mCurrentFrame.layerCount) {
1100 while(i < mCurrentFrame.layerCount) {
1101 if(!mCurrentFrame.isFBComposed[i]) {
1110 if(mCurrentFrame.drop[i]) {
1180 if(mCurrentFrame.fbCount == 0) {
1185 if(mCurrentFrame.mdpCount == 0) {
1192 for(int i = 0; i < mCurrentFrame.layerCount; i++) {
1195 mCurrentFrame.isFBComposed[i]){
1196 if(!mCurrentFrame.drop[i]){
1202 mCurrentFrame.isFBComposed[i] = false;
1208 mCurrentFrame.fbZ = fbZ;
1209 mCurrentFrame.fbCount = maxBatchCount;
1210 mCurrentFrame.mdpCount = mCurrentFrame.layerCount -
1211 mCurrentFrame.fbCount - mCurrentFrame.dropCount;
1214 mCurrentFrame.fbCount);
1227 if(!mCurrentFrame.drop[i])
1229 mCurrentFrame.isFBComposed[i] = true;
1231 mCurrentFrame.isFBComposed[i] = false;
1235 mCurrentFrame.fbCount = fbCount;
1236 mCurrentFrame.mdpCount = mCurrentFrame.layerCount - mCurrentFrame.fbCount
1237 - mCurrentFrame.dropCount;
1240 ,__FUNCTION__, mCurrentFrame.mdpCount, mCurrentFrame.fbCount,
1241 mCurrentFrame.dropCount);
1252 if(!mCurrentFrame.isFBComposed[nYuvIndex]) {
1253 mCurrentFrame.isFBComposed[nYuvIndex] = true;
1254 mCurrentFrame.fbCount++;
1257 if(mCurrentFrame.isFBComposed[nYuvIndex]) {
1260 mCurrentFrame.isFBComposed[nYuvIndex] = false;
1261 mCurrentFrame.fbCount--;
1267 mCurrentFrame.mdpCount = mCurrentFrame.layerCount -
1268 mCurrentFrame.fbCount - mCurrentFrame.dropCount;
1270 mCurrentFrame.fbCount);
1278 for(int i = 0; i < mCurrentFrame.layerCount; i++ ) {
1279 if(mCurrentFrame.isFBComposed[i] && !mCurrentFrame.drop[i]) {
1305 if(mCurrentFrame.fbZ >= 0) {
1307 if(!ctx->mFBUpdate[mDpy]->prepare(ctx, list, fbRect, mCurrentFrame.fbZ))
1315 mCurrentFrame.map();
1322 for (int index = 0, mdpNextZOrder = 0; index < mCurrentFrame.layerCount;
1324 if(!mCurrentFrame.isFBComposed[index]) {
1325 int mdpIndex = mCurrentFrame.layerToMDP[index];
1329 if(mdpNextZOrder == mCurrentFrame.fbZ) {
1332 MdpPipeInfo* cur_pipe = mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo;
1338 mCurrentFrame.mdpToLayer[mdpIndex])
1349 if(configure(ctx, layer, mCurrentFrame.mdpToLayer[mdpIndex]) != 0 ){
1368 const bool fbUsed = mCurrentFrame.fbCount;
1369 if(mCurrentFrame.mdpCount > sMaxPipesPerMixer - fbUsed) {
1382 mCurrentFrame.layerCount; ++i) {
1383 if(!mCurrentFrame.isFBComposed[i] &&
1396 for(int i = 0; i < mCurrentFrame.layerCount-1; ++i) {
1398 if(!mCurrentFrame.isFBComposed[i] &&
1402 for(int j = i+1; j < mCurrentFrame.layerCount; ++j) {
1404 if(!mCurrentFrame.isFBComposed[j] &&
1441 mCurrentFrame.reset(numLayers);
1442 memset(&mCurrentFrame.drop, 0, sizeof(mCurrentFrame.drop));
1443 mCurrentFrame.dropCount = 0;
1448 mCurrentFrame.needsRedraw = false;
1450 mCurrentFrame.needsRedraw = true;
1454 mCachedFrame.updateCounts(mCurrentFrame);
1470 memset(&mCurrentFrame.drop, 0, sizeof(mCurrentFrame.drop));
1471 mCurrentFrame.dropCount = 0;
1488 mCachedFrame.updateCounts(mCurrentFrame);
1495 int mdpIndex = mCurrentFrame.layerToMDP[index];
1496 PipeLayerPair& info = mCurrentFrame.mdpToLayer[mdpIndex];
1532 if(mCurrentFrame.fbZ >= 0) {
1533 for (int index = 0, mdpNextZOrder = 0; index < mCurrentFrame.layerCount;
1535 if(!mCurrentFrame.isFBComposed[index]) {
1536 if(mdpNextZOrder == mCurrentFrame.fbZ) {
1543 if(mdpNextZOrder <= mCurrentFrame.fbZ)
1544 mCurrentFrame.fbZ += 1;
1548 mCurrentFrame.mdpCount++;
1576 for(int index = 0; index < mCurrentFrame.layerCount; index++) {
1578 if(mCurrentFrame.isFBComposed[index]) continue;
1588 int mdpIndex = mCurrentFrame.layerToMDP[index];
1589 PipeLayerPair& info = mCurrentFrame.mdpToLayer[mdpIndex];
1645 if(idleInvalidator && !sIdleFallBack && mCurrentFrame.mdpCount) {
1653 for(int i = 0; i < numHwLayers && mCurrentFrame.mdpCount; i++ )
1655 if(mCurrentFrame.isFBComposed[i]) continue;
1669 int mdpIndex = mCurrentFrame.layerToMDP[i];
1674 *(MdpYUVPipeInfo*)mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo;
1675 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot;
1709 *(MdpPipeInfoNonSplit*)mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo;
1727 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot;
1754 if(mCurrentFrame.fbZ >= 0) {
1755 for (int index = 0, mdpNextZOrder = 0; index < mCurrentFrame.layerCount;
1757 if(!mCurrentFrame.isFBComposed[index]) {
1758 if(mdpNextZOrder == mCurrentFrame.fbZ) {
1767 mCurrentFrame.mdpCount += 1;
1769 if(mdpNextZOrder <= mCurrentFrame.fbZ)
1770 mCurrentFrame.fbZ += 1;
1817 for(int index = 0 ; index < mCurrentFrame.layerCount; index++) {
1819 if(mCurrentFrame.isFBComposed[index]) continue;
1832 int mdpIndex = mCurrentFrame.layerToMDP[index];
1833 PipeLayerPair& info = mCurrentFrame.mdpToLayer[mdpIndex];
1906 if(idleInvalidator && !sIdleFallBack && mCurrentFrame.mdpCount) {
1914 for(int i = 0; i < numHwLayers && mCurrentFrame.mdpCount; i++ )
1916 if(mCurrentFrame.isFBComposed[i]) continue;
1929 int mdpIndex = mCurrentFrame.layerToMDP[i];
1934 *(MdpYUVPipeInfo*)mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo;
1935 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot;
1969 *(MdpPipeInfoSplit*)mCurrentFrame.mdpToLayer[mdpIndex].pipeInfo;
1970 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot;