"Mike A. Harris" wrote:
> 
> On Tue, 26 Feb 2002, Andree Borrmann wrote:
> 
> >On Tue, Feb 26, 2002 at 06:21:01AM -0500, Mike A. Harris wrote:
> >> Does the Mesa 3.4.2 that is part of XFree86 4.2.0 support OpenGL
> >> with XFree86 3.3.6 servers?
> >
> >GLX indirect mode should work. I recently (actually yesterday) fixed
> >problems where SGI-based GLX implementations still use VendorPrivate
> >encoding instead of the (newer) standard GLX opcodes in the utah-glx
> >server code for 3.3.6
> >
> >I would appreciate some feedback on these changes (e.g. if they work on
> >any system beside mine ;))
> >
> >I can run OpenGL programs using utah's libGL on XF3 + XF4.1 servers.
> >I also can run OpenGL programs using libGL from rh72 (which includes
> >xf4.1 updates AFAIK) on both servers.
> >
> >Of course you don't get into direct rendering mode with the "wrong" library.
> >
> >So you can talk with a Mesa 3.4 library to utah's XF3 glx-servercode (based
> >on Mesa 2.x) which uses Mesa 3.2(+hw driver) as backend renderer.
> >Or use utah's libGL (based on Mesa 3.0) and talk to a 3.4 based XF4 server ;)
> >Anyone not confused now?
> 
> Yes.. I'm quite confused.  XFree86 4.1.0 comes with Mesa 3.4.2
> which does not support 3.3.6 servers using OpenGL.  Red Hat
> Linux ships Mesa 3.4.2 from mesa3d.sf.net instead of the Mesa
> that comes with XFree86 as it supports software OpenGL with 3.3.6
> servers.  We patch it with DRI support so that DRI works.
> 
> I emailed quite a while back asking about this, and Brian Paul
> went ahead and implemented support for 3.3.6 servers into Mesa,
> however I am not sure if this is only in the mesa 4.x codebase,
> or if it was backported to Mesa 3.4.2 in XFree86 4.2.0.
> 
> I'd just like to know if the Mesa that comes with XFree86 4.2.0
> will work with a 3.3.6 server to do software OpenGL or not.  From
> what I understood, 3.3.6 doesn't use GLX, which is why it didn't
> work.  I'm not quite clear on all of this however, so please
> correct me if I'm wrong.

Hi Mike,

Sorry for not replying sooner.  XFree86 4.2 does not support libGL
rendering to 3.3.6 servers.

The option we're talking about is the 'GlxBuiltInXMesa' token seen
in xc/lib/GL/Imakefile.  If this token is defined, Mesa and its Xlib
driver will be built into libGL so that if the target server doesn't
support the GLX extension, we'll fall back to Mesa rendering with
Xlib calls.

This option is on the DRI trunk now and should wind up in XFree86 4.3.
It's not enabled by default.  I should do a test build with it enabled
to be sure it's still working.  It's been many months since I touched
that code.

If you'd like this feature for Red Hat Linux before XFree86 4.3 is released,
it might not be too hard to move the xc/lib/GL code from the DRI trunk
onto a XFree86 4.2 tree.

-Brian

I'm cc'ing the dri-devel list since this topic might be of interest there.

_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to