Merge "display: Add BufferMirrorMode support for External"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
e81a2b11b4
@@ -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];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user