summaryrefslogtreecommitdiff
path: root/progs/xdemos/pbutil.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-04-06 22:41:46 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-04-06 22:41:46 +0000
commitc61782958b00aeaac4dae3b24b6ff26a1be53e8b (patch)
tree18d34a9a1ef6e1a9f081b3a84ffcb7524ac36987 /progs/xdemos/pbutil.h
parentc3984fc01595e40cabc77ed45d9e76625a3152e2 (diff)
added wrappers/helpers for creating/destroying rendering contexts
Diffstat (limited to 'progs/xdemos/pbutil.h')
-rw-r--r--progs/xdemos/pbutil.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/progs/xdemos/pbutil.h b/progs/xdemos/pbutil.h
index e877f20625..e95b2565a2 100644
--- a/progs/xdemos/pbutil.h
+++ b/progs/xdemos/pbutil.h
@@ -46,6 +46,14 @@ extern XVisualInfo *
GetVisualFromFBConfig(Display *dpy, int screen, FBCONFIG config);
+extern GLXContext
+CreateContext(Display *dpy, int screen, FBCONFIG config);
+
+
+extern void
+DestroyContext(Display *dpy, GLXContext ctx);
+
+
extern PBUFFER
CreatePbuffer(Display *dpy, int screen, FBCONFIG config,
int width, int height, Bool preserve, Bool largest);