summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/remap.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: remove unused function _mesa_map_static_functions()Emil Velikov2016-06-131-20/+0
| | | | | | | | Unused as of commit 5a175127f38 ("dri: Remove all extension enabling utility functions") Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
* mesa/main: replace Elements() with ARRAY_SIZE()Brian Paul2015-03-021-1/+1
| | | | | | | | We've been using a mix of these two macros for a while now. Let's just use the later everywhere. It seems to be the convention used by other open-source projects. Acked-by: Ilia Mirkin <[email protected]>
* mesa: Use assert() instead of ASSERT wrapper.Matt Turner2015-02-231-1/+1
| | | | Acked-by: Eric Anholt <[email protected]>
* mesa: remove outdated version lines in commentsRico Schüller2013-06-051-1/+0
| | | | Signed-off-by: Brian Paul <[email protected]>
* mesa: remove #include "mfeatures.h" from numerous source filesBrian Paul2013-04-171-1/+0
| | | | | | None of the remaining FEATURE_x symbols in mfeatures.h are used anymore. Reviewed-by: Jordan Justen <[email protected]>
* mesa: remove FEATURE_remap_table from remap.[ch]Brian Paul2013-04-171-6/+0
| | | | | | It was always defined. Reviewed-by: Jordan Justen <[email protected]>
* mesa: Print more informative debug for _mesa_do_init_remap_table().Eric Anholt2013-01-251-2/+4
| | | | | | This is the same logic from _mesa_map_function_array(). Reviewed-by: Kenneth Graunke <[email protected]>
* 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]>