Mike Blumenkrantz
2efa1ae0d5
dri: rename 'implicit' param from earlier series
...
I accidentally merged the wrong version of this, and this was supposed
to be the correct and more informative name
Acked-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29066 >
2024-05-07 15:19:23 +00:00
Mike Blumenkrantz
744307289c
frontends/dri: plumb an 'implicit' param through screen init
...
Acked-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28139 >
2024-04-22 23:25:58 +00:00
Mike Blumenkrantz
14c44aacff
dri: plumb a 'implicit' param through createNewScreen interfaces
...
Acked-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28139 >
2024-04-22 23:25:58 +00:00
Leandro Ribeiro
4d953efc28
dri: add queryCompatibleRenderOnlyDeviceFd() to __DRI_MESA extension
...
With this change we are able to query the render node fd of a
render-only device compatible with a given KMS-only device (at the
egl/dri2 level).
It uses pipe_loader_get_compatible_render_capable_device_fd(), which was
added in commit "pipe-loader: add
pipe_loader_get_compatible_render_capable_device_fd()".
Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com >
Reviewed-by: Simon Ser <contact@emersion.fr >
Reviewed-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24825 >
2023-10-17 20:31:13 +00:00
Emma Anholt
133e2f8ac3
dri: Add createContext hook to __DRI_MESA.
...
Again, reduces switching on driver type in the loader.
Reviewed-by: Adam Jackson <ajax@redhat.com >
Acked-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20069 >
2022-12-05 19:26:41 +00:00
Emma Anholt
cdc7475f72
gallium/dri: Move the backendVtable InitScreen func into __DRI_MESA.
...
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20069 >
2022-12-05 19:26:41 +00:00
Emma Anholt
4dd656e19a
dri: Add createNewScreen into the __DRI_MESA extension.
...
Now the loaders don't have to switch on dri2/dri3/swrast.
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20069 >
2022-12-05 19:26:41 +00:00
Emma Anholt
1026d29344
dri: Introduce internal Mesa DRI driver loader extension.
...
All DRI loaders in Mesa (EGL, GLX, gbm) now require this ext and that the
driver come from a matching build. This will let us use Mesa-internal
types and enums across the loader-driver bounary inside of Mesa.
Reviewed-by: Adam Jackson <ajax@redhat.com >
Acked-by: Eric Engestrom <eric@igalia.com >
LOL-YESed-by: Kristian Høgsberg <krh@bitplanet.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20069 >
2022-12-05 19:26:41 +00:00