]> git.cworth.org Git - apitrace/commit
dump-images: Execute glretrace from source dir when running uninstalled
authorCarl Worth <cworth@cworth.org>
Sun, 12 Aug 2012 23:36:48 +0000 (16:36 -0700)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Sun, 18 Nov 2012 14:33:57 +0000 (14:33 +0000)
commita684451ce345c9d3667921520a4a75e387811ad6
tree932d7ae6875101a4b8a33196cba0f7c3efed8320
parentca7283268b6ecc29d371624b908fd85c30024056
dump-images: Execute glretrace from source dir when running uninstalled

Previously, we've had code to carefully find wrappers and scripts
relative to an apitrace binary being run from an uninstalled
directory. This is extremely useful while testing an experimental
feature before installing said experimental code.

Similarly, provide a findProgram function to do the same thing for an
executable program and use it within "apitrace dump-images" when
invoking glretrace.
CMakeLists.txt
cli/cli_dump_images.cpp
common/trace_resource.cpp
common/trace_resource.hpp