mesa/src/mapi/glapi
Jonas Maebe bb30e76328 glapi: Correct size of allocated _glapi_table struct
The __glapi_gentable_set_remaining_noop() routine treats the _glapi_struct
as an array of _glapi_get_dispatch_table_size() pointers, so we have to
allocate _glapi_get_dispatch_table_size()*sizeof(void*) bytes rather
than sizeof(struct _glapi_struct) bytes.

Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
(cherry picked from commit 8d09f4d0cc)
2012-04-22 20:41:04 -07:00
..
gen glapi/glx: For GLX code, use the existing _X_HIDDEN and _X_INTERNAL defines 2011-12-13 16:07:17 -08:00
.gitignore glapi: Move to src/mapi/. 2010-05-07 10:41:11 +08:00
glapi.c mapi: Clean up u_current interface. 2010-12-18 15:05:52 +08:00
glapi.h mesa,glsl,mapi: Put extern "C" { ... } where appropriate. 2011-11-09 10:24:37 +00:00
glapi_dispatch.c glapi: Do not use glapidispatch.h. 2010-10-27 10:06:25 +08:00
glapi_entrypoint.c glapi: Clean up header inclusions. 2010-08-23 18:28:14 +08:00
glapi_gentable.c glapi: Correct size of allocated _glapi_table struct 2012-04-22 20:41:04 -07:00
glapi_getproc.c drivers/x11: unifdef XFree86Server 2010-11-29 17:37:54 -05:00
glapi_mapi_tmp.h glapi: regenerated API files for GL_ARB_texture_storage 2011-10-31 10:52:56 -06:00
glapi_nop.c mapi/glapi: Never use a generic no-op entry-point on Windows. 2012-02-02 15:43:10 +00:00
glapi_priv.h glapi: Include GLES2 headers for ES2 extension functions 2012-02-15 14:51:26 -08:00
glapi_sparc.S glapi: regenerated API files for GL_ARB_texture_storage 2011-10-31 10:52:56 -06:00
glapi_x86-64.S glapi: regenerated API files for GL_ARB_texture_storage 2011-10-31 10:52:56 -06:00
glapi_x86.S glapi: regenerated API files for GL_ARB_texture_storage 2011-10-31 10:52:56 -06:00
glapitable.h glapi: regenerated API files for GL_ARB_texture_storage 2011-10-31 10:52:56 -06:00
glapitemp.h glapi: regenerated API files for GL_ARB_texture_storage 2011-10-31 10:52:56 -06:00
glprocs.h glapi: regenerated API files for GL_ARB_texture_storage 2011-10-31 10:52:56 -06:00
glthread.c glapi: Move public function/variable declarations to glapi.h. 2010-08-21 14:13:59 +08:00
glthread.h mesa,glsl,mapi: Put extern "C" { ... } where appropriate. 2011-11-09 10:24:37 +00:00
Makefile mapi: Workaround a bug in makedepend. 2011-01-29 19:22:54 +08:00
SConscript Remove windows kernel support code. 2011-11-29 17:34:56 +00:00
sources.mak glapi: Add API that can create a _glapi_table from a dlfcn handle 2011-06-11 21:55:01 -07:00