040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * Mesa 3-D graphics library
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * Version: 6.5
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * Copyright (C) 1999-2006 Brian Paul All Rights Reserved.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * Permission is hereby granted, free of charge, to any person obtaining a
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * copy of this software and associated documentation files (the "Software"),
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * to deal in the Software without restriction, including without limitation
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * the rights to use, copy, modify, merge, publish, distribute, sublicense,
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * and/or sell copies of the Software, and to permit persons to whom the
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * Software is furnished to do so, subject to the following conditions:
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * The above copyright notice and this permission notice shall be included
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * in all copies or substantial portions of the Software.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * \mainpage Mesa GL API Module
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * \section GLAPIIntroduction Introduction
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * The Mesa GL API module is responsible for dispatching all the
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * gl*() functions. All GL functions are dispatched by jumping through
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * the current dispatch table (basically a struct full of function
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * pointers.)
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * A per-thread current dispatch table and per-thread current context
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * pointer are managed by this module too.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * This module is intended to be non-Mesa-specific so it can be used
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * with the X/DRI libGL also.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsynctypedef void (*_glapi_warning_func)(void *ctx, const char *str, ...);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync ** Define the GET_CURRENT_CONTEXT() macro.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync ** \param C local variable which will hold the current context.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncconst extern void *_glapi_Context;
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# define GET_CURRENT_CONTEXT(C) GLcontext *C = (GLcontext *) _glapi_tls_Context
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# define GET_CURRENT_CONTEXT(C) GLcontext *C = (GLcontext *) (_glapi_Context ? _glapi_Context : _glapi_get_context())
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# define GET_CURRENT_CONTEXT(C) GLcontext *C = (GLcontext *) _glapi_Context
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync#endif /* defined (GLX_USE_TLS) */
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync ** GL API public functions
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncextern void *
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncextern struct _glapi_table *
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync_glapi_begin_dispatch_override(struct _glapi_table *override);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync_glapi_check_table(const struct _glapi_table *table);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync_glapi_add_dispatch( const char * const * function_names,
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync const char * parameter_signature );
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncextern const char *