Merge "display: Add BufferMirrorMode support for External"

This commit is contained in:
Linux Build Service Account
2013-08-21 12:25:21 -07:00
committed by Gerrit - the friendly Code Review server
9 changed files with 95 additions and 16 deletions

View File

@@ -193,6 +193,9 @@ void calcExtDisplayPosition(hwc_context_t *ctx,
int dpy,
hwc_rect_t& sourceCrop,
hwc_rect_t& displayFrame);
// Returns the orientation that needs to be set on external for
// BufferMirrirMode(Sidesync)
int getMirrorModeOrientation(hwc_context_t *ctx);
//Close acquireFenceFds of all layers of incoming list
void closeAcquireFds(hwc_display_contents_1_t* list);
@@ -371,6 +374,11 @@ struct hwc_context_t {
int mExtOrientation;
//Flags the transition of a video session
bool mVideoTransFlag;
//Used for SideSync feature
//which overrides the mExtOrientation
bool mBufferMirrorMode;
qhwc::LayerRotMap *mLayerRotMap[HWC_NUM_DISPLAY_TYPES];
};