On Fri Sep 14 18:15:26 2001, dbremer@xxxxxxxx wrote:
>
> There is a problem with Open Inventor's use of overlay planes,
> when an app links with a local build of Mesa but displays remotely.
> Mesa does not support overlay planes, but the lib doing the real
> rendering might. In this situation, while the window is being created,
> Inventor queries for overlay plane support, and is told by the
> GL lib on Solaris that overlay planes are supported. It proceeds
> to ask for a visual with overlay planes from Mesa, which crashes.
I think this is more of a problem with Mesa, and the GLX implementation that
came with it. If the remote display supports overlay planes, then the call to
glXChooseVisual() in SoXtGLWidget::buildOverlayGLXWidget() should not return
NULL.
If Mesa/GLX cannot handle overlay planes, glXChooseVisual() should return NULL
and the overlay widget will not be built. In any case, there shouldn't be any
crashes. If there is, that's a bug outside of libSoXt.
I've used the current libInventorXt.so built for Linux (and linked with Mesa)
to display on a PC (without overlay planes) and on a system running IRIX (with
overlay planes) without any problems.
Jonathan Lim _ Silicon Graphics _ Mountain View
GPS Graphics Computer Systems CA, USA
|