Cogl.Onscreen.prototype.set_swap_throttled

function set_swap_throttled(throttled: Cogl.Bool): void {
    // Gjs wrapper for cogl_onscreen_set_swap_throttled()
}
  

Requests that the given onscreen framebuffer should have swap buffer requests (made using Cogl.Onscreen.prototype.swap_buffers) throttled either by a displays vblank period or perhaps some other mechanism in a composited environment.

Since 1.8

throttled

Whether swap throttling is wanted or not.