Mathias Fröhlich wrote:
 > I traced that down yesterday for the binary ati driver.

The SGIX Pbuffer Extension just returns no configurations, but the glx Pbuffer code does. I guess that ati phases out support for that extension in favour to the newer standard glx implementation.
Does somebody know when glXCreatePbuffer appeared in the glx standard?

What I have is glxPBuffer initialization code which works for me.
I guess it would be best to make a configure check for glXCreatePbuffer and then try to initialize the SGIX extension Pbuffers. If there is none, try the glXCreatePbuffer stuff if configure found that.
What do you think?

The RenderTexture class was developed to make use of as much hardware support as possible when rendering to a texture. To do so it does abuse some other hardware functions when pbuffers are not present.

In fact, think it is about time to add support for the official rendertexture extension if it is available.

If anyone wants to improve the RenderTexture class, please go ahead. Just make sure it is a *runtime* check rather than a configure check!

Erik


_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to