aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/es_generator.py
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Allow contexts of different APIs to coexist.Chia-I Wu2010-11-021-43/+62
| | | | | | | | | | | | | | | | | | 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: Select FEATURE_remap_table when multiple APIs are enabled.Chia-I Wu2010-11-021-1/+1
| | | | | | 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-3/+2
| | | | | | | | | 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-2/+1
| | | | | | | | | 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: Assorted fixes for es_generator.py on win32.Chia-I Wu2010-08-231-0/+6
| | | | | Fix mixed use of GL_APIENTRY and GLAPIENTRY. Parameter list of a function prototype should never be empty.
* mesa: Decorate functions with GL_APIENTRY in es_generator.py.Chia-I Wu2010-08-201-2/+2
| | | | Note that GLES headers use GL_APIENTRY, not GLAPIENTRY.
* Update OpenGL ES headers.Chia-I Wu2010-05-311-3/+0
|
* glapi: Move to src/mapi/.Chia-I Wu2010-05-071-4/+4
| | | | Move glapi to src/mapi/{glapi,es1api,es2api}.
* mesa: Fix build of ES overlay.Chia-I Wu2010-05-051-2/+12
| | | | | | | ES overlay is built with FEATURE_ES1 or FEATURE_ES2, and is built without FEATURE_GL. Fix the build by always building OpenGL ES sources, but test for FEATURE_ES1 or FEATURE_ES2. Also, define symbols that are missing because FEATURE_GL is not defined.
* es: Prefix the get* functions with _es1/2 so they don't conflictKristian Høgsberg2010-04-271-0/+4
|
* mesa: Move api_exec_es*.c into mesa/mainKristian Høgsberg2010-04-271-0/+726
This requires renaming a few functions to have unique names so that they can all live within the same driver.