#include <GL/glext.h>
#include "trace_callset.hpp"
+#include "trace_fast_callset.hpp"
#include "trace_parser.hpp"
typedef unsigned TrimFlags;
std::map<GLenum, unsigned> texture_map;
- std::set<unsigned> required;
+ trace::FastCallSet required;
bool transformFeedbackActive;
bool framebufferObjectActive;
void requireDependencies(trace::Call *call);
public:
- TraceAnalyzer(TrimFlags trimFlags);
+ TraceAnalyzer(TrimFlags trimFlags = -1);
~TraceAnalyzer();
/* Analyze this call by tracking state and recording all the
/* Return a set of all the required calls, (both those calls added
* explicitly with require() and those implicitly depended
* upon. */
- std::set<unsigned> *get_required(void);
+ trace::FastCallSet *get_required(void);
};