mesa/src/gbm
Lucas Stach cb9ae4273d dri: add loader_dri_create_image helper
The DRI image extension already has two different ways to allocate an
image (with and without a modifier) and will soon grow a third one.
Add a helper, which handles calling the appropriate implementation to
get rid of code duplication in the winsys.

This convert the two obvious call sites (GBM dri and EGL wayland)
that profit from the code dedup.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8106>
2021-05-19 16:54:19 +00:00
..
backends/dri dri: add loader_dri_create_image helper 2021-05-19 16:54:19 +00:00
main gbm: add gbm_bo_get_fd_for_plane 2021-03-25 05:48:00 +00:00
Android.mk
Makefile.sources
gbm-symbols.txt gbm: add gbm_bo_get_fd_for_plane 2021-03-25 05:48:00 +00:00
meson.build meson: conditionally include -ldl in gbm pkg-config file 2020-08-31 09:14:57 +00:00