]> git.cworth.org Git - fips/blobdiff - metrics.h
Restore metrics op after temporarily changing for non-shader operation
[fips] / metrics.h
index b5f985977a5a6ecbeec45024a1a45864a5b196c0..45fef33cabc93ae38d788be3950459d29970bede 100644 (file)
--- a/metrics.h
+++ b/metrics.h
@@ -77,6 +77,12 @@ metrics_counter_stop (void);
 void
 metrics_set_current_op (metrics_op_t op);
 
+/* Return the current metrics_op_t value, (the value most-recently-set
+ * with a call to metrics_set_current_op).
+ */
+metrics_op_t
+metrics_get_current_op (void);
+
 /* Should be called at the end of every function wrapper for a
  * function that ends a frame, (glXSwapBuffers and similar).
  *