diff options
author | Mark Janes <mark.a.janes@intel.com> | 2017-04-03 21:09:11 -0700 |
---|---|---|
committer | Mark Janes <mark.a.janes@intel.com> | 2017-06-19 14:04:51 -0700 |
commit | aabb76b85595e211560d2d01b1f78c9188ea5e51 (patch) | |
tree | bf13f9fd61c669232b02f04f4f70b0a8dfec3c18 /lib | |
parent | c49e091b8949520b01c9d174dafb2f0121896c3f (diff) |
Support multiple contexts
Metrics can only be collected for a single context, with the current
implementation of INTEL_performance_query. Stop/start metrics before
and after context switches, and collect metrics from each context before
publishing.
Reorganize renders into contexts. Contexts contain renders for a GL
context, and manage state changes that must be intstrumented as contexts
switch.
Eliminate awkward checking of current context when retracing metrics.
Subsequent features (state tracking/uniforms) will be per-context.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/trace/trace_parser.hpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/trace/trace_parser.hpp b/lib/trace/trace_parser.hpp index dad9f9cf..747fb8f9 100644 --- a/lib/trace/trace_parser.hpp +++ b/lib/trace/trace_parser.hpp @@ -34,7 +34,6 @@ #include "trace_model.hpp" #include "trace_api.hpp" - namespace trace { |