summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_state.c
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2005-02-02 00:54:45 +0000
committerIan Romanick <idr@us.ibm.com>2005-02-02 00:54:45 +0000
commit3fec8c24ec14a5e07953828beba7e03d6367ae34 (patch)
tree78c75edd264ddfa0d6225348af8faa9e5872400b /src/mesa/drivers/dri/r300/r300_state.c
parent6b158a7d23b8d2c290589a53d604f2e50d435922 (diff)
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.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_state.c')
0 files changed, 0 insertions, 0 deletions