1
0
Fork 0
mutter-performance-source/cogl/winsys
Neil Roberts f6ae9decaa 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
..
cogl-texture-pixmap-x11-private.h Add a CoglTexturePixmapX11 texture backend 2010-06-22 12:22:48 +01:00
cogl-texture-pixmap-x11.c cogl-renderer: Move the XEvent filters to be generic for all renderers 2011-04-20 18:17:06 +01:00
cogl-texture-pixmap-x11.h docs: API reference fixes 2010-09-20 13:15:44 +01:00
cogl-winsys-egl.c rename winsys files to be more consistent 2011-04-11 17:54:35 +01:00
cogl-winsys-glx-feature-functions.h Moves all GLX code down from Clutter to Cogl 2011-04-11 17:54:36 +01:00
cogl-winsys-glx.c cogl-renderer: Move the XEvent filters to be generic for all renderers 2011-04-20 18:17:06 +01:00
cogl-winsys-osx.c rename winsys files to be more consistent 2011-04-11 17:54:35 +01:00
cogl-winsys-private.h Moves all GLX code down from Clutter to Cogl 2011-04-11 17:54:36 +01:00
cogl-winsys-sdl.c rename winsys files to be more consistent 2011-04-11 17:54:35 +01:00
cogl-winsys-stub.c Moves all GLX code down from Clutter to Cogl 2011-04-11 17:54:36 +01:00
cogl-winsys-win32.c rename winsys files to be more consistent 2011-04-11 17:54:35 +01:00
cogl-winsys.c Moves all GLX code down from Clutter to Cogl 2011-04-11 17:54:36 +01:00