mesa/src/gallium/frontends
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
..
clover clover: Expose cl_khr_extended_versioning 2021-01-01 21:56:59 +01:00
dri gallium/dri: Use per-screen DRI extension list 2021-01-05 16:11:12 +00:00
glx/xlib glx/xlib: Build fix 2020-12-15 17:30:56 +00:00
hgl meson: use gnu_symbol_visibility argument 2020-06-01 18:59:18 +00:00
lavapipe lavapipe: add basic vulkan device group support. 2020-12-24 08:10:06 +10:00
nine gallium: inline pipe_depth_state to decrease DSA state size by 4 bytes 2020-12-22 12:01:38 +00:00
omx gallium/vl: merge identical h264/h265 enums 2021-01-05 11:29:11 +00:00
osmesa gallium/osmesa: Return cleanly for OSMesaGetDepthBuffer() with no depth. 2020-12-04 16:01:00 -08:00
va gallium/vl: merge identical h264/h265 enums 2021-01-05 11:29:11 +00:00
vdpau vdpau: fix invalid enum usage 2021-01-05 11:29:11 +00:00
wgl gallium: Add optional pipe_context to flush_frontbuffer 2020-12-14 23:31:37 +00:00
xa util: Add helgrind support for simple_mtx 2020-11-24 21:03:34 +00:00
xvmc gallium: Add optional pipe_context to flush_frontbuffer 2020-12-14 23:31:37 +00:00