meta/kms-impl: Emit trace message on page flips
It's sometimes useful to see the earliest point when the compositor became aware of a page flip. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3417>
This commit is contained in:

committed by
Marge Bot

parent
1f22b3a2e2
commit
5cbcf1c94f
@ -840,6 +840,10 @@ atomic_page_flip_handler (int fd,
|
||||
NULL,
|
||||
(gpointer *) &page_flip_data);
|
||||
|
||||
COGL_TRACE_MESSAGE ("atomic_page_flip_handler()",
|
||||
"[atomic] Page flip callback for CRTC (%u, %s)",
|
||||
crtc_id, meta_kms_impl_device_get_path (impl_device));
|
||||
|
||||
meta_topic (META_DEBUG_KMS,
|
||||
"[atomic] Page flip callback for CRTC (%u, %s), data: %p",
|
||||
crtc_id, meta_kms_impl_device_get_path (impl_device),
|
||||
|
Reference in New Issue
Block a user