Gjsify LogoGjsify Logo

Identifiers that are passed to #CoglFrameCallback functions (registered using cogl_onscreen_add_frame_callback()) that mark the progression of a frame in some way which usually means that new information will have been accumulated in the frame's corresponding #CoglFrameInfo object.

The last event that will be sent for a frame will be a COGL_FRAME_EVENT_COMPLETE event and so these are a good opportunity to collect statistics about a frame since the #CoglFrameInfo should hold the most data at this point.

A frame may not be completed before the next frame can start so applications should avoid needing to collect all statistics for a particular frame before they can start a new frame.

Index

Enumeration Members

Enumeration Members

COMPLETE: number

Notifies that a frame has ended. This is a good time for applications to collect statistics about the frame since the #CoglFrameInfo should hold the most data at this point. No other events should be expected after a COGL_FRAME_EVENT_COMPLETE event.

SYNC: number

Notifies that the system compositor has acknowledged a frame and is ready for a new frame to be created.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method