weston/clients
Mario Kleiner c1809b230c presentation-shm: Allow setting of delay before surface.commit
A new optional parameter "-d msecs" allows to specify a
delay before the surface attach/damage/commit to shift
the point in time when a surface update is committed.

This allows to test how different client timings interact
with the compositors repaint timing.

Suggested by Pekka Paalanen.

Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Acked-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>

v2: Clarify the intent, doing a delay in window_create_feedback()
    is a bit surprising. Use nanosleep() instead of clock_nanosleep(),
    which may not support the chosen presentation clock.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
2015-07-16 13:51:03 +03:00
..
calibrator.c Moved helper macro to a discrete include file. 2015-06-15 17:11:45 -07:00
clickdot.c Unified multiple definitions of container_of() macro. 2015-06-15 17:11:58 -07:00
cliptest.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
desktop-shell.c Unified multiple definitions of container_of() macro. 2015-06-15 17:11:58 -07:00
dnd.c Moved helper macro to a discrete include file. 2015-06-15 17:11:45 -07:00
editor.c Moved helper macro to a discrete include file. 2015-06-15 17:11:45 -07:00
eventdemo.c Moved helper macro to a discrete include file. 2015-06-15 17:11:45 -07:00
flower.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
fullscreen.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
gears.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
image.c Remove redundant #include path component. 2015-06-15 17:11:09 -07:00
ivi-shell-user-interface.c Moved helper macro to a discrete include file. 2015-06-15 17:11:45 -07:00
keyboard.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
multi-resource.c Remove redundant #include path component. 2015-06-15 17:11:09 -07:00
nested-client.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
nested.c Moved the MIN() macro to the helper include. 2015-06-15 17:11:52 -07:00
presentation-shm.c presentation-shm: Allow setting of delay before surface.commit 2015-07-16 13:51:03 +03:00
resizor.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
scaler.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
screenshot.c Remove redundant #include path component. 2015-06-15 17:11:09 -07:00
simple-damage.c Remove redundant #include path component. 2015-06-15 17:11:09 -07:00
simple-egl.c Remove redundant #include path component. 2015-06-15 17:11:09 -07:00
simple-shm.c Remove redundant #include path component. 2015-06-15 17:11:09 -07:00
simple-touch.c Moved helper macro to a discrete include file. 2015-06-15 17:11:45 -07:00
smoke.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
stacking.c Moved helper macro to a discrete include file. 2015-06-15 17:11:45 -07:00
subsurfaces.c Moved helper macro to a discrete include file. 2015-06-15 17:11:45 -07:00
terminal.c Moved helper macro to a discrete include file. 2015-06-15 17:11:45 -07:00
transformed.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
weston-info.c Moved the MIN() macro to the helper include. 2015-06-15 17:11:52 -07:00
weston-simple-im.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
window.c clients: Simplify memory allocation with xzalloc() 2015-07-10 00:15:42 -07:00
window.h Unified multiple definitions of container_of() macro. 2015-06-15 17:11:58 -07:00