mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
[HWC3] AIDL change to add refreshPeriodNanos to RefreshRateChangedDebugData
Test: atest VtsHalGraphicsComposer3_TargetTest and device boots BUG: 314527560 Change-Id: Iaf961ae6ad118c5cd99b07ec133023297dac7040
This commit is contained in:
@@ -36,4 +36,5 @@ package android.hardware.graphics.composer3;
|
||||
parcelable RefreshRateChangedDebugData {
|
||||
long display;
|
||||
int vsyncPeriodNanos;
|
||||
int refreshPeriodNanos;
|
||||
}
|
||||
|
||||
@@ -27,4 +27,15 @@ parcelable RefreshRateChangedDebugData {
|
||||
* The display vsync period in nanoseconds.
|
||||
*/
|
||||
int vsyncPeriodNanos;
|
||||
|
||||
/**
|
||||
* The refresh period of the display in nanoseconds.
|
||||
* On VRR (Variable Refresh Rate) displays, refreshPeriodNanos can be different from the
|
||||
* vsyncPeriodNanos because not every vsync cycle of the display is a refresh cycle.
|
||||
* This should be set to the current refresh period.
|
||||
* On non-VRR displays this value should be equal to vsyncPeriodNanos
|
||||
*
|
||||
* @see vsyncPeriodNanos
|
||||
*/
|
||||
int refreshPeriodNanos;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user