info-inventor
[Top] [All Lists]

Re: OffscreenRenderer Error + Solution

To: info-inventor@xxxxxxxxxxx
Subject: Re: OffscreenRenderer Error + Solution
From: Jonathan Lim <jlim@xxxxxxx>
Date: Wed, 22 May 2002 17:14:12 -0700 (PDT)
In-reply-to: <955841648.1014568123@thresher> from "Stuart" at Feb 24, 2002 04:28:43 PM
Sender: owner-inventor@xxxxxxxxxxx
Is anyone else running into the problem below?

              Jonathan Lim  _  Silicon Graphics  _   Mountain View
              GPS Graphics     Computer Systems     California, USA


On Sun Feb 24 13:28:43 2002, soa@xxxxxxxxxxxxxx wrote:
> 
> Hi,
>       In SoOffscreenRenderer.cpp the call to glXChooseVisual is made with an 
> attribute list that requests a visual without a double buffer.  If if 
> cannot acquire such a list it returns error.  The correct behavior would be 
> to then make a second call to glXChooseVisual with a second attribute list 
> that will accept a double buffered visual and only fail if this second call 
> failed.  (It's an unfortunate point in the design of glX that the 
> DOUBLEBUFFER element of the attribList is mutually exclusive).  This caused 
> offscreen rendering to fail on a few machines in  my lab that only 
> supported double buffered visuals at certain color depths.
> --
> Stuart Anderson

<Prev in Thread] Current Thread [Next in Thread>
  • Re: OffscreenRenderer Error + Solution, Jonathan Lim <=