diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-11-08 12:58:06 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-11-08 12:58:06 +0000 |
commit | 8b10c528044840d6c2a6244034fc6c2555476b8e (patch) | |
tree | 3811120ccec827a5a75d1cad10ec2ae6bed6907f | |
parent | 969b064f74e0058a49afa17287184005d1e11402 (diff) |
intel-virtual-output: Add DBG for the latest XSync
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | tools/virtual.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/virtual.c b/tools/virtual.c index 74a03e81..b1527dff 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; |