Daniel Stone e82d039ec2 wayland/buffer: Create EGLImage with no context
Since a wl_buffer is independent of the GL context in use (unlike, e.g.,
a GL renderbuffer), EGLImages with the EGL_WAYLAND_BUFFER_WL target must
pass EGL_NO_CONTEXT as the context. Quoting from the
EGL_WL_bind_wayland_display spec:

    After querying the wl_buffer layout, create EGLImages for the
    planes by calling eglCreateImageKHR with wl_buffer as
    EGLClientBuffer, EGL_WAYLAND_BUFFER_WL as the target, NULL
    context.

The check was already present inside _cogl_egl_create_image.

https://bugzilla.gnome.org/show_bug.cgi?id=785263
Signed-off-by: Daniel Stone <daniels@collabora.com>
2017-07-22 14:22:03 +02:00
2017-02-16 02:44:16 +01:00
2015-07-06 00:52:18 -07:00
2017-07-10 02:06:59 +02:00
2014-03-18 20:37:35 -04:00
2017-05-11 13:45:12 +02:00
2017-07-19 20:49:41 +02:00
2016-04-27 20:37:47 +02:00
2014-07-31 17:50:28 +02:00
2017-07-19 20:49:41 +02:00
Description
91 MiB
Languages
C 98.9%
Meson 0.7%
Python 0.3%