aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/glapi.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>1999-12-17 14:51:28 +0000
committerBrian Paul <[email protected]>1999-12-17 14:51:28 +0000
commit8f91fb630c3292c6294384783d02e2e7402fc778 (patch)
treebaf85935350a9bd8d8b92c55051d633bc8c4ae2f /src/mesa/glapi/glapi.h
parentd3c070ca6a36daa765b1ad7f44e03e6671ad0490 (diff)
added current context functions, made ThreadSafe public
Diffstat (limited to 'src/mesa/glapi/glapi.h')
-rw-r--r--src/mesa/glapi/glapi.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/mesa/glapi/glapi.h b/src/mesa/glapi/glapi.h
index 9f12b2c08ef..5486819da53 100644
--- a/src/mesa/glapi/glapi.h
+++ b/src/mesa/glapi/glapi.h
@@ -1,4 +1,4 @@
-/* $Id: glapi.h,v 1.10 1999/12/16 17:33:44 brianp Exp $ */
+/* $Id: glapi.h,v 1.11 1999/12/17 14:51:29 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -34,11 +34,24 @@
struct _glapi_table;
+extern GLboolean _glapi_ThreadSafe;
+
+extern void *_glapi_CurrentContext;
+
+
extern void
_glapi_check_multithread(void);
extern void
+_glapi_set_current_context(void *context);
+
+
+extern void *
+_glapi_get_current_context(void);
+
+
+extern void
_glapi_set_dispatch(struct _glapi_table *dispatch);