Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 68214ec8 authored by Brian Anderson's avatar Brian Anderson
Browse files

Update HIDL with CompositorTiming.

Test: Tested manually with Chrome.
Change-Id: I0e911612f4db1ae57098a5bc53afdce61dfe5837
parent 9ebab6ab
Loading
Loading
Loading
Loading
+16 −1
Original line number Diff line number Diff line
@@ -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.