OSDN Git Service

wayland: Use private event queue for compositor communication
authorPhilipp Kerling <pkerling@casix.org>
Tue, 13 Jun 2017 07:45:30 +0000 (09:45 +0200)
committerXiang, Haihao <haihao.xiang@intel.com>
Thu, 15 Jun 2017 08:25:39 +0000 (16:25 +0800)
commitce938c3bd53c6572c71cbd98a6b7de69db24276b
treedcfd8da1cff471a88f1bab03edc999fb2f09029f
parente50d1074997c3acfc26cb2d3382ec659988f51f4
wayland: Use private event queue for compositor communication

(Ab)using the default queue that the application might itself use
already and work on in parallel to initializing libva is not
thread-safe. Make it thread-safe by setting a private queue on a
wrapped wl_display. Also print some more error messages in case things
go wrong.

Signed-off-by: Philipp Kerling <pkerling@casix.org>
Signed-off-by: Olivier Crete <olivier.crete@collabora.com>
va/wayland/va_wayland_drm.c