mutter/clutter/cogl
Neil Roberts d5022054eb cogl-renderer: Move the XEvent filters to be generic for all renderers
Instead of having cogl_renderer_xlib_add_filter and friends there is
now cogl_renderer_add_native_filter which can be used regardless of
the backend. The callback function for the filter now just takes a
void pointer instead of an XEvent pointer which should be interpreted
differently depending on the backend. For example, on Xlib it would
still be an XEvent but on Windows it could be a MSG. This simplifies
the code somewhat because the _cogl_xlib_add_filter no longer needs to
have its own filter list when a stub renderer is used because there is
always a renderer available.

cogl_renderer_xlib_handle_event has also been renamed to
cogl_renderer_handle_native_event. This just forwards the event on to
all of the listeners. The backend renderer is expected to register its
own event filter if it wants to process the events in some way.
2011-04-20 18:17:06 +01:00
..
build/autotools Adds the ability to build Cogl standalone 2011-04-11 17:54:36 +01:00
cogl cogl-renderer: Move the XEvent filters to be generic for all renderers 2011-04-20 18:17:06 +01:00
doc cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
pango Adds the ability to build Cogl standalone 2011-04-11 17:54:36 +01:00
po Adds the ability to build Cogl standalone 2011-04-11 17:54:36 +01:00
autogen.sh Adds the ability to build Cogl standalone 2011-04-11 17:54:36 +01:00
configure.ac backend: remove untested fruity backend 2011-04-11 17:54:36 +01:00
Makefile.am Adds the ability to build Cogl standalone 2011-04-11 17:54:36 +01:00