Update ComposerClientWriter::presentOrValidate with frameInterval
BUG: 284845445 Test: Manual test Change-Id: I096ef0d0523cf33a3867030339a18f9421b9ad2b
This commit is contained in:
parent
d5fa689e43
commit
72edecff8e
1 changed files with 3 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue