Creates a SignalSource which handles Cogl's internal system event processing.
This can be used as a convenience instead of poll_renderer_get_info and poll_renderer_dispatch in applications that are already using the GLib main loop. After this is called the SignalSource should be attached to the main loop using attach.
renderer |
A Renderer |
priority |
The priority of the SignalSource |
a new SignalSource |