summaryrefslogtreecommitdiff
path: root/src/mapi/mapi
AgeCommit message (Collapse)Author
2010-12-18mapi: Add ABI-tag note.Chia-I Wu
TLS requires kernel >= 2.4.20. Per glapi.
2010-12-12mapi: Fix a warning in !THREADS build.Chia-I Wu
It should be u_thread_self, not _glthread_GetID.
2010-12-06mapi: Rewrite mapi_abi.py to get rid of preprocessor magic.Chia-I Wu
The preprocessor magic in mapi was nothing but obfuscation. Rewrite mapi_abi.py to generate real C code. This commit removes the hack added in 43121f20866bb89e8dac92bd92ec85a943704b7e.
2010-12-02mapi: Hack to avoid vgCreateFont being generated as vgCreateFontA.José Fonseca
Right fix is probably stop C-preprocessor abuse and stick 100% with scripted code generation.
2010-12-02WIN32_THREADS -> WIN32José Fonseca
Fixes nasty bug where some parts of the code didn't define WIN32_THREADS and were using the integer mutex implementation, causing even confusion to the debuggers. And there is little interest of other thread implemenation on Win32 besides Win32 threads.
2010-09-30mapi: Fix compiler warnings.Chia-I Wu
Do not use "void *" in arithmetics.
2010-08-21mapi: Use MAPI_EXPORT to export public functions.Chia-I Wu
mapi.h is included by vgapi and st/vega. On win32, the macro expands to dllexport and dllimport respectively.
2010-08-21mapi: Prefix functions in u_current.h by u_current.Chia-I Wu
That is, replace the old _glapi_* names by new names that start with u_current_. When MAPI_GLAPI_CURRENT is defined, u_current.h defines rename macros to restore the old names. That is done for ABI compatibility.
2010-08-21glapi: Move public function/variable declarations to glapi.h.Chia-I Wu
glapi defines an interface that is used by DRI drivers. It must not be changed in an ABI incompatible way. This commit moves all functions/variables belong to the interface to glapi.h. Instead of including u_current.h from glapi.h, u_current.h now includes glapi.h.
2010-06-20mapi: Add missing stdlib.h header for malloc declaration.Vinson Lee
2010-05-31Define PUBLIC to dllexport on MSVC.Chia-I Wu
Define PUBLIC to __declspec(dllexport) when _MVC_VER is defined.
2010-05-07mapi/glapi: Don't allocate a page for every function on windows.José Fonseca
2010-05-07mapi: Avoid Data Execution Prevention on windows.José Fonseca
2010-05-07mapi: Add x86-64 dispatcher.Chia-I Wu
2010-05-07mapi: Add x86 dispatcher.Chia-I Wu
2010-05-07mapi: Add a generic C dispatcher.Chia-I Wu
The idea is to have an API generate a header using mapi_abi.py. The API can then use the header to build a dispatcher.
2010-05-07mapi: Add mapi and share the code with glapi.Chia-I Wu
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.