summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/dispatch.h
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Select FEATURE_remap_table when multiple APIs are enabled.Chia-I Wu2010-11-021-1/+3
| | | | | | Core mesa should query glapi for the positions of the functions in _glapi_table when multiple APIs are supported. It does not know which glapitable.h glapi used.
* mesa: Remove unnecessary glapitable.h includes.Chia-I Wu2010-10-271-1/+0
| | | | | | | | | With 07b85457d95bcc70588584e9380c51cd63aa3a2b, glapitable.h is included by core mesa only to know the size of _glapi_table. It is not necessary as the same info is given by _gloffset_COUNT. This change makes _glapi_table opaque to core mesa. All operations on it are supposed to go through one of the SET/GET/CALL macros.
* glapi: Merge glapioffsets.h into glapidispath.h.Chia-I Wu2010-10-271-1/+0
| | | | | | | | | Move defines in glapioffsets.h to glapidispatch.h. Rename _gloffset_FIRST_DYNAMIC to _gloffset_COUNT, which is equal to the number of entries in _glapi_table. Consistently use SET_by_offset, GET_by_offset, CALL_by_offset, and _gloffset_* to recursively define all SET/GET/CALL macros.
* glapi: Move glapidispatch.h to core mesa.Chia-I Wu2010-10-271-1/+1
| | | | It is a core mesa header, not a glapi header.
* mesa: Move src/mesa/glapi/dispatch.h to mesa.Chia-I Wu2010-02-251-0/+37
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.