summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-04-17 23:45:20 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2015-04-18 12:37:42 +0100
commit7eaf593640d4479f850227252fd793bcb55be8d3 (patch)
tree7479780f4bd8c4125135d87c3bec25cde5cdcf8d /test
parent75d87762471e195dddd73056fc6a06e17db1c8b0 (diff)
sna/present: Reuse last cached swap msc/ust during a flip chain
Querying the known swap values is much slower than not! Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'test')
-rw-r--r--test/present-speed.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/present-speed.c b/test/present-speed.c
index ba062646..4d339041 100644
--- a/test/present-speed.c
+++ b/test/present-speed.c
@@ -249,7 +249,6 @@ static void run(Display *dpy, Window win, const char *name, unsigned options)
free(ev);
} while ((ev = (xcb_present_generic_event_t *)xcb_poll_for_special_event(c, Q)));
}
- assert(p);
b->busy = (options & NOCOPY) == 0;
if (b->fence.xid) {