weston/clients
Emmanuel Gil Peyrot 8ef2957873 clients: Fix a few issues in simple-dmabuf-intel
Those were found while working on simple-dmabuf-v4l, as found in the
next patch of this series.

After each buffer’s params were ready to be submitted to the
compositor, a roundtrip was done, which is wasteful since we can do it
only once after having queued all the params we want.  Removing those
nested roundtrips also prevent the potentially dangerous side-effect of
calling callbacks for later events while previous events were still
being processed.

An extraneous surface damage was also removed.

Signed-off-by: Emmanuel Gil Peyrot <emmanuel.peyrot@collabora.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>

Differential Revision: https://phabricator.freedesktop.org/D344
2016-01-11 13:31:48 -06: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 desktop-shell: Rename protocol weston_desktop_shell 2015-11-19 14:58:58 +02:00
dnd.c Moved helper macro to a discrete include file. 2015-06-15 17:11:45 -07:00
editor.c Use text input protocol from wayland-protocols 2015-11-19 13:07:10 +02:00
eventdemo.c Coding style fixes 2015-08-07 12:01:22 -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 Use fullscreen-shell.xml from wayland-protocols 2015-11-19 12:50:56 +02:00
gears.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
image.c cosmetic: Remove a few double semicolons 2015-10-07 11:22:03 -07:00
ivi-shell-user-interface.c hmi-controller: allocate background surfaces for multi-screen 2015-12-14 13:16:11 +02:00
keyboard.c Use input method protocol from wayland-protocols 2015-11-19 13:17:59 +02: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 Rename screenshooter protocol to weston_screenshooter 2015-11-19 15:07:24 +02:00
simple-damage.c simple-damage: Add --use-damage-buffer flag 2015-12-03 09:54:37 -06:00
simple-dmabuf-intel.c clients: Fix a few issues in simple-dmabuf-intel 2016-01-11 13:31:48 -06:00
simple-egl.c Use xdg_shell protocol from wayland-protocols 2015-11-19 14:49:52 +02:00
simple-shm.c Use xdg_shell protocol from wayland-protocols 2015-11-19 14:49:52 +02:00
simple-touch.c Moved helper macro to a discrete include file. 2015-06-15 17:11:45 -07:00
smoke.c smoke: Don't post extra damage 2015-11-20 15:27:55 +02:00
stacking.c clients: Correct drawing glitch in stacking demo 2015-10-21 16:57:47 -05:00
subsurfaces.c Use [x]zalloc instead of [x]malloc + memset 2015-08-07 11:59:10 -07:00
terminal.c terminal: allow copy-paste when selection is scrolled out 2015-09-22 18:37:19 -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 weston-info: display output scale 2015-12-18 17:45:30 +02:00
weston-simple-im.c Use input method protocol from wayland-protocols 2015-11-19 13:17:59 +02:00
window.c clients: Adjust grammar of comment for toysurface->prepare function pointer 2015-11-23 19:28:47 -08:00
window.h toytoolkit: Remove window_damage() 2015-11-20 15:27:55 +02:00