mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 09:00:10 +01:00
surfaceless: Support EGL_WL_bind_wayland_display
Feature parity with the drm, x11, and wayland platforms. Gitlab: https://gitlab.freedesktop.org/mesa/mesa/issues/1870 Tested-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
parent
1264acdf4b
commit
3746ee912f
1 changed files with 4 additions and 0 deletions
|
|
@ -409,6 +409,10 @@ dri2_initialize_surfaceless(_EGLDriver *drv, _EGLDisplay *disp)
|
||||||
}
|
}
|
||||||
|
|
||||||
dri2_setup_screen(disp);
|
dri2_setup_screen(disp);
|
||||||
|
#ifdef HAVE_WAYLAND_PLATFORM
|
||||||
|
dri2_dpy->device_name = loader_get_device_name_for_fd(dri2_dpy->fd);
|
||||||
|
#endif
|
||||||
|
dri2_set_WL_bind_wayland_display(drv, disp);
|
||||||
|
|
||||||
if (!surfaceless_add_configs_for_visuals(drv, disp)) {
|
if (!surfaceless_add_configs_for_visuals(drv, disp)) {
|
||||||
err = "DRI2: failed to add configs";
|
err = "DRI2: failed to add configs";
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue