summaryrefslogtreecommitdiff
path: root/src/mesa/main/remap.c
AgeCommit message (Collapse)Author
2010-11-02mesa: Allow contexts of different APIs to coexist.Chia-I Wu
This effectively redoes 1741ddb747ca0be284315adb4b6fe67ddf292d03 in a way that allows contexts of different APIs to coexist. First, the changes to the remap table are reverted. The remap table (driDispatchRemapTable) is always initialized in the same way regardless of the context API. es_generator.py is updated to use a local remap table, whose sole purpose is to help initialize its dispatch table. The local remap table and the global one are always different, as they use different glapidispatch.h. But the dispatch tables initialized by both remap tables are always compatible with glapi (libGL.so). Finally, the semantics of one_time_init are changed to per-api one-time initialization.
2010-05-02mesa: Include mfeatures.h before testing feature macrosKristian Høgsberg
2010-05-02mesa: #ifdef out more remap_table related code when disabled.José Fonseca
Seems to get everything building again here.
2010-04-27mesa: Move references to main/remap_helper.h to api_exec.cKristian Høgsberg
2010-04-10Fix copyright headers.Chia-I Wu
Update the warranty disclaimer to use the more general "THE AUTHORS OR COPYRIGHT HOLDERS". This is done manually on files created by me. Hope that I do not miss anything.
2010-02-25mesa: Move src/mesa/glapi/dispatch.h to mesa.Chia-I Wu
glapi/dispatch.h is a core Mesa header file. Move the header file to main/ to make this clear. It also becomes clear after this change that IN_DRI_DRIVER is only used in core Mesa to enable the remap table.
2009-11-05glapi: Include headers with directory prefixes.Chia-I Wu
This allows different sets of generated sources and headers to be used. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-23mesa/main: Add support for remap table.Chia-I Wu
This commit only adds the source files. It is supposed to replace the remap table in DRI drivers. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>