On 10/18/07, Ian Romanick <[EMAIL PROTECTED]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Kristian HXXgsberg wrote: > > > New commits: > > commit 6c533ea2d1953152f7d95d6c984e0d287edb46c2 > > Author: Kristian Høgsberg <[EMAIL PROTECTED]> > > Date: Tue Oct 16 16:07:47 2007 -0400 > > > > Handle fbconfigs and glx visuals separately. > > > > The old implementation fetches fbconfigs or glx visuals once and > > assumes the list > > describes both fbconfigs and glx visuals. This patch splits it up and > > fetches > > visuals and fbconfigs in two steps and keep the two lists separate. A > > server > > could have no glx visuals or no glx fbconfigs and the old code wouldn't > > know the > > difference. > > A portion of this was intentional. By using visuals to create fbconfigs > we could cheat a bit and expose GLX_SGIX_fbconfig even if the server > didn't support it. I don't know if we care about that case any more, > but I though it was worth pointing out.
I know, and the system has worked pretty well within the limitations of the old implementation. The assumption that glx visuals and fb configs are the same doesn't work well with other X servers, but I don't think that's been much of an issue in the past. The reason I did the above patch is that I'll be committing an X server patch that does untangle glx visuals and fb configs on the server side. I'm moving glx visual creation from the mi hook to glx screen init, and it will allow us to pick a small set of typically used fbconfigs that we expose as glx visuals. I'm planning an xorg.conf option that will let you specify "none", "typical" or "all" as the set of fbconfigs to expose. cheers, Kristian (Sorry for sending this twice, Ian, my redhat.com address got caught in the list filter) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
