mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 03:20:46 -05:00
wayland: Trace wl_surface.commit
https://gitlab.gnome.org/GNOME/mutter/merge_requests/765
This commit is contained in:
parent
908203c735
commit
a957c2f0c2
@ -30,6 +30,7 @@
|
|||||||
#include "backends/meta-cursor-tracker-private.h"
|
#include "backends/meta-cursor-tracker-private.h"
|
||||||
#include "clutter/clutter.h"
|
#include "clutter/clutter.h"
|
||||||
#include "clutter/wayland/clutter-wayland-compositor.h"
|
#include "clutter/wayland/clutter-wayland-compositor.h"
|
||||||
|
#include "cogl/cogl-trace.h"
|
||||||
#include "cogl/cogl-wayland-server.h"
|
#include "cogl/cogl-wayland-server.h"
|
||||||
#include "compositor/meta-surface-actor-wayland.h"
|
#include "compositor/meta-surface-actor-wayland.h"
|
||||||
#include "compositor/meta-surface-actor.h"
|
#include "compositor/meta-surface-actor.h"
|
||||||
@ -870,6 +871,9 @@ cleanup:
|
|||||||
static void
|
static void
|
||||||
meta_wayland_surface_commit (MetaWaylandSurface *surface)
|
meta_wayland_surface_commit (MetaWaylandSurface *surface)
|
||||||
{
|
{
|
||||||
|
COGL_TRACE_BEGIN_SCOPED (MetaWaylandSurfaceCommit,
|
||||||
|
"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))
|
||||||
meta_wayland_buffer_realize (surface->pending->buffer);
|
meta_wayland_buffer_realize (surface->pending->buffer);
|
||||||
|
Loading…
Reference in New Issue
Block a user