Mesa (master): glapi: Add API that can create a _glapi_table from a dlfcn handle
Jeremy Huddleston
jeremyhu at kemper.freedesktop.org
Sun Jun 12 05:18:23 UTC 2011
Module: Mesa
Branch: master
Commit: 85937f4c0d4a78d3a11e3c1fa6148640f2a9ad7b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=85937f4c0d4a78d3a11e3c1fa6148640f2a9ad7b
Author: Jeremy Huddleston <jeremyhu at apple.com>
Date: Thu Jun 9 16:59:49 2011 -0700
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 at apple.com>
---
src/mapi/glapi/gen/Makefile | 9 +-
src/mapi/glapi/gen/gl_gentable.py | 131 +
src/mapi/glapi/glapi.h | 4 +
src/mapi/glapi/glapi_gentable.c | 7804 +++++++++++++++++++++++++++++++++++++
src/mapi/glapi/sources.mak | 1 +
5 files changed, 7947 insertions(+), 2 deletions(-)
Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=85937f4c0d4a78d3a11e3c1fa6148640f2a9ad7b
More information about the mesa-commit
mailing list