[mutter/gbsneto/graphene-ray: 3/14] clutter/stage: Add pick trace
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/gbsneto/graphene-ray: 3/14] clutter/stage: Add pick trace
- Date: Mon, 26 Oct 2020 12:48:32 +0000 (UTC)
commit 8a709b5766788d89bdb4cb22dfd01d83186589cc
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Sat Oct 17 12:24:13 2020 -0300
clutter/stage: Add pick trace
It will help profiling picking times, and compare this future patches
with status quo.
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1509
clutter/clutter/clutter-stage.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/clutter/clutter/clutter-stage.c b/clutter/clutter/clutter-stage.c
index 2a6a7e9be6..9d1211076d 100644
--- a/clutter/clutter/clutter-stage.c
+++ b/clutter/clutter/clutter-stage.c
@@ -1397,6 +1397,8 @@ _clutter_stage_do_pick_on_view (ClutterStage *stage,
g_assert (context->pick_mode == CLUTTER_PICK_NONE);
+ COGL_TRACE_BEGIN_SCOPED (ClutterStagePickView, "Pick (view)");
+
if (mode != priv->cached_pick_mode)
{
ClutterPickContext *pick_context;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]