X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=common%2Ftrace_tools.hpp;h=ddfe888cbcf206eeaeb983c2220fc1529ee96393;hb=56ad11c7849c7e6ca0ad66558cb1a99c58d4cd3d;hp=7ca908af60c6a3f4e614bd8dc29dc00ce90bd0cf;hpb=447b3d5c7402b0a9e780a26dfed76376e723ac94;p=apitrace diff --git a/common/trace_tools.hpp b/common/trace_tools.hpp index 7ca908a..ddfe888 100644 --- a/common/trace_tools.hpp +++ b/common/trace_tools.hpp @@ -29,23 +29,12 @@ #include -#include "os_string.hpp" +#include "trace_api.hpp" namespace trace { -enum API { - API_GL, // GL + GLX/WGL/CGL - API_EGL, // GL/GLES1/GLES2/VG + EGL -}; - - -os::String -findFile(const char *relPath, // path relative to the current program - const char *absPath, // absolute path - bool verbose); - int traceProgram(API api, char * const *argv,