egl: Factor out dri2_add_pbuffer_configs_for_visuals {device,surfaceless}.
authorMathias Fröhlich <mathias.froehlich@web.de>
Sun, 16 Feb 2020 10:13:43 +0000 (11:13 +0100)
committerMathias Fröhlich <mathias.froehlich@web.de>
Wed, 26 Feb 2020 05:53:50 +0000 (06:53 +0100)
commitf280c00ba6cd3b0d3a01ae2fc3085de89ec867ec
tree4e637a5490258ed06cf3698bc5829054b86e6a5d
parentd32c458de76c9e0cc08c9ee1a7de23c3fca69298
egl: Factor out dri2_add_pbuffer_configs_for_visuals {device,surfaceless}.

v2: dri2_add_configs_for_visuals -> dri2_add_pbuffer_configs_for_visuals

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3790>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3790>
src/egl/drivers/dri2/egl_dri2.c
src/egl/drivers/dri2/egl_dri2.h
src/egl/drivers/dri2/platform_device.c
src/egl/drivers/dri2/platform_surfaceless.c