class Gdk::FrameTimings


A GdkFrameTimings object holds timing information for a single frame of the application’s displays.

To retrieve GdkFrameTimings objects, use Gdk::FrameClock#timings or Gdk::FrameClock#current_timings. The information in GdkFrameTimings 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.

Defined in:



Class Method Summary

Instance Method Summary

Constructor Detail

def : Pointer(Void), transfer : GICrystal::Transfer) #

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.

Instance Method Detail

def ==(other : self) : Bool #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.

def complete : Bool #

def finalize #

def frame_counter : Int64 #

def frame_time : Int64 #

def predicted_presentation_time : Int64 #

def presentation_time : Int64 #

def ref : Gdk::FrameTimings #

def refresh_interval : Int64 #

def to_unsafe : Pointer(Void) #

def unref : Nil #