mesa/src/gallium/frontends/dri
James Jones 80cfc5350c gallium/dri: Use per-screen DRI extension list
Some DRI extension features are enabled/disabled
based on capabilities of the gallium pipe_screen
associated with the DRI screen. Additionally, the
list of extensions enabled also varied based on
features requested by the screen creator. However,
prior to this change the extension list and
extension definition structures within it were
global variables, meaning the last screen
initialized ended up defining the DRI capabilities
of all screens.

This change instead stores a copy of the
extensions which vary per screen, as well as a
copy of the extension list itself in the gallium
DRI screen structure, allowing them to vary per
screen.

Closes: https://gitlab.freedesktop.org/drm/nouveau/issues/9

Signed-off-by: James Jones <jajones@nvidia.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7175>
2021-01-05 16:11:12 +00:00
..
Android.mk
dri2.c gallium/dri: Use per-screen DRI extension list 2021-01-05 16:11:12 +00:00
dri_context.c
dri_context.h
dri_drawable.c
dri_drawable.h
dri_helpers.c frontend/dri: plumb loader image cleanup callback 2020-12-15 06:05:27 +00:00
dri_helpers.h
dri_query_renderer.c egl: implement EGL_EXT_protected_surface support 2020-11-02 10:15:47 +01:00
dri_query_renderer.h
dri_screen.c driconf: add allow_incorrect_primitive_id option 2020-12-08 10:17:32 +01:00
dri_screen.h gallium/dri: Use per-screen DRI extension list 2021-01-05 16:11:12 +00:00
drisw.c Revert "st/dri: make sure software color-buffers are linear" 2020-12-16 09:25:59 +00:00
Makefile.sources
meson.build util: Add helgrind support for simple_mtx 2020-11-24 21:03:34 +00:00
SConscript driconf: drop now unused translation facility 2020-06-22 21:50:12 +00:00