class Gdk::FrameTimings

Overview

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

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

Defined in:

lib/gi-crystal/src/auto/gdk-4.0/frame_timings.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(pointer : 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 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 #