egl/wayland: Make swrast display_sync the correct queue
authorDerek Foreman <derekf@osg.samsung.com>
Thu, 22 Mar 2018 15:20:43 +0000 (10:20 -0500)
committerDaniel Stone <daniels@collabora.com>
Thu, 22 Mar 2018 15:27:35 +0000 (15:27 +0000)
commitaa18a63512ccfa4eb8bc5d043e8967738a465af4
tree90a48400af407ca7b977b0ba600b1e3ed9286d52
parent52fba3f45db72fda5e384162e593c29ef355e1ce
egl/wayland: Make swrast display_sync the correct queue

commit 03dd9a88b0be17ff0ce91e92f6902a9a85ba584a introduced per surface
queues, but the display_sync for swrast_commit_backbuffer remained on
the old queue.  This is likely to break when dispatching the correct
queue at the top of function (which can't dispatch the sync callback
we're waiting for).

The easiest known reproduction case is running weston-subsurfaces under
weston --use-pixman

Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
src/egl/drivers/dri2/platform_wayland.c