st/mesa: store mapping from perfmon counter to query type
[mesa.git] / src / mesa / state_tracker / st_cb_perfmon.h
index 0b195de47feb627671d79325532a439f794daf41..9864b0a15d2b502943cb293b1df19e1785ca27eb 100644 (file)
@@ -43,6 +43,20 @@ struct st_perf_counter_object
    int group_id;
 };
 
+/**
+ * Extra data per counter, supplementing gl_perf_monitor_counter with
+ * driver-specific information.
+ */
+struct st_perf_monitor_counter
+{
+   unsigned query_type;
+};
+
+struct st_perf_monitor_group
+{
+   struct st_perf_monitor_counter *counters;
+};
+
 /**
  * Cast wrapper
  */