Merge tag 'display-android-commonsys.lnx.1.1-200103' into display-sysintf.lnx.1.2

* tag 'display-android-commonsys.lnx.1.1-200103':
  commonsys-intf: display: Add SmoMo mode interface
  display: update frame scheduler interface

Change-Id: I7473b510e2672c4602f2036f75bc97f7ed0819eb
This commit is contained in:
Abhijith Desai
2020-01-03 18:40:41 +05:30
2 changed files with 9 additions and 1 deletions

View File

@@ -30,11 +30,13 @@
#ifndef __FRAME_SCHEDULER_INTF_H__
#define __FRAME_SCHEDULER_INTF_H__
#include <utils/Timers.h>
namespace composer {
class FrameSchedulerIntf {
public:
virtual int UpdateFrame() = 0;
virtual int UpdateFrameScheduling(int fenceFd, nsecs_t *timeStamp) = 0;
protected:
virtual ~FrameSchedulerIntf() { }
};

View File

@@ -32,10 +32,16 @@
#ifndef __SMOMO_CONFIG_H__
#define __SMOMO_CONFIG_H__
#include <cstdint>
namespace smomoconfig {
int EnableSmomo(bool enable);
int GetSmomoMode(uint32_t *mode_idx);
int SetSmomoMode(uint32_t mode_idx);
} // namespace smomoconfig
#endif // __SMOMO_CONFIG_H__