egl/wayland: resolve quirky try_damage_buffer() implementation
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 13 Jan 2017 17:27:56 +0000 (17:27 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 18 Jan 2017 16:01:15 +0000 (16:01 +0000)
commitaf4a298719e7b70cae6592c923ffbed9d4dc3678
treefabb09068eb3ae7818f8f7cec58d2e8ded6d3c04
parent687cf37bbe724d3bd910d5d8c55eb27e1b196f65
egl/wayland: resolve quirky try_damage_buffer() implementation

The implementation was added with commit d085a5dff5b and effectively
provided a hidden dependency.

Namely: the codepath used was determined solely during build time. Thus
if we built again new wayland and then run against older (yet still
within the requirements, as per the configure) one will get undefined
symbols.

As of earlier commit 36b9976e1f9 "egl/wayland: Avoid race conditions
when on non-main thread" the required version was bumped to one which
provides the API, thus we can drop the quirky solution.

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