overlay: Add FB flag for UI mirroring

When the source for rotator is the
framebuffer, the FB flag needs to be set
to identify the type of memory to be used.

Change-Id: I4fc6112832ad42eb7092be5243653b9baf8a241a
This commit is contained in:
Naseer Ahmed 2011-11-11 13:57:26 -08:00
parent 0856a1cf2f
commit 724b651320

View File

@ -1489,6 +1489,9 @@ bool OverlayDataChannel::mapRotatorMemory(int num_buffers, bool uiChannel, int r
}
}
}
// Set this flag if source memory is fb
if(uiChannel)
mRotData.src.flags |= MDP_MEMORY_ID_TYPE_FB;
mOvDataRot.data.memory_id = mPmemFD;
mRotData.dst.memory_id = mPmemFD;