I am establishing a connection to the X server like this:
display = XOpenDisplay (Zero); Screen = default screen (display); Depth = DefaultDeep (display, screen);
I am now wondering why "depth" is always set to 24. I hope this is only 24 when the composit closes, but in fact, it is still 24. I'm starting compositing, so to get a 32-bit ARGb view, I am excitable visual () first to clear the first 32 Calling on.
Now for my question: do the default sketches (usually) never return more than 24 or is it just on my system? (My graphics board is somewhat dated ...) I know that it can also return 15, 16 or 8 for the CLUT display, but can it return 32? Or do I always have to use XGatVidualInfo () to get the AJRG 32-bit visuals first?
Thanks,
Andy
Default in X protocol Depth color indicates depth. There is no alpha in it. It is very ugly, but it seems to be 20+ years of non-composite apps.
Yes, it can return more than 24. Depth 30 displays are not common, but are present.
Comments
Post a Comment