diff options
author | Brian Paul <[email protected]> | 2005-04-06 22:41:46 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-04-06 22:41:46 +0000 |
commit | c61782958b00aeaac4dae3b24b6ff26a1be53e8b (patch) | |
tree | 18d34a9a1ef6e1a9f081b3a84ffcb7524ac36987 /progs/xdemos/pbutil.h | |
parent | c3984fc01595e40cabc77ed45d9e76625a3152e2 (diff) |
added wrappers/helpers for creating/destroying rendering contexts
Diffstat (limited to 'progs/xdemos/pbutil.h')
-rw-r--r-- | progs/xdemos/pbutil.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/progs/xdemos/pbutil.h b/progs/xdemos/pbutil.h index e877f20625d..e95b2565a23 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); |