blob: d13c969c4c82bc35c8707172c975074e71433470 [file] [log] [blame]
Brian Paul21666e32002-10-05 18:30:13 +00001
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
18extern int
19QueryPbuffers(Display *dpy, int screen);
20
21
22#ifdef GLX_SGIX_fbconfig
23
24
25extern void
26PrintFBConfigInfo(Display *dpy, GLXFBConfigSGIX fbConfig, Bool horizFormat);
27
28
29extern GLXPbufferSGIX
30CreatePbuffer( Display *dpy, GLXFBConfigSGIX fbConfig,
31 int width, int height, int *pbAttribs );
32
33
34#endif /*GLX_SGIX_fbconfig*/
35
36
37#endif /*PBUTIL_H*/