gdk.frame_timings

Module for [FrameTimings] class

Types 1

A [gdk.frame_timings.FrameTimings] object holds timing information for a single frame of the application’s displays.

To retrieve [gdk.frame_timings.FrameTimings] objects, use [gdk.frame_clock.FrameClock.getTimings] or [gdk.frame_clock.FrameClock.getCurrentTimings]. The information in [gdk.frame_timings.FrameTimings] is useful for precise synchronization of video with the event or audio streams, and for measuring quality metrics for the application’s display, such as latency and jitter.

Methods
void * _cPtr(Flag!"Dup" dup = No.Dup)
GType _gType() @property
FrameTimings self()Returns `this`, for use in `with` statements.
bool getComplete()Returns whether timings are complete.
long getFrameCounter()Gets the frame counter value of the [gdk.frame_clock.FrameClock] when this frame was drawn. Returns: the frame counter value for this frame
long getFrameTime()Returns the frame time for the frame.
long getPredictedPresentationTime()Gets the predicted time at which this frame will be displayed.
long getPresentationTime()Reurns the presentation time.
long getRefreshInterval()Gets the natural interval between presentation times for the display that this frame was displayed on.
Constructors
this(void * ptr, Flag!"Take" take)