summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/remap.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Allow contexts of different APIs to coexist.Chia-I Wu2010-11-021-5/+41
| | | | | | | | | | | | | | | | | | 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.
* mesa: Include mfeatures.h before testing feature macrosKristian Høgsberg2010-05-021-0/+2
|
* mesa: #ifdef out more remap_table related code when disabled.José Fonseca2010-05-021-3/+2
| | | | Seems to get everything building again here.
* mesa: Move references to main/remap_helper.h to api_exec.cKristian Høgsberg2010-04-271-38/+10
|
* Fix copyright headers.Chia-I Wu2010-04-101-5/+6
| | | | | | 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.
* mesa: Move src/mesa/glapi/dispatch.h to mesa.Chia-I Wu2010-02-251-2/+2
| | | | | | 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.
* glapi: Include headers with directory prefixes.Chia-I Wu2009-11-051-1/+1
| | | | | | This allows different sets of generated sources and headers to be used. Signed-off-by: Chia-I Wu <[email protected]>
* mesa/main: Add support for remap table.Chia-I Wu2009-10-231-0/+216
This commit only adds the source files. It is supposed to replace the remap table in DRI drivers. Signed-off-by: Chia-I Wu <[email protected]>