History log of /external/mesa3d/src/mapi/mapi/entry.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3f04314ae2659748c8cf73ec649a035bc9e01597 21-Jan-2011 Chia-I Wu <olv@lunarg.com> mapi: ENTRY_CURRENT_TABLE_GET should be stringified.

So that it can be renamed to _glapi_get_dispatch.
/external/mesa3d/src/mapi/mapi/entry.c
97185bf2654f7e72d8bfcc216f905492655d4c77 16-Dec-2010 Chia-I Wu <olv@lunarg.com> mapi: Add support for bridge mode.

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.
/external/mesa3d/src/mapi/mapi/entry.c
96c52d16c1716b8974b5421342f53f36cb80c10f 24-Aug-2010 Chia-I Wu <olv@lunarg.com> mapi: u_current_table may be renamed.

When MAPI_MODE_GLAPI is defined, u_current_table is renamed to
_glapi_Dispatch or _glapi_tls_Dispatch. The ASM dispatchers should not
use hardcoded name.
/external/mesa3d/src/mapi/mapi/entry.c
e6a7ef3ca6d7f1843a7ea3f873c8f16fe9efc48e 24-Dec-2010 Chia-I Wu <olv@lunarg.com> mapi: Add and use entry_get_public.

Given a dispatch slot, entry_get_public returns the address of the
corresponding public entry point. There may be more than one of them.
But since they are all equivalent, it is fine to return any one of them.

With entry_get_public, the address of any public entry point can be
calculated at runtime when an assembly dispatcher is used. There is no
need to have a mapping table in such case. This omits the unnecessary
relocations from the binary.
/external/mesa3d/src/mapi/mapi/entry.c
0b76255714653ac84538dafa62676d9c075f21a3 24-Dec-2010 Vinson Lee <vlee@vmware.com> mapi: Remove unnecessary header.
/external/mesa3d/src/mapi/mapi/entry.c
de3994076ea673d71059c13dab78a327dd20896c 22-Apr-2010 Chia-I Wu <olv@lunarg.com> mapi: Add x86-64 dispatcher.
/external/mesa3d/src/mapi/mapi/entry.c
56eb5d7e852ab04b45ba09831e2c8fbadcda8c40 22-Apr-2010 Chia-I Wu <olv@lunarg.com> mapi: Add x86 dispatcher.
/external/mesa3d/src/mapi/mapi/entry.c
d4589d381697b4b3dd291a3c93a34370508ef1e8 23-Apr-2010 Chia-I Wu <olv@lunarg.com> mapi: Add a generic C dispatcher.

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.
/external/mesa3d/src/mapi/mapi/entry.c