mutter/clutter/gdk
Emmanuele Bassi c91621e8c2 gdk: Use the Cogl visual on Xlib winsys
GDK 3.16 started selecting different visuals, to best comply with the
requirements for OpenGL, and this has broken Clutter on GLX drivers that
are fairly picky in how they select visuals and GLXFBConfig.

GDK selects GLXFBConfig that do not include depth or stencil buffers;
Cogl, on the other hand, needs both depth and stencil buffers, and keeps
selecting the first available visual, assuming that the GLX driver will
give us the best compliant one, as per specification. Sadly, some
drivers will return incompatible configurations, and then bomb out when
you try to embed Clutter inside GTK+, because of mismatched visuals.

Cogl has an old, deprecated, Clutter-only API that allows us to retrieve
the XVisualInfo mapping to the GLXFBConfig it uses; this means we should
look up the GdkVisual for it when creating our own GdkWindows, instead
of relying on the RGBA and system GdkVisuals exposed by GDK — at least
on X11.

https://bugzilla.gnome.org/show_bug.cgi?id=747489
2015-06-10 19:06:25 +01:00
..
clutter-backend-gdk-private.h
clutter-backend-gdk.c clutter-backend-gdk: Only set setting on successful gdk_screen_get_setting call 2015-05-12 11:14:14 +01:00
clutter-backend-gdk.h cogl/backend: Remove the ClutterBackendCogl class 2011-11-10 14:55:03 +00:00
clutter-device-manager-gdk.c Bug 676150 GDK: Fix build on Windows 2012-05-21 23:01:23 +08:00
clutter-device-manager-gdk.h
clutter-event-gdk.c gdk: Compare integer values 2015-01-12 15:05:02 +00:00
clutter-gdk.h Annotate symbols in backend-specific headers 2014-03-17 19:26:49 +00:00
clutter-input-device-gdk.c gdk/device: Propagate more device details from GDK 2015-06-03 13:08:01 +01:00
clutter-input-device-gdk.h
clutter-master-clock-gdk.c gdk: Fix stage removal from the master clock 2015-03-23 13:24:44 +00:00
clutter-master-clock-gdk.h gdk: implement a MasterClock based on GdkFrameClock 2015-02-17 19:12:40 +00:00
clutter-settings-gdk.h gdk: Add window-scaling-factor support 2014-09-03 14:21:08 +01:00
clutter-stage-gdk.c gdk: Use the Cogl visual on Xlib winsys 2015-06-10 19:06:25 +01:00
clutter-stage-gdk.h gdk: Relay scroll delta from GDK 2012-03-19 14:29:23 +00:00