Rendering to a framebuffer in Linux, BUT not with GLX.

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.

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