Cogl.Renderer.prototype.set_winsys_id
function set_winsys_id(winsys_id: Cogl.WinsysID): void {
// Gjs wrapper for cogl_renderer_set_winsys_id()
}
This allows you to explicitly select a winsys backend to use instead of letting Cogl automatically select a backend.
if you select an unsupported backend then Cogl.Renderer.prototype.connect will fail and report an error.
This may only be called on an un-connected Cogl.Renderer.
- winsys_id
An ID of the winsys you explicitly want to use.