mutter/clutter/glx
Emmanuele Bassi e59a19bd03 [x11] Abstract XVisualInfo creation
The XVisualInfo for GL is created when a stage is being realized.
When embedding Clutter inside another toolkit we might not want to
realize a stage to extract the XVisualInfo, then set the stage
window using a foreign X Window -- which will cause a re-realization.

Instead, we should abstract as much as possible into the X11 backend.

Unfortunately, the XVisualInfo for GL is requested using GLX API; for
this reason we have to create a ClutterBackendX11 method that we
override inside the ClutterBackendGLX implementation.

This also allows us to move a little bit of complexity from out of
the stage realization, which is currently a very delicate and hard
to debug section.
2009-05-13 21:49:45 +01:00
..
clutter-backend-glx.c [x11] Abstract XVisualInfo creation 2009-05-13 21:49:45 +01:00
clutter-backend-glx.h 2008-04-15 Matthew Allum <mallum@openedhand.com> 2008-04-15 21:18:13 +00:00
clutter-glx-texture-pixmap.c [glx-texture-pixmap] Don't enable the texture target when binding the texture 2009-03-19 17:54:17 +00:00
clutter-glx-texture-pixmap.h 2008-06-30 Matthew Allum <mallum@openedhand.com> 2008-06-30 14:36:49 +00:00
clutter-glx.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-stage-glx.c [x11] Abstract XVisualInfo creation 2009-05-13 21:49:45 +01:00
clutter-stage-glx.h 2008-03-28 Matthew Allum <mallum@openedhand.com> 2008-03-28 22:50:55 +00:00
Makefile.am Use $(MAINTAINER_CFLAGS) in clutter/{x11,glx}/Makefile.am 2009-04-17 14:53:24 +01:00