[gtk/matthiasc/for-master] gl: Disambiguate profiler marks



commit 1565f597c82bc5699c32d393cc24563f55c40f9b
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Jan 22 16:37:48 2020 -0500

    gl: Disambiguate profiler marks
    
    "render" was used for both GL and widgets. Oops.

 gsk/gl/gskglrenderer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gsk/gl/gskglrenderer.c b/gsk/gl/gskglrenderer.c
index 81970a61b7..ddead714c7 100644
--- a/gsk/gl/gskglrenderer.c
+++ b/gsk/gl/gskglrenderer.c
@@ -3485,7 +3485,7 @@ gsk_gl_renderer_do_render (GskRenderer           *renderer,
   gsk_profiler_push_samples (profiler);
 
   if (gdk_profiler_is_running ())
-    gdk_profiler_add_mark (start_time, cpu_time, "render", "");
+    gdk_profiler_add_mark (start_time, cpu_time, "GL render", "");
 
 #endif
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]