What do you think about trying to remove all X specific references from the drivers since the drivers can go into environments like DirectFB which don't have GLX? The standalone versions already do this. There is only minor usage of X declarations in the drivers.
However, the driver bootstrap is one of the big places that need it. Look at __driUtilCreateScreen in xc/lib/GL/dri/dri_util.c. There's no getting around needing the Display pointer and screen number there. We could probably work around this be having multiple bootstrap entry points. One for X and one for non-X, perhaps? Each would act as a thin veil to perform windowing system specific initialization and then call a common initialization routine.
I would really like to see the same binary file used in all places too. :)
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel