On Wed, 2018-05-30 at 11:30 +0200, Olivier Fourdan wrote:
> Add an optional egl_backend callback to check that the required Wayland
> interfaces are available.
>
> Signed-off-by: Olivier Fourdan
> ---
> hw/xwayland/xwayland-glamor.c | 9 +
> hw/xwayland/xwayland.c| 4
> hw/x
Reviewed-by: Lyude Paul
On Wed, 2018-05-30 at 11:19 +0200, Olivier Fourdan wrote:
> Check for "EGL_MESA_platform_gbm" in the avaiable EGL extensions, and
> try automatically EGL stream if not present.
>
> The command line options “-eglstream” is kept for compatibility to force
> the use of the E
Use the newly added “has_wl_interface” hook to check availability of
“wl_eglstream_display” and “wl_eglstream_controller” interfaces prior to
enable glamor with EGL Streams backend.
Signed-off-by: Olivier Fourdan
---
hw/xwayland/xwayland-glamor-eglstream.c | 21 +
1 file chan
Add an optional egl_backend callback to check that the required Wayland
interfaces are available.
Signed-off-by: Olivier Fourdan
---
hw/xwayland/xwayland-glamor.c | 9 +
hw/xwayland/xwayland.c| 4
hw/xwayland/xwayland.h| 7 +++
3 files changed, 20 insertions(+)
Use the newly added “has_wl_interface” hook to check availability of
“wl_drm” interface prior to enable glamor with GBM backend.
Signed-off-by: Olivier Fourdan
---
hw/xwayland/xwayland-glamor-gbm.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/hw/xwayland/xwayland-glamor-gb
Hi Lyude,
On Tue, May 29, 2018 at 7:54 PM, Lyude Paul wrote:
> On Mon, 2018-05-28 at 09:11 +0200, Olivier Fourdan wrote:
>
> [...]
> I agree that we need to check for the protocol availability of course, yet
> it doesn't mean we should ditch this patch.
>
> Imagine (I say imagine, I do not know
Check for "EGL_MESA_platform_gbm" in the avaiable EGL extensions, and
try automatically EGL stream if not present.
The command line options “-eglstream” is kept for compatibility to force
the use of the EGL streams backend.
Suggested-by: Ray Strode
Signed-off-by: Olivier Fourdan
---
v2: Use ep