Stephen J Baker wrote:
> 
> On Thu, 9 Sep 1999, Bernd Kreimeier wrote:
> 
> > > 3.5. void (*glGetProcAddressEXT(GLubyte *))(...);
> >
> > In the port I am currently working on, I keep the Win32
> > mechanism of LoadLibrary/GetProcAddress (dlopen/dlsym)
> > which is used for the entire API. I can switch between
> > TNT and Voodoo on the same box easily.
> 
> Yes but this is Linux and we have X which can support
> stuff like multiple graphics cards without resorting
> to dlsym-ing the entire OpenGL library...which probably
> wouldn't work anyway because we are tightly coupled
> to X and rendering via GLX/DRI interfaces.

        It is already implemented and works just fine.  By compiling Mesa with
GGIMesa and Xmesa support, with the GLX code hacked to use GGIMesa (like
the old Glide window hack), the dlsym-ing of Mesa is already coded and
works well.  GGIMesa can use any rendering target back-end you can think
of.  And none of it is tied to XFree86 or DRI - I was using XGGI and an
aalib target to run Quake3 at one point |->.

Jon

Reply via email to