summaryrefslogtreecommitdiff
path: root/src/mesa/es/main/APIspecutil.py
AgeCommit message (Collapse)Author
2010-01-04mesa/es: Generate code for special functions.Chia-I Wu
es_generator.py did not generate code for special functions. They were supposed to be defined elsewhere. But as a result, parameter checking was also skipped. This commit changes the way special functions are called so that parameter checking is always performed. When there is nothing to check, the check functions becomes macros expanding to the real functions, as an optimization. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-04mesa/es: Add APIspec.xml and its parser.Chia-I Wu
APIspec.xml is based on APIspec.txt. The new format has less code duplications and should be easier to read. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>