summaryrefslogtreecommitdiff
path: root/hwc3/ComposerCommandEngine.h
diff options
context:
space:
mode:
Diffstat (limited to 'hwc3/ComposerCommandEngine.h')
-rw-r--r--hwc3/ComposerCommandEngine.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/hwc3/ComposerCommandEngine.h b/hwc3/ComposerCommandEngine.h
index 872c7e5..1ec110e 100644
--- a/hwc3/ComposerCommandEngine.h
+++ b/hwc3/ComposerCommandEngine.h
@@ -52,9 +52,11 @@ class ComposerCommandEngine {
void executeSetDisplayBrightness(uint64_t display, const DisplayBrightness& command);
void executeSetOutputBuffer(uint64_t display, const Buffer& buffer);
void executeValidateDisplay(int64_t display,
- const std::optional<ClockMonotonicTimestamp> expectedPresentTime);
+ const std::optional<ClockMonotonicTimestamp> expectedPresentTime,
+ int frameIntervalNs);
void executePresentOrValidateDisplay(
- int64_t display, const std::optional<ClockMonotonicTimestamp> expectedPresentTime);
+ int64_t display, const std::optional<ClockMonotonicTimestamp> expectedPresentTime,
+ int frameIntervalNs);
void executeAcceptDisplayChanges(int64_t display);
int executePresentDisplay(int64_t display);
@@ -94,7 +96,8 @@ class ComposerCommandEngine {
int32_t executeValidateDisplayInternal(int64_t display);
void executeSetExpectedPresentTimeInternal(
- int64_t display, const std::optional<ClockMonotonicTimestamp> expectedPresentTime);
+ int64_t display, const std::optional<ClockMonotonicTimestamp> expectedPresentTime,
+ int frameIntervalNs);
IComposerHal* mHal;
IResourceManager* mResources;