backend: Add a trace span for clutter_source_dispatch

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3417>
This commit is contained in:
Ivan Molodetskikh 2023-10-12 08:13:01 +04:00 committed by Marge Bot
parent 50980f995b
commit 8f5d0c236e

View File

@ -1142,6 +1142,8 @@ clutter_source_dispatch (GSource *source,
{
MetaBackendSource *backend_source = (MetaBackendSource *) source;
COGL_TRACE_BEGIN_SCOPED (Dispatch, "Meta::BackendSource::dispatch()");
dispatch_clutter_event (backend_source->backend);
return TRUE;