[mutter/gbsneto/graphene-ray: 29/40] 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: 29/40] clutter/stage: Add pick trace
- Date: Tue, 20 Oct 2020 19:33:30 +0000 (UTC)
commit 0e6d5949a1915c268680390ba306ee0d320393ba
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 70661ede0c..91b5684a01 100644
--- a/clutter/clutter/clutter-stage.c
+++ b/clutter/clutter/clutter-stage.c
@@ -1398,6 +1398,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]