[gl2ps] [patch] Enable use without an OpenGL context

Andreas Weber octave at tech-chat.de
Thu Jan 28 13:58:05 CET 2016


Hi David,

Am 25.01.2016 um 16:12 schrieb David Lonie:
> On Sat, Jan 23, 2016 at 3:41 AM, Andreas Weber <octave at tech-chat.de
> <mailto:octave at tech-chat.de>> wrote:
> 
>     I'm very unexperienced with OpenGL internals so this might be a silly
>     question. If I read the topic, does this mean that it is now possible to
>     use gl2ps without OpenGL context, for example on a headless server
>     without X running? In my words something like "offscreen rendering"?
> 
> 
> The recent change allows gl2ps to process geometry that is provided
> explicitly via function calls to the gl2ps library, rather than only
> fetching it from OpenGL.
> If you're looking to use gl2ps/OpenGL from a headless server with no X
> server, this should already be possible using OSMesa[1], which provides
> an offscreen, software-based OpenGL implementation.

thank you for your explanation. I'm already using OSMesa with gl2ps but
had some problems with proprietary drivers (mostly Nvidia drivers). This
is the reason why I'm looking for some alternative to OSMesa.

Thanks again, Andy