[PATCH weston 2/2] weston-egl-ext: Define EGL tokens harder for old Mesa

Daniel Stone daniel at fooishbar.org
Thu Feb 12 00:47:28 PST 2015


Hi,

On Thursday, February 12, 2015, Bryce Harrington <bryce at osg.samsung.com>
wrote:

> On Wed, Feb 11, 2015 at 06:15:18PM +0000, Daniel Stone wrote:
> > Older versions of Mesa provided header definitions for the
> > EGL_WL_bind_wayland_display extension, but an earlier version of the
> > extension which only provided the (un)bind entrypoints, and not
> > QueryWaylandBuffer. Detect this half-provision and make sure we export
> > the QueryWaylandBuffer definitions as well.
> >
> > Fixes build failure with EGL on Ubuntu 12.04.
> >
> > Signed-off-by: Daniel Stone <daniels at collabora.com <javascript:;>>
>
> If I understand properly, this basically splits the definitions that
> were provided for when EGL_WL_bind_wayland_display is unavailable into
> two chunks, the first just declares wl_display and the bind api when
> EGL_WL_bind_wayland_display is missing, and the remainder only when
> EGL_WAYLAND_BUFFER_WL isn't available.  Ubuntu 12.04 has
> EGL_WL_bind_wayland_display defined but not EGL_WAYLAND_BUFFER_WL.
>
> Presuming my understanding's correct and assuming this has been verified
> as a fix on 12.04,
>

Exactly. Thanks for the review!

Cheers,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20150212/61762fe7/attachment.html>


More information about the wayland-devel mailing list