Module: Mesa Branch: master Commit: a73c6540d9a7f6e26d8568ba2fc522cb865f0a6c URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a73c6540d9a7f6e26d8568ba2fc522cb865f0a6c
Author: Chia-I Wu <[email protected]> Date: Fri Apr 23 16:06:26 2010 +0800 mapi: Add mapi and share the code with glapi. Specifically, move all or most of glapi/glapi.c to mapi/u_current.c, glapi/glapi_execmem.c to mapi/u_execmem.c, glapi/glthread.[ch] to mapi/u_thread.[ch] and remove their dependencies on core Mesa headers. --- src/gles/Makefile | 14 +- src/mapi/es1api/Makefile | 54 +++-- src/mapi/glapi/Makefile | 31 ++- src/mapi/glapi/SConscript | 12 +- src/mapi/glapi/glapi.h | 112 +-------- src/mapi/glapi/glapi_entrypoint.c | 5 +- src/mapi/glapi/glapi_getproc.c | 8 +- src/mapi/glapi/glapi_priv.h | 6 - src/mapi/glapi/glthread.c | 262 +------------------- src/mapi/glapi/glthread.h | 258 +------------------ src/mapi/glapi/sources.mak | 2 - src/mapi/mapi/sources.mak | 6 + src/mapi/mapi/u_compiler.h | 48 ++++ src/mapi/{glapi/glapi.c => mapi/u_current.c} | 143 +++++------ src/mapi/mapi/u_current.h | 93 +++++++ .../{glapi/glapi_execmem.c => mapi/u_execmem.c} | 22 +- src/mapi/mapi/u_execmem.h | 7 + src/mapi/mapi/u_thread.c | 254 +++++++++++++++++++ src/mapi/mapi/u_thread.h | 200 +++++++++++++++ 19 files changed, 794 insertions(+), 743 deletions(-) Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=a73c6540d9a7f6e26d8568ba2fc522cb865f0a6c _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
