summaryrefslogtreecommitdiffstats
path: root/progs/xdemos/pbutil.h
blob: d13c969c4c82bc35c8707172c975074e71433470 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

/*
 * OpenGL pbuffers utility functions.
 *
 * Brian Paul
 * April 1997
 */


#ifndef PBUTIL_H
#define PBUTIL_H


#define GLX_GLXEXT_PROTOTYPES
#include <GL/glx.h>


extern int
QueryPbuffers(Display *dpy, int screen);


#ifdef GLX_SGIX_fbconfig


extern void
PrintFBConfigInfo(Display *dpy, GLXFBConfigSGIX fbConfig, Bool horizFormat);


extern GLXPbufferSGIX
CreatePbuffer( Display *dpy, GLXFBConfigSGIX fbConfig,
	       int width, int height, int *pbAttribs );


#endif  /*GLX_SGIX_fbconfig*/


#endif  /*PBUTIL_H*/