summaryrefslogtreecommitdiff
path: root/src/mesa/main/context.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-01-14 04:45:47 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-01-14 04:45:47 +0000
commit4d053ddae8cc48dd29a75e67290cd09ed995f5c3 (patch)
tree459fd91ead45c38bad818d7465360202210591ab /src/mesa/main/context.h
parent113edcc755cd6c86c7eba3929514f628d8c7c119 (diff)
added gl_initialize_context_data(), gl_free_context_data(). code clean-up
Diffstat (limited to 'src/mesa/main/context.h')
-rw-r--r--src/mesa/main/context.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/mesa/main/context.h b/src/mesa/main/context.h
index c31f524fcc..237b318440 100644
--- a/src/mesa/main/context.h
+++ b/src/mesa/main/context.h
@@ -1,4 +1,4 @@
-/* $Id: context.h,v 1.9 2000/01/05 04:36:17 brianp Exp $ */
+/* $Id: context.h,v 1.10 2000/01/14 04:45:47 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -97,11 +97,17 @@ extern GLcontext *gl_create_context( GLvisual *visual,
void *driver_ctx,
GLboolean direct);
+extern GLboolean gl_initialize_context_data( GLcontext *ctx,
+ GLvisual *visual,
+ GLcontext *share_list,
+ void *driver_ctx,
+ GLboolean direct );
+
+extern void gl_free_context_data( GLcontext *ctx );
+
extern void gl_destroy_context( GLcontext *ctx );
-/* Called by the driver after both the context and driver are fully
- * initialized. Currently just reads the config file.
- */
+
extern void gl_context_initialize( GLcontext *ctx );