mapi: Add mapi and share the code with glapi.
authorChia-I Wu <olv@lunarg.com>
Fri, 23 Apr 2010 08:06:26 +0000 (16:06 +0800)
committerChia-I Wu <olv@lunarg.com>
Fri, 7 May 2010 02:41:11 +0000 (10:41 +0800)
commita73c6540d9a7f6e26d8568ba2fc522cb865f0a6c
treeedeb695b6ed24d3cb0016fbabadea48931de779f
parent296adbd545b8efd38c9ed508166b2de2764a444b
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.
21 files changed:
src/gles/Makefile
src/mapi/es1api/Makefile
src/mapi/glapi/Makefile
src/mapi/glapi/SConscript
src/mapi/glapi/glapi.c [deleted file]
src/mapi/glapi/glapi.h
src/mapi/glapi/glapi_entrypoint.c
src/mapi/glapi/glapi_execmem.c [deleted file]
src/mapi/glapi/glapi_getproc.c
src/mapi/glapi/glapi_priv.h
src/mapi/glapi/glthread.c
src/mapi/glapi/glthread.h
src/mapi/glapi/sources.mak
src/mapi/mapi/sources.mak [new file with mode: 0644]
src/mapi/mapi/u_compiler.h [new file with mode: 0644]
src/mapi/mapi/u_current.c [new file with mode: 0644]
src/mapi/mapi/u_current.h [new file with mode: 0644]
src/mapi/mapi/u_execmem.c [new file with mode: 0644]
src/mapi/mapi/u_execmem.h [new file with mode: 0644]
src/mapi/mapi/u_thread.c [new file with mode: 0644]
src/mapi/mapi/u_thread.h [new file with mode: 0644]