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:
Sushil Chauhan
2020-09-10 10:36:24 -07:00
committed by Rheygine Medel
parent 935539c2ae
commit fde201148f

View File

@@ -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() { }