From 8f91fb630c3292c6294384783d02e2e7402fc778 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 17 Dec 1999 14:51:28 +0000 Subject: added current context functions, made ThreadSafe public --- src/mesa/glapi/glapi.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'src/mesa/glapi/glapi.h') diff --git a/src/mesa/glapi/glapi.h b/src/mesa/glapi/glapi.h index 9f12b2c..5486819 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); -- cgit v1.1