display: Add api to query Smart Display Config
Add Display Extension API to query if a given display is running on a Smart Display Config. CRs-Fixed: 2773507 Change-Id: Ibe7508617f2e67db0778811475b594f3cc0017c6
This commit is contained in:
committed by
Rheygine Medel
parent
935539c2ae
commit
fde201148f
@@ -37,6 +37,7 @@
|
||||
#define EARLY_WAKEUP_FEATURE 1
|
||||
#define DYNAMIC_EARLY_WAKEUP_CONFIG 1
|
||||
#define PASS_COMPOSITOR_PID 1
|
||||
#define SMART_DISPLAY_CONFIG 1
|
||||
|
||||
namespace composer {
|
||||
|
||||
@@ -83,6 +84,7 @@ class DisplayExtnIntf {
|
||||
FBTSlotInfo &fbt_future) = 0;
|
||||
virtual int EndDraw(uint32_t display_id, const FBTSlotInfo &fbt_current) = 0;
|
||||
virtual void SendCompositorPid() = 0;
|
||||
virtual bool IsSmartDisplayConfig(uint32_t display_id) = 0;
|
||||
|
||||
protected:
|
||||
virtual ~DisplayExtnIntf() { }
|
||||
|
||||
Reference in New Issue
Block a user