]> git.cworth.org Git - fips/blobdiff - eglwrap.c
Aggregate non-shader GPU operations into their own operations
[fips] / eglwrap.c
index f74ae40bc6abe0843bbb3e683ea64f816b5352a9..9e583895f888cc3c53939ea4f4855b48073b17cd 100644 (file)
--- a/eglwrap.c
+++ b/eglwrap.c
@@ -112,6 +112,7 @@ eglMakeCurrent (EGLDisplay display, EGLSurface draw, EGLSurface read,
 
        EGLWRAP_DEFER_WITH_RETURN (ret, eglMakeCurrent, display, draw, read, context);
 
+       metrics_set_current_op (METRICS_OP_SHADER + 0);
        metrics_counter_start ();
 
        return ret;