c91621e8c2
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 |
||
---|---|---|
.. | ||
clutter-backend-gdk-private.h | ||
clutter-backend-gdk.c | ||
clutter-backend-gdk.h | ||
clutter-device-manager-gdk.c | ||
clutter-device-manager-gdk.h | ||
clutter-event-gdk.c | ||
clutter-gdk.h | ||
clutter-input-device-gdk.c | ||
clutter-input-device-gdk.h | ||
clutter-master-clock-gdk.c | ||
clutter-master-clock-gdk.h | ||
clutter-settings-gdk.h | ||
clutter-stage-gdk.c | ||
clutter-stage-gdk.h |