mirror of
https://github.com/brl/mutter.git
synced 2024-11-28 19:10:43 -05:00
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
This commit is contained in:
parent
a43821311b
commit
8a709b5766
@ -1397,6 +1397,8 @@ _clutter_stage_do_pick_on_view (ClutterStage *stage,
|
|||||||
|
|
||||||
g_assert (context->pick_mode == CLUTTER_PICK_NONE);
|
g_assert (context->pick_mode == CLUTTER_PICK_NONE);
|
||||||
|
|
||||||
|
COGL_TRACE_BEGIN_SCOPED (ClutterStagePickView, "Pick (view)");
|
||||||
|
|
||||||
if (mode != priv->cached_pick_mode)
|
if (mode != priv->cached_pick_mode)
|
||||||
{
|
{
|
||||||
ClutterPickContext *pick_context;
|
ClutterPickContext *pick_context;
|
||||||
|
Loading…
Reference in New Issue
Block a user