PDA

View Full Version : Rendering to a framebuffer in Linux, BUT not with GLX.



petheridge
07-02-2003, 07:56 PM
I am trying to find out if it is possible to render an OpenGL scene straight to a block of memory of my choice, without using GLX or any X Windows related function calls.

I am sure this is possible somehow but just can't work out how to set it up.

Yours,

Paul. http://www.opengl.org/discussion_boards/ubb/smile.gif

john
07-02-2003, 11:21 PM
Hello,
no, no it isn't. OpenGL doesn't concern itself with the concept of a a drawable surface is made available. That is left to the opengl/os interface, which is GLX under Unix and WGL under windows.
If you are concerned about portability then you'll have to write a wrapper with platform specific instatiations.
cheers,
John