History log of /external/mesa3d/src/mapi/mapi/entry.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a91a337a7dce11b1904387072e90bdc8b9366638 24-Dec-2010 Chia-I Wu <olv@lunarg.com> mapi: Move mapi_func typedef to entry.h.

Make it clear that entry.h does not depend on stub.h.
/external/mesa3d/src/mapi/mapi/entry.h
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.h
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.h