commit | 72edecff8e4a78e996777dcf338c585501df614e | [log] [tgz] |
---|---|---|
author | ramindani <ramindani@google.com> | Mon Nov 06 15:37:08 2023 -0800 |
committer | ramindani <ramindani@google.com> | Tue Nov 07 16:53:45 2023 -0800 |
tree | b5d238f2f04bf39e0804af09d831d3b8b7089aac | |
parent | d5fa689e433e2141ea71305fe1ce522c0fc49350 [diff] |
Update ComposerClientWriter::presentOrValidate with frameInterval BUG: 284845445 Test: Manual test Change-Id: I096ef0d0523cf33a3867030339a18f9421b9ad2b
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 2e902e5..e128ab9 100644 --- a/graphics/composer/aidl/include/android/hardware/graphics/composer3/ComposerClientWriter.h +++ b/graphics/composer/aidl/include/android/hardware/graphics/composer3/ComposerClientWriter.h
@@ -105,10 +105,12 @@ } 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) {