display: External display refactor
- cleans up external library
- add separate library for virtual display
- process virtual updates in its separate path
in hwc.
- Acquire blank mutex lock for one complete drawing
cycle
Change-Id: Ib984c578464a131ecdb27ee48960f58d68b7a5a7
diff --git a/libhwcomposer/hwc_utils.h b/libhwcomposer/hwc_utils.h
index c4fd345..9a7ef0d 100644
--- a/libhwcomposer/hwc_utils.h
+++ b/libhwcomposer/hwc_utils.h
@@ -50,6 +50,7 @@
//fwrd decl
class QueuedBufferStore;
class ExternalDisplay;
+class VirtualDisplay;
class IFBUpdate;
class IVideoOverlay;
class MDPComp;
@@ -79,6 +80,9 @@
// In pause state, composition is bypassed
// used for WFD displays only
bool isPause;
+ // To trigger padding round to clean up mdp
+ // pipes
+ bool isConfiguring;
};
struct ListStats {
@@ -315,6 +319,7 @@
qhwc::IFBUpdate *mFBUpdate[HWC_NUM_DISPLAY_TYPES];
// External display related information
qhwc::ExternalDisplay *mExtDisplay;
+ qhwc::VirtualDisplay *mVirtualDisplay;
qhwc::MDPInfo mMDP;
qhwc::VsyncState vstate;
qhwc::DisplayAttributes dpyAttr[HWC_NUM_DISPLAY_TYPES];
@@ -333,8 +338,8 @@
int mPrevTransformVideo;
//Securing in progress indicator
bool mSecuring;
- //External Display configuring progress indicator
- bool mExtDispConfiguring;
+ //WFD on proprietary stack
+ bool mVirtualonExtActive;
//Display in secure mode indicator
bool mSecureMode;
//Lock to prevent set from being called while blanking