present: Don't abandon presents which are already queued for flip
authorKeith Packard <keithp@keithp.com>
Thu, 12 Dec 2013 22:52:35 +0000 (14:52 -0800)
committerKeith Packard <keithp@keithp.com>
Fri, 20 Dec 2013 20:28:00 +0000 (12:28 -0800)
commite487babd525ef1bd016ec7b283fa08cf9e6c6f4f
tree6f744e001c30336d6fb45e023b1e9aaf4bb85ff9
parentca3a5b2a8f9f627bbaa9883e16512a21c2a0b81d
present: Don't abandon presents which are already queued for flip

Presents which are not marked 'queued' and are in the window present
list are waiting for the flip event; discarding those won't work very
well (it'll end up trashing displayed content for the next frame), so
skip over those when looking for duplicate frame presents

Signed-off-by: Keith Packard <keithp@keithp.com>
present/present.c