After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 663411 - Use >= 24 depth instead of 32
Use >= 24 depth instead of 32
Status: RESOLVED DUPLICATE of bug 663127
Product: cogl
Classification: Platform
Component: GLX
git master
Other Linux
: Normal normal
: ---
Assigned To: Cogl maintainer(s)
Cogl maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2011-11-04 16:18 UTC by Ignacio Casal Quinteiro (nacho)
Modified: 2011-11-05 11:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ignacio Casal Quinteiro (nacho) 2011-11-04 16:18:06 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.
Comment 1 Neil Roberts 2011-11-04 16:43:28 UTC
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 ***
Comment 2 Ignacio Casal Quinteiro (nacho) 2011-11-04 17:00:06 UTC
Are u sure? Because i think u can have alpha channel with 24 depth.
Comment 3 Emmanuele Bassi (:ebassi) 2011-11-05 11:56:36 UTC
(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.