summaryrefslogtreecommitdiff
path: root/src/mapi/mapi/mapi_tmp.h
AgeCommit message (Collapse)Author
2011-01-20mapi: Add support for bridge mode.Chia-I Wu
In bridge mode, mapi no longer implements glapi.h. It becomes a user of glapi.h. Imagine an app that uses both libGL.so and libGLESv2.so. There will be two copies of glapi in the app's memory. It is possible that _glapi_get_dispatch does not return what _glapi_set_dispatch set, if they access different copies of the global variables. The solution to this situation to build either one of the libraries as a bridge to the other. Or build both libraries as bridges to another shared glapi library.
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-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.