mesa/src/egl/drivers/dri2
Adam Jackson 4aebd86f9a egl/x11: pick the user requested screen
At the moment the user will pass the screen number via attribs, yet we
would throw that away. Reason being that the int *screen passed to
xcb_connect() is output only.

v2 (Emil):
 - split from a larger patch
 - use xcb_connect() returned screen, as fallback
 - use helper function only as needed

Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
2019-06-05 13:35:21 -04:00
..
egl_dri2.c egl: store the native surface pointer in struct _egl_surface 2019-05-14 12:41:14 +00:00
egl_dri2.h egl: store the native surface pointer in struct _egl_surface 2019-05-14 12:41:14 +00:00
egl_dri2_fallbacks.h
platform_android.c egl: store the native surface pointer in struct _egl_surface 2019-05-14 12:41:14 +00:00
platform_drm.c egl: store the native surface pointer in struct _egl_surface 2019-05-14 12:41:14 +00:00
platform_surfaceless.c egl: store the native surface pointer in struct _egl_surface 2019-05-14 12:41:14 +00:00
platform_wayland.c wayland/egl: Ensure correct buffer size when allocating 2019-05-14 15:33:35 +00:00
platform_x11.c egl/x11: pick the user requested screen 2019-06-05 13:35:21 -04:00
platform_x11_dri3.c egl: store the native surface pointer in struct _egl_surface 2019-05-14 12:41:14 +00:00
platform_x11_dri3.h