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) #

[View source]

Class Method Detail

def self.g_type : UInt64 #

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


[View source]

Instance Method Detail

def complete : Bool #

[View source]
def finalize #

[View source]
def frame_counter : Int64 #

[View source]
def frame_time : Int64 #

[View source]
def predicted_presentation_time : Int64 #

[View source]
def presentation_time : Int64 #

[View source]
def ref : Gdk::FrameTimings #

[View source]
def refresh_interval : Int64 #

[View source]
def to_unsafe : Pointer(Void) #

[View source]
def unref : Nil #

[View source]