From 8b10c528044840d6c2a6244034fc6c2555476b8e Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 8 Nov 2013 12:58:06 +0000 Subject: [PATCH] intel-virtual-output: Add DBG for the latest XSync Signed-off-by: Chris Wilson --- tools/virtual.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/virtual.c b/tools/virtual.c index 74a03e8..b1527df 100644 --- a/tools/virtual.c +++ b/tools/virtual.c @@ -1363,6 +1363,9 @@ static int clone_paint(struct clone *c) if (c->dst.display->send++ == 0) return EAGAIN; + DBG(("%s-%s forcing sync (last SHM serial: %ld, now %ld)\n", + DisplayString(c->dst.dpy), c->dst.name, + (long)c->dst.serial, (long)LastKnownRequestProcessed(c->dst.dpy))); XSync(c->dst.dpy, False); c->dst.display->flush = 0; c->dst.display->send = 0; -- 2.7.4