GNOME Bugzilla – Bug 704750
egl: don't bind the wayland display if the extension is not available
Last modified: 2013-09-16 18:00:12 UTC
When running in a purely swrast environment (such as with LIBGL_ALWAYS_SOFTWARE), the extension is not exposed by mesa, but wayland is still possible with wl_shm.
Created attachment 249901 [details] [review] egl: don't bind the wayland display if the extension is not available
Marking for review for 3.10, because this blocks running mutter-wayland on any form of SW rendering.
I've pushed the patch to the master and 1.16 branches. I think we also need some way to report that the extension isn't available, perhaps via a feature flag. We should also make cogl_texture_2d_new_from_wayland_buffer fail with an error instead of crashing in that case. But those are both separate issues.