mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 02:42:35 +00:00
Merge "Update HIDL with CompositorTiming."
This commit is contained in:
committed by
Android (Google) Code Review
commit
2413ca1492
@@ -71,13 +71,28 @@ interface IOmxBufferProducer {
|
||||
FenceTimeSnapshot releaseFence;
|
||||
};
|
||||
|
||||
/**
|
||||
* Ref: frameworks/native/include/gui/FrameTimestamp.h: CompositorTiming
|
||||
*
|
||||
* The most recent compositor timing info sent from consumer to producer
|
||||
* through a HIDL interface.
|
||||
*/
|
||||
struct CompositorTiming {
|
||||
int64_t deadlineNs;
|
||||
int64_t intervalNs;
|
||||
int64_t presentLatencyNs;
|
||||
};
|
||||
|
||||
/**
|
||||
* Ref: frameworks/native/include/gui/FrameTimestamp.h: FrameEventHistoryDelta
|
||||
*
|
||||
* A collection of updates from consumer to producer that can be sent
|
||||
* through a HIDL interface.
|
||||
*/
|
||||
typedef vec<FrameEventsDelta> FrameEventHistoryDelta;
|
||||
struct FrameEventHistoryDelta {
|
||||
vec<FrameEventsDelta> deltas;
|
||||
CompositorTiming compositorTiming;
|
||||
};
|
||||
|
||||
/**
|
||||
* Modes for disconnection.
|
||||
|
||||
Reference in New Issue
Block a user