Is a callback type used with the
cogl_onscreen_add_resize_callback() allowing applications to be
notified whenever an onscreen framebuffer is resized.
Cogl automatically updates the viewport of an onscreen
framebuffer that is resized so this callback is also an indication
that the viewport has been modified too
A resize callback will only ever be called while dispatching
Cogl events from the system mainloop; so for example during
cogl_poll_renderer_dispatch(). This is so that callbacks shouldn't
occur while an application might have arbitrary locks held for
example.
Is a callback type used with the cogl_onscreen_add_resize_callback() allowing applications to be notified whenever an
onscreen
framebuffer is resized.onscreen
framebuffer that is resized so this callback is also an indication that the viewport has been modified too