glapi/gen: Gather API version info across aliased functions.
authorPaul Berry <stereotype441@gmail.com>
Tue, 30 Oct 2012 23:21:18 +0000 (16:21 -0700)
committerPaul Berry <stereotype441@gmail.com>
Tue, 6 Nov 2012 20:57:44 +0000 (12:57 -0800)
commit91b5a741f6788412799324ca11ff28f0d6afa066
treed437bbb0d013022cabe042d1fba01834ce18011f
parentccd872824b68943b9dffaabdcb3e928a1eebc8fa
glapi/gen: Gather API version info across aliased functions.

gl_XML.py's gl_function class keeps track of an entry_point_api_map
property that tracks, for each set of aliased functions, which ES1 or
ES2 version the given function name first appeared in.

This patch aggregates that information together across aliased
functions, into an easier-to-use api_map property.

Future patches will use this information when code generating
_mesa_create_exec_table(), to determine which set of dispatch table
entries should be populated based on the API.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mapi/glapi/gen/gl_XML.py