glapi: Move to src/mapi/.
[mesa.git] / src / mesa / main / context.h
index 09bf1777dabcfeaa31efcbdc7ce049849dd28c0a..c9f4d433a573569c6f476ee7f123370a06c0b9c2 100644 (file)
@@ -112,8 +112,20 @@ _mesa_initialize_context( GLcontext *ctx,
                           const struct dd_function_table *driverFunctions,
                           void *driverContext );
 
-extern void
-_mesa_initialize_context_extra(GLcontext *ctx);
+extern GLcontext *
+_mesa_create_context_for_api(gl_api api,
+                            const GLvisual *visual,
+                            GLcontext *share_list,
+                            const struct dd_function_table *driverFunctions,
+                            void *driverContext);
+
+extern GLboolean
+_mesa_initialize_context_for_api(GLcontext *ctx,
+                                gl_api api,
+                                const GLvisual *visual,
+                                GLcontext *share_list,
+                                const struct dd_function_table *driverFunctions,
+                                void *driverContext);
 
 extern void
 _mesa_free_context_data( GLcontext *ctx );