fuchsia.scenic.scheduling

STRUCTS

PresentationInfo

Defined in fuchsia.scenic.scheduling/prediction_info.fidl

NameTypeDescriptionDefault
latch_point uint64 The |latch_point| is guaranteed to be less than |presentation_time|. The latch point is the time where clients should aim to have their updates and fences ready in order for the content to be presented at the corresponding presentation time. No default
presentation_time uint64 The predicted time in which the enqueued operations are anticipated to take visible effect, expressed in nanoseconds in the |CLOCK_MONOTONIC| timebase. No default

FuturePresentationTimes

Defined in fuchsia.scenic.scheduling/prediction_info.fidl

The data type returned in |fuchsia.ui.scenic::RequestPresentationTimes|. See that method description for more information.

NameTypeDescriptionDefault
future_presentations vector<PresentationInfo>[8] The future estimated presentation times. They represent the times Scenic intends to let the client's work be presented over the next few frames. These values may change after they are queried. Clients who wish to minimize latency should use these values to schedule their work accordingly. No default
remaining_presents_in_flight_allowed int64 The amount of Present() calls the client is currently allowed. If the client calls Present() when this number is zero, the session will be shut down. This value is decremented every Present() call, and is incremented every OnFramePresented() event. No default