From aabb76b85595e211560d2d01b1f78c9188ea5e51 Mon Sep 17 00:00:00 2001 From: Mark Janes Date: Mon, 3 Apr 2017 21:09:11 -0700 Subject: 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. --- lib/trace/trace_parser.hpp | 1 - 1 file changed, 1 deletion(-) (limited to 'lib') 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 { -- cgit v1.2.3