glave: Clean up codegen of glvreplay_xgl_replay.h.
authorPeter Lohrmann <peterl@valvesoftware.com>
Thu, 2 Apr 2015 18:45:31 +0000 (11:45 -0700)
committerPeter Lohrmann <peterl@valvesoftware.com>
Thu, 2 Apr 2015 20:07:59 +0000 (13:07 -0700)
commit75728227a4f55ca988fbadbff942cb435f84c2fb
tree82df34037c066d23949f198f34b0f37b2d669230
parent95c369a13a00fc26c6d7c56cefdadccef0ded097
glave: Clean up codegen of glvreplay_xgl_replay.h.

* The codegen'd part of the the xglReplay header was all related to remapping objects between the trace and replay. So I split that functionality into an xglReplayObjMapper class which is entirely codegen'd. The xglReplay class now has an instance of this class, which allows the xglReplay class to no longer need to be codegen'd.
* Update all calls to add_to_map(..), rm_from_map(..), and remap(..) to be called on the new m_objMapper member of xglReplay.
* The xglReplay class that used to be codegen'd into glvreplay_xgl_replay.h is now in glvreplay_xgl_xglreplay.h and is no longer codegen'd.
tools/glave/scripts/vk_generate.py
tools/glave/src/glv_extensions/glvreplay_xgl/CMakeLists.txt
tools/glave/src/glv_extensions/glvreplay_xgl/codegen/glvreplay_xgl_objmapper.h [moved from tools/glave/src/glv_extensions/glvreplay_xgl/codegen/glvreplay_xgl_replay.h with 84% similarity]
tools/glave/src/glv_extensions/glvreplay_xgl/codegen/glvreplay_xgl_replay_gen.cpp
tools/glave/src/glv_extensions/glvreplay_xgl/glvreplay_xgl.cpp
tools/glave/src/glv_extensions/glvreplay_xgl/glvreplay_xgl_xgldisplay.cpp
tools/glave/src/glv_extensions/glvreplay_xgl/glvreplay_xgl_xgldisplay.h
tools/glave/src/glv_extensions/glvreplay_xgl/glvreplay_xgl_xglreplay.cpp
tools/glave/src/glv_extensions/glvreplay_xgl/glvreplay_xgl_xglreplay.h [new file with mode: 0644]