]> git.cworth.org Git - fips/blobdiff - eglwrap.c
Add collection of (AMD_performance_monitor) performance counters to fips
[fips] / eglwrap.c
index 9e583895f888cc3c53939ea4f4855b48073b17cd..497779ce3fd2048f03f518a98f51c70575c37d07 100644 (file)
--- a/eglwrap.c
+++ b/eglwrap.c
@@ -112,6 +112,8 @@ eglMakeCurrent (EGLDisplay display, EGLSurface draw, EGLSurface read,
 
        EGLWRAP_DEFER_WITH_RETURN (ret, eglMakeCurrent, display, draw, read, context);
 
+       metrics_info_init ();
+
        metrics_set_current_op (METRICS_OP_SHADER + 0);
        metrics_counter_start ();