info-inventor
[Top] [All Lists]

OffscreenRenderer Error + Solution

To: info-inventor@xxxxxxxxxxx
Subject: OffscreenRenderer Error + Solution
From: Stuart <soa@xxxxxxxxxxxxxx>
Date: Sun, 24 Feb 2002 16:28:43 -0500
Sender: owner-inventor@xxxxxxxxxxx
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>
  • OffscreenRenderer Error + Solution, Stuart <=