Leif Delgass wrote:
Well, the interesting thing is that when running X at depth 24 w/ 32 fbbpp
on Radeon, glxinfo still shows buffer size as 24 after the patch. Is this
because it's being intersected with the X visual depth of 24? Afaik,
there's no such thing as a depth 32 in the Xserver ("-depth 32" doesn't work as an argument to the server).

According to the glx spec GLX_BUFFER_SIZE, as you say, should be the sum of the four channel sizes (GLX_RED_SIZE, GLX_GREEN_SIZE, etc.). It also says that "this value may be larger than the depth value reported in the core X11 visual since it may include alpha planes that may not be reported by X11." So it looks like a bug in GlxSetVisualConfigs. I haven't been able to track down where the actual code for that is yet, though.
Look at xc/programs/Xserver/GL/mesa/src/xf86glx.c That's where some GLX visual magic takes place. There is some weird stuff in there related to bufferSize. It's been years since I've looked at it and I don't have time to study it now.

-Brian



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Reply via email to