mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Update ComposerClientWriter::presentOrValidate with frameInterval
BUG: 284845445 Test: Manual test Change-Id: I096ef0d0523cf33a3867030339a18f9421b9ad2b
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user