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