Fix a few tracing typos

They are missing the closing parenthesis. Add them.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/795
This commit is contained in:
Georges Basile Stavracas Neto 2019-09-12 14:30:44 -03:00
parent 850ef51879
commit 7a22f6fd3f
2 changed files with 3 additions and 3 deletions

View File

@ -2208,7 +2208,7 @@ meta_onscreen_native_swap_buffers_with_damage (CoglOnscreen *onscreen,
* animation earlier due to the animation being driven by some other monitor. * animation earlier due to the animation being driven by some other monitor.
*/ */
COGL_TRACE_BEGIN (MetaRendererNativeSwapBuffersWait, COGL_TRACE_BEGIN (MetaRendererNativeSwapBuffersWait,
"Onscreen (waiting for page flips"); "Onscreen (waiting for page flips)");
wait_for_pending_flips (onscreen); wait_for_pending_flips (onscreen);
COGL_TRACE_END (MetaRendererNativeSwapBuffersWait); COGL_TRACE_END (MetaRendererNativeSwapBuffersWait);
@ -2276,7 +2276,7 @@ meta_onscreen_native_swap_buffers_with_damage (CoglOnscreen *onscreen,
_cogl_winsys_egl_ensure_current (cogl_display); _cogl_winsys_egl_ensure_current (cogl_display);
COGL_TRACE_BEGIN (MetaRendererNativePostKmsUpdate, COGL_TRACE_BEGIN (MetaRendererNativePostKmsUpdate,
"Onscreen (post pending update"); "Onscreen (post pending update)");
if (!meta_kms_post_pending_update_sync (kms, &error)) if (!meta_kms_post_pending_update_sync (kms, &error))
{ {
if (!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_PERMISSION_DENIED)) if (!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_PERMISSION_DENIED))

View File

@ -872,7 +872,7 @@ static void
meta_wayland_surface_commit (MetaWaylandSurface *surface) meta_wayland_surface_commit (MetaWaylandSurface *surface)
{ {
COGL_TRACE_BEGIN_SCOPED (MetaWaylandSurfaceCommit, COGL_TRACE_BEGIN_SCOPED (MetaWaylandSurfaceCommit,
"WaylandSurface (commit"); "WaylandSurface (commit)");
if (surface->pending->buffer && if (surface->pending->buffer &&
!meta_wayland_buffer_is_realized (surface->pending->buffer)) !meta_wayland_buffer_is_realized (surface->pending->buffer))