commit | ac6e50ab4c2f2795cd5ef5a8bc279111ed2d57c6 | [log] [tgz] |
---|---|---|
author | ramindani <ramindani@google.com> | Mon Nov 06 15:37:58 2023 -0800 |
committer | ramindani <ramindani@google.com> | Tue Nov 07 16:54:04 2023 -0800 |
tree | 7f6c5db8a4a4bcbb8cb5035b18d2f543c7e7bae0 | |
parent | 72edecff8e4a78e996777dcf338c585501df614e [diff] |
Update ComposerClientWriter::validateDisplay with frameInterval BUG: 284845445 Test: Manual test Change-Id: I2f856ae4acd45cb2a9827c367d2d3185da859b8a
diff --git a/graphics/composer/aidl/include/android/hardware/graphics/composer3/ComposerClientWriter.h b/graphics/composer/aidl/include/android/hardware/graphics/composer3/ComposerClientWriter.h index e128ab9..92ed6d3 100644 --- a/graphics/composer/aidl/include/android/hardware/graphics/composer3/ComposerClientWriter.h +++ b/graphics/composer/aidl/include/android/hardware/graphics/composer3/ComposerClientWriter.h
@@ -98,10 +98,12 @@ } void validateDisplay(int64_t display, - std::optional<ClockMonotonicTimestamp> expectedPresentTime) { + std::optional<ClockMonotonicTimestamp> expectedPresentTime, + int32_t frameIntervalNs) { auto& command = getDisplayCommand(display); command.expectedPresentTime = expectedPresentTime; command.validateDisplay = true; + command.frameIntervalNs = frameIntervalNs; } void presentOrvalidateDisplay(int64_t display,