mutter/examples
Robert Bragg ed90c6fed9 Move event polling into CoglRenderer
This updates the cogl_poll_ apis to allow dispatching events before we
have a CoglContext and to also enables pollfd state to be changed in a
more add-hoc way by different Cogl components by replacing the
winsys->get_poll_info with _cogl_poll_renderer_add/remove_fd functions
and a winsys->get_dispatch_timeout vfunc.

One of the intentions here is that applications should be able to run
their mainloop before creating a CoglContext to potentially get events
relating to CoglOutputs.

Reviewed-by: Neil Roberts <neil@linux.intel.com>

(cherry picked from commit 667e58c9cb2662aef5f44e580a9eda42dc8d0176)
2013-04-30 16:39:31 +01:00
..
android/hello examples: Fix the first colour in the triangle_vertices 2013-04-22 13:01:45 +01:00
cogl-crate.c Move event polling into CoglRenderer 2013-04-30 16:39:31 +01:00
cogl-gles2-context.c examples: Fix the first colour in the triangle_vertices 2013-04-22 13:01:45 +01:00
cogl-gles2-gears.c Fix a warning about ‘sincos’ in examples/cogl-gles2-gears 2013-04-23 18:30:54 +01:00
cogl-hello.c examples: Fix the first colour in the triangle_vertices 2013-04-22 13:01:45 +01:00
cogl-info.c renderer: expose CoglOutputs 2013-01-30 19:57:22 +00:00
cogl-msaa.c Move event polling into CoglRenderer 2013-04-30 16:39:31 +01:00
cogl-sdl2-hello.c examples: Fix the first colour in the triangle_vertices 2013-04-22 13:01:45 +01:00
cogl-sdl-hello.c examples: Fix the first colour in the triangle_vertices 2013-04-22 13:01:45 +01:00
cogl-x11-foreign.c Move event polling into CoglRenderer 2013-04-30 16:39:31 +01:00
cogl-x11-tfp.c Adds CoglError api 2013-01-22 17:47:39 +00:00
cogland.c Add compiler deprecation warnings 2013-04-24 22:23:50 +01:00
crate.jpg Adds another example that draws a 3D crate 2011-06-30 14:33:11 +01:00
Makefile.am Add $(LIBM) to the LDADD for all of the examples and tests 2013-04-23 18:32:47 +01:00