X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=cli%2Ftrace_analyzer.hpp;h=c344fb6af320100ef80b874976549b151318451d;hb=da7bbffeef688461351b45f95c14945142db5921;hp=ef89ad7a4eb0fc27a2f36d648b5da540fdcdb257;hpb=d7c738e13decf8a8a891008c51b437ccbe3434fb;p=apitrace diff --git a/cli/trace_analyzer.hpp b/cli/trace_analyzer.hpp index ef89ad7..c344fb6 100644 --- a/cli/trace_analyzer.hpp +++ b/cli/trace_analyzer.hpp @@ -29,6 +29,7 @@ #include #include "trace_callset.hpp" +#include "trace_fast_callset.hpp" #include "trace_parser.hpp" typedef unsigned TrimFlags; @@ -58,7 +59,7 @@ private: std::map texture_map; - std::set required; + trace::FastCallSet required; bool transformFeedbackActive; bool framebufferObjectActive; @@ -95,7 +96,7 @@ private: void requireDependencies(trace::Call *call); public: - TraceAnalyzer(TrimFlags trimFlags); + TraceAnalyzer(TrimFlags trimFlags = -1); ~TraceAnalyzer(); /* Analyze this call by tracking state and recording all the @@ -109,5 +110,5 @@ public: /* Return a set of all the required calls, (both those calls added * explicitly with require() and those implicitly depended * upon. */ - std::set *get_required(void); + trace::FastCallSet *get_required(void); };