glave: cleanup codegen of trace functionality
authorPeter Lohrmann <peterl@valvesoftware.com>
Fri, 3 Apr 2015 19:03:44 +0000 (12:03 -0700)
committerPeter Lohrmann <peterl@valvesoftware.com>
Fri, 3 Apr 2015 19:03:44 +0000 (12:03 -0700)
commit358d0093bba2023abe187f1235818679b47b5e97
treef2e19fcaf3dfd6826bf6b3986a3fc5294961c5e9
parent3a9c63a3b33c476e096b23c95a61a2991954e167
glave: cleanup codegen of trace functionality

* Splits declarations from implementations so that the implementations can be done in separate files - some codegen'd, some manually written.
* Many of the declarations are now marked as extern.
* I tried to remove as many of the big conditional blocks of code in the script that were specific to a single function. There are certainly still conditionals for small changes, but many of the calls should follow a consistent path through the script now.
tools/glave/scripts/vk_generate.py
tools/glave/src/glv_extensions/glvtrace_xgl/CMakeLists.txt
tools/glave/src/glv_extensions/glvtrace_xgl/codegen/xgl_struct_size_helper.c [new file with mode: 0644]
tools/glave/src/glv_extensions/glvtrace_xgl/glvtrace_xgl_helpers.h [new file with mode: 0644]
tools/glave/src/glv_extensions/glvtrace_xgl/glvtrace_xgl_trace.c [new file with mode: 0644]