Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 72edecff authored by ramindani's avatar ramindani
Browse files

Update ComposerClientWriter::presentOrValidate with frameInterval

BUG: 284845445
Test: Manual test
Change-Id: I096ef0d0523cf33a3867030339a18f9421b9ad2b
parent d5fa689e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -105,10 +105,12 @@ class ComposerClientWriter final {
    }

    void presentOrvalidateDisplay(int64_t display,
                                  std::optional<ClockMonotonicTimestamp> expectedPresentTime) {
                                  std::optional<ClockMonotonicTimestamp> expectedPresentTime,
                                  int32_t frameIntervalNs) {
        auto& command = getDisplayCommand(display);
        command.expectedPresentTime = expectedPresentTime;
        command.presentOrValidateDisplay = true;
        command.frameIntervalNs = frameIntervalNs;
    }

    void acceptDisplayChanges(int64_t display) {