Re: OpenGL and -flat_namespace with Apple X11
Re: OpenGL and -flat_namespace with Apple X11
- Subject: Re: OpenGL and -flat_namespace with Apple X11
- From: John Harper <email@hidden>
- Date: Wed, 12 Mar 2003 17:38:33 -0800
On Wednesday, Mar 12, 2003, at 16:55 US/Pacific, Benjamin Reed wrote:
KDE has a number of bits that link OpenGL that are libtool modules.
Libtool modules translate into bundles that are linked with
-flat_namespace. Unfortunately, this breaks with the redirection that
goes on to allow indirect GL in Apple's X11.
That's unfortunate - is there no way to link the modules in two-level
namespace mode? Why does it break?
It does, however, work fine with xfree86 4.3.0 (which does something
similar to Apple X11 for indirect GL, as I understand it). From what
I've read, Apple X11 will be merging the xfree86 4.3 codebase, will
that include the indirect GL work that went on in xfree86 4.3? I need
to figure out what to tell our users that are trying to compile
against Apple X11 and failing...
The libGL changes are necessary to support _direct_ rendering (sending
GL commands directly to the kernel driver, without passing through the
X server). As you say, XFree86 4.3 has support for indirect rendering,
which means that no libGL changes are required, since the GL commands
are sent to the X server which then sends them to the driver. Apple's
X11 server also supports this mode for remote clients (derived from the
same XFree86 code)
So one suboptimal workaround is to install the XFree86 libGL, direct
rendering won't work, but indirect hw rendering will (on any X server).
However the difference in performance between direct and indirect
rendering modes can be large, so it's likely there will be a noticeable
reduction in GL performance,
John
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.