Allows you to explicitly notify Cogl of an existing Wayland surface to use, which prevents Cogl from allocating a surface and shell
surface for the onscreen
.
An allocated surface will not be destroyed when the onscreen
is freed.
This function must be called before onscreen
is allocated.
onscreen |
An unallocated framebuffer. |