]> git.cworth.org Git - apitrace/commit
Introduce AttribArray, a code generator for pseudo-type attrib_list.
authorAndreas Hartmetz <ahartmetz@gmail.com>
Sun, 7 Jul 2013 20:51:12 +0000 (22:51 +0200)
committerAndreas Hartmetz <ahartmetz@gmail.com>
Mon, 8 Jul 2013 11:24:23 +0000 (13:24 +0200)
commitba7bb0d584f82da2de0db2af720c037ca386c945
tree61cbb0d2bcf7f3a4f6e783a75f976f6c6d608255
parentea39b2cd2442e66eb5f65055a4042bacfc3ec1ca
Introduce AttribArray, a code generator for pseudo-type attrib_list.

Also use it for glXCreateConfigAttribsARB, which gives the expected
correct dumps in qapitrace and glretrace dump.
Nothing needs to change in dump code because it just reads whatever
types were written during tracing. Writing different types into
different array elements is allowed by the format, and it turns out
that even older versions of apitrace will correctly display dumps
created with this patch.
specs/glxapi.py
specs/stdapi.py
wrappers/trace.py