diff options
author | Keith Packard <keithp@keithp.com> | 2013-11-26 03:07:55 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-12-05 09:48:02 -0800 |
commit | b121d62accb8c346b4e1b1bce99586e13712f04a (patch) | |
tree | 841c0003ca9ce23477afbe005e83fe5665a51bdb | |
parent | eafba23b34be31c141ddafb8380520ac9a0622ac (diff) |
present: Add a debug output line when skipping a pending present
When an application provides two pixmaps for the same MSC, the
previous one is skipped. This just dumps out some information at that point
Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
-rw-r--r-- | present/present.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/present/present.c b/present/present.c index f9eef6b26..f446febda 100644 --- a/present/present.c +++ b/present/present.c @@ -621,6 +621,11 @@ present_pixmap(WindowPtr window, if (vblank->crtc != target_crtc || vblank->target_msc != target_msc) continue; + DebugPresent(("\tx %lld %p %8lld: %08lx -> %08lx (crtc %p)\n", + vblank->event_id, vblank, target_msc, + vblank->pixmap->drawable.id, vblank->window->drawable.id, + vblank->crtc)); + present_pixmap_idle(vblank->pixmap, vblank->window, vblank->serial, vblank->idle_fence); present_fence_destroy(vblank->idle_fence); dixDestroyPixmap(vblank->pixmap, vblank->pixmap->drawable.id); |