glapi: Add API that can create a _glapi_table from a dlfcn handle
authorJeremy Huddleston <jeremyhu@apple.com>
Thu, 9 Jun 2011 23:59:49 +0000 (16:59 -0700)
committerJeremy Huddleston <jeremyhu@apple.com>
Sun, 12 Jun 2011 04:55:01 +0000 (21:55 -0700)
commit85937f4c0d4a78d3a11e3c1fa6148640f2a9ad7b
treef3b139670322e4e8beccc620bfcf09153e6d6aa1
parent837dc6101120a90f7a8d29ea45cf8e849a3542c2
glapi: Add API that can create a _glapi_table from a dlfcn handle

Example usage:

void *handle = dlopen(opengl_library_path, RTLD_LOCAL);
struct _glapi_table *disp = _glapi_create_table_from_handle(handle, "gl");

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
src/mapi/glapi/gen/Makefile
src/mapi/glapi/gen/gl_gentable.py [new file with mode: 0644]
src/mapi/glapi/glapi.h
src/mapi/glapi/glapi_gentable.c [new file with mode: 0644]
src/mapi/glapi/sources.mak