Brian Paul | 21666e3 | 2002-10-05 18:30:13 +0000 | [diff] [blame^] | 1 | /* $Id: pbutil.h,v 1.1 2002/10/05 18:30:13 brianp Exp $ */ |
| 2 | |
| 3 | /* |
| 4 | * OpenGL pbuffers utility functions. |
| 5 | * |
| 6 | * Brian Paul |
| 7 | * April 1997 |
| 8 | */ |
| 9 | |
| 10 | |
| 11 | #ifndef PBUTIL_H |
| 12 | #define PBUTIL_H |
| 13 | |
| 14 | |
| 15 | #define GLX_GLXEXT_PROTOTYPES |
| 16 | #include <GL/glx.h> |
| 17 | |
| 18 | |
| 19 | extern int |
| 20 | QueryPbuffers(Display *dpy, int screen); |
| 21 | |
| 22 | |
| 23 | #ifdef GLX_SGIX_fbconfig |
| 24 | |
| 25 | |
| 26 | extern void |
| 27 | PrintFBConfigInfo(Display *dpy, GLXFBConfigSGIX fbConfig, Bool horizFormat); |
| 28 | |
| 29 | |
| 30 | extern GLXPbufferSGIX |
| 31 | CreatePbuffer( Display *dpy, GLXFBConfigSGIX fbConfig, |
| 32 | int width, int height, int *pbAttribs ); |
| 33 | |
| 34 | |
| 35 | #endif /*GLX_SGIX_fbconfig*/ |
| 36 | |
| 37 | |
| 38 | #endif /*PBUTIL_H*/ |