Re: X11 GL vs. OpenGL Framework
Re: X11 GL vs. OpenGL Framework
- Subject: Re: X11 GL vs. OpenGL Framework
- From: Martin Costabel <email@hidden>
- Date: Mon, 13 Jan 2003 22:47:57 +0100
Yarden Livnat wrote:
Hi,
What is the relation between the libGL in X11 and the OpenGL framework ?
for example, I have a package (OpenSceneGraph) which links against
the framework. I now want to use Qt (the GUI from Trolltech) which
is an X11 distribution (I don't have the native Qt). For now, I just
changed OpenSceneGraph to link against the X11 libGL. However, can
one use X11 with apple OpenGL framework ? and what if GLX is also
required ?
does the OpenGL framework has more features then X11 libGL ? for example
the X11 does not have offscreen rendering. I'm not sure about the framework.
Apple's /usr/X11R6/lib/libGL.dylib is using the OpenGL framework, just
do a "otool -L /usr/X11R6/lib/libGL.dylib". I don't know if this means
that you can use all the framework's features from the X11 libGL.
It means, however, that a couple of symbols that usually are defined in
libGL are now taken from the framework, and this means binary
incompatibility with other versions of libGL with the same version
number. Binaries and libs compiled against other xfree86 versions and
linked to libGL will crash with
symbol ... undefined, expected to be defined in
/usr/X11R6/lib/libGL.1.dylib.
--
Martin
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.