The problem with this approach is that this is affect the startup time of my 
application. I am looking for a solution that is not only safe, but also fast.

This could conceivably be run in parallel, though. If that eliminated the 
performance issue, it would remain that such a solution is a lot more 
complicated than what we have to do on other platforms.

Benoit

----- Original Message -----
> If you really need to do some basic sanity checking and verify that
> libGL / libX11 aren't totally broken, you could do something like
> autoconf does and run a small, trivial GLX test program before your
> main app. You could invoke the test program from a shell script
> wrapper (or maybe from in the main app via fork/exec). Check if the
> test program exits abnormally, and disable OpenGL if needed.
> 
> -Brian
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to