display: update frame scheduler interface
Update the interface for frame scheduler to add
the timestamp of the fence.
Change-Id: Ic1ec16714b1792e761d03a7637d2e601a9c5d998
CRs-Fixed: 2572379
diff --git a/include/frame_scheduler_intf.h b/include/frame_scheduler_intf.h
index bfe30e5..2d706e1 100644
--- a/include/frame_scheduler_intf.h
+++ b/include/frame_scheduler_intf.h
@@ -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() { }
};