Small refactor. Add glXFunctionIterator, which derrives from
authorIan Romanick <idr@us.ibm.com>
Wed, 2 Feb 2005 00:54:45 +0000 (00:54 +0000)
committerIan Romanick <idr@us.ibm.com>
Wed, 2 Feb 2005 00:54:45 +0000 (00:54 +0000)
commit3fec8c24ec14a5e07953828beba7e03d6367ae34
tree78c75edd264ddfa0d6225348af8faa9e5872400b
parent6b158a7d23b8d2c290589a53d604f2e50d435922
Small refactor.  Add glXFunctionIterator, which derrives from
glFunctionIterator and is used by GlxProto.  The difference between the two
iterator classes is that glXFunctionIterator skips functions that the GLX
protocol code does not care about.

Replace all the remaining occurances of glParameter::p_count_parameters and
glFunction::count_parameters with the count_parameter_list.

Add GlxProto::size_call to generate the C code to calculate 'compsize'.

These trivially modify the generated code.
src/mesa/glapi/glX_XML.py
src/mesa/glapi/glX_doc.py
src/mesa/glapi/glX_proto_send.py
src/mesa/glapi/glX_proto_size.py
src/mesa/glapi/gl_XML.py