mesa/src
Pierre-Eric Pelloux-Prayer c9806b3595 gallium: add pipe_screen::get_driver_pipe_screen
pipe_resource has a screen pointer, and some drivers expect to be able
to cast it to their specialized version.
This works fine until one of the debug driver is used, because in this
case the driver's pipe_screen subclass can't be obtained with a simple
cast.
To overcome this limitation, this commit introduce a new function with
a default implementation to get the real driver pipe_screen from the
generic interface.

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30587>
2024-09-09 09:13:51 +00:00
..
amd radv/video: Don't use multiple tasks for one encode operation 2024-09-09 06:55:03 +10:00
android_stub vulkan/android: Add helper to probe AHB support 2024-05-14 14:53:44 +00:00
asahi hk: wire up compression 2024-09-02 23:27:15 +00:00
broadcom v3dv: unconditionally expose VK_EXT_queue_family_foreign 2024-09-05 15:44:01 +00:00
c11 build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
compiler nir: CSE comparisons in atan2 2024-09-07 00:54:35 +00:00
drm-shim drm-shim: stub synobj_timeline_wait and query ioctl 2024-07-16 11:17:59 +02:00
egl meson: require dri3 modifiers 2024-09-06 17:34:17 +00:00
etnaviv etnaviv: isa: Add conv instruction 2024-08-30 01:53:18 +00:00
freedreno ci: update traces 2024-09-07 00:54:35 +00:00
gallium gallium: add pipe_screen::get_driver_pipe_screen 2024-09-09 09:13:51 +00:00
gbm meson: delete dri3 build option 2024-09-04 14:48:17 +00:00
getopt build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
glx meson: require dri3 modifiers 2024-09-06 17:34:17 +00:00
gtest build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
imagination pvr: emit tpu_tag_cdm_ctrl in compute stream when present 2024-08-14 18:07:41 +08:00
imgui
intel intel/executor: Small fixes to the help message 2024-09-07 16:32:50 +00:00
loader gallium: move loader_dri_create_image to dri frontend 2024-08-01 15:28:03 +00:00
mapi mesa: add KHR_shader_subgroup extension 2024-08-26 10:46:16 +08:00
mesa mesa: check for ARB_ES3_compatibility in format checks 2024-09-04 11:54:22 +00:00
microsoft microsoft/compiler: Move nir_lower_undef_to_zero out of the optimization loop 2024-09-03 21:53:24 +00:00
nouveau nvk: Use stride in the explicit modifier case for linear images 2024-09-06 19:37:09 +00:00
panfrost pan/kmod: Add timestamp uapi support 2024-09-09 09:15:47 +02:00
tool perfetto: Add Panfrost data sources to system.cfg 2024-08-22 18:33:45 +00:00
util util: Remove Vulkan-only formats from get_plane_width/height 2024-08-29 15:57:52 +00:00
virtio venus: avoid over-caching sfb cmds 2024-09-05 19:17:22 +00:00
vulkan meson: require dri3 modifiers 2024-09-06 17:34:17 +00:00
x11 meson: require dri3 modifiers 2024-09-06 17:34:17 +00:00
.clang-format bi: Add bi_foreach_ssa_dest 2024-08-20 10:02:45 +02:00
meson.build meson: Allow building lavapipe without specifying llvmpipe 2024-08-29 10:17:52 +02:00