Is a callback type used with the add_resize_callback allowing
applications to be notified whenever an onscreen
framebuffer is resized.
<note>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</note>
<note>A resize callback will only ever be called while dispatching Cogl events from the system mainloop; so for example during poll_renderer_dispatch. This is so that callbacks shouldn't occur while an application might have arbitrary locks held for example.</note>
onscreen |
A Onscreen framebuffer that was resized |
width |
The new width of |
height |
The new height of |
user_data |
The private passed to add_resize_callback |