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.
Applications that manually connect to a Renderer before they create a Context should instead use glib_renderer_source_new so that events may be dispatched before a context has been created. In that case you don't need to use this api in addition later, it is simply enough to use glib_renderer_source_new instead.
<note>This api is actually just a thin convenience wrapper around glib_renderer_source_new</note>
context |
A Context |
priority |
The priority of the SignalSource |
a new SignalSource |