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