Commit 0b86c0c3 authored by Olivier Fourdan's avatar Olivier Fourdan
Browse files

xwayland: Add a flag for n-buffers in EGL backend

Using multiple window buffers crashes with EGLStream, which does not
need it anyway as this is handled through EGL directly.

Add a flag to the EGL backend to indicate whether it would benefit from
multiple buffers and use this in the get_buffer() function.

Thanks to Adam Jackson <> for pointing out that issue
with EGLStream.

v2: Fix logical test (Adam Jackson <>)
Signed-off-by: default avatarOlivier Fourdan <>
Reviewed-by: Adam Jackson's avatarAdam Jackson <>
parent ae84f14f
Pipeline #204395 passed with stages
in 4 minutes and 17 seconds