From: Alexandre Meyer (a.meyer++at++cs.ucl.ac.uk)
Date: 08/23/2002 14:09:02
Hi,
I would like to use a PBuffer under Linux (extension GLX_SGIX_pbuffer on GForce4).
I am able to create and use this kind of pbuffer without performer, so this extension
works on my Linux box.
With Performer my inspiration is the example file .../pguide/libpf/C/pbuffer.c
With my code and with the pbuffer.c example I obtain this :
PF Warning/Usage: pfWindow::open - window of type PFWIN_TYPE_PBUFFER - required
GLXFBConfig is NULL - set with ::setFBConfig.
and then a core dump!
But I call the setFBConfig function and my argument is not NULL. ??
The strange thing is in the file /usr/include/Performer/pr.h, if the system
is Linux pfGLXConfig is defined by void*, that means setFBConfig take a void*
as argument.
Why "void*" and not "GLXFBConfigSGIX" as on SGI?
That means GLX_SGIX_pbuffer extension is not implemented on Perf/Linux?
I don't want to use this extension specially, I just want to do off-screen rendering
on Linux with Performer, if someone has an other solution?
Thanks,
Alex
-- Alexandre Meyer <A.Meyer++at++cs.ucl.ac.uk> University College London, Virtual Environments and Computer Graphics Lab http://www.cs.ucl.ac.uk/staff/a.meyer
This archive was generated by hypermail 2b29 : Fri Aug 23 2002 - 14:09:53 PDT