glapi: Store list of functions with static dispatch in a separate table
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 12 May 2015 22:11:09 +0000 (15:11 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Sat, 16 May 2015 03:22:32 +0000 (20:22 -0700)
commitd9be1db4b69a04f58a951351051ef9798d55da98
tree04a0e73b32937864c691e179c80915ea164aa147
parentd649fcf727bffa11a5426ebcf38f51f478664b17
glapi: Store list of functions with static dispatch in a separate table

The set of functions with static dispatch is (supposed to be) defined by
the Linux OpenGL ABI.  We export quite a few more functions than that
for historical reasons.  However, this list should never grow.

This table is used instead of the static_dispatch tag in the XML to
generate the static dispatch functions.  I used

    nm libGL.so | grep ' T gl[^X]' | sed 's/.* T //'

before and after the change.  diff showed no differences.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
src/mapi/glapi/gen/gl_XML.py
src/mapi/glapi/gen/static_data.py