GNOME Bugzilla – Bug 663411
Use >= 24 depth instead of 32
Last modified: 2011-11-05 11:56:36 UTC
Is there any reason for this? http://git.gnome.org/browse/cogl/tree/cogl/winsys/cogl-winsys-glx.c#n552 Currently clutter applications are not working because of this check in a system that we are implementing which supports only 24 depth. See that changing it works without any problem here.
I think the check makes sense, if the application requests an alpha channel then Cogl should report an error if it can't find a visual with an alpha channel. This is probably a duplicate of 663127 which has now been fixed with a patch to make Clutter itself fallback to not using an alpha channel if an FBConfig can't be found. *** This bug has been marked as a duplicate of bug 663127 ***
Are u sure? Because i think u can have alpha channel with 24 depth.
(In reply to comment #2) > Are u sure? Because i think u can have alpha channel with 24 depth. yes. we use the same check GDK is using to detect whether or not the visual supports an alpha channel. the only other option to have a RGBA visual is to have a 16 bit depth (i.e. 4444), which we currently don't support in any case.