Update ComposerClientWriter::presentOrValidate with frameInterval

BUG: 284845445
Test: Manual test
Change-Id: I096ef0d0523cf33a3867030339a18f9421b9ad2b
This commit is contained in:
ramindani 2023-11-06 15:37:08 -08:00
parent d5fa689e43
commit 72edecff8e

View file

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