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