mesa/src
Heinrich Fink 21864bdaae llvmpipe: unmap display target of shader image/sampler
Revive hooks for cleaning up shader sampler and image data and when
finalizing llvmpipe_draw_vbo. In cleanup routines, for any sampler or
image that was set up with displaytarget_map, call displaytarget_unmap.

This fixes leaks of mmap calls of the underlying displaytarget
resources.

v2 (Daniel Stone):
    - Use a single cleanup function for sampler/image to simplify patchset

v3 (Emil Velikov):
    - use llvmpipe_resource_[un]map instead of open-coding through
    winsys

v4:
    - check tex/image for NULL before calling into
    llvmpipe_resource_unmap (fixes dEQP crash of llvmpipe runner)

Signed-off-by: Heinrich Fink <hfink@snap.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11741>
2021-07-09 15:58:53 +00:00
..
amd ac,radv: implement the cs_regalloc_hang HW bug workaround 2021-07-09 13:37:37 +00:00
android_stub egl/android: refactor to use the legit vndk/window.h header 2021-06-09 21:07:54 +00:00
asahi agx: Ensure we don't overallocate registers 2021-07-07 03:31:43 +00:00
broadcom v3dv/format: expose properly that some formats are not filterable 2021-07-09 11:37:01 +00:00
compiler nir/lower_subgroups: Pad ballot values before bitcasting 2021-07-09 14:21:26 +00:00
drm-shim drm-shim: fix compile with glibc >= 2.33 2021-04-20 05:49:29 +00:00
egl egl/android: only apply front rendering usage in shared buffer mode 2021-07-08 22:05:38 +00:00
etnaviv android: Drop the Android.mk build system 2021-07-08 14:44:02 -05:00
freedreno ir3: add newly found shlg.b16 instruction 2021-07-09 13:00:29 +00:00
gallium llvmpipe: unmap display target of shader image/sampler 2021-07-09 15:58:53 +00:00
gbm android: Drop the Android.mk build system 2021-07-08 14:44:02 -05:00
getopt scons: Remove. 2021-03-20 10:38:55 +00:00
glx glx: create DRI screen for display GPU incase of prime 2021-06-03 09:12:32 +00:00
gtest
hgl hgl: Major refactor and cleanup 2021-01-09 20:51:35 -06:00
imgui
intel Remove redundant assignment 2021-07-09 09:34:27 +00:00
loader android: Drop the Android.mk build system 2021-07-08 14:44:02 -05:00
mapi glthread: use custom marshal/unmarshal for CallList 2021-07-09 10:05:46 +00:00
mesa dlist: skip NOP command at the head of a list 2021-07-09 10:05:46 +00:00
microsoft nir: Drop nir_ssa_def::name and nir_register::name 2021-07-08 17:34:41 +00:00
nouveau nouveau: add drm-shim support 2021-01-11 22:45:01 +00:00
panfrost android: Drop the Android.mk build system 2021-07-08 14:44:02 -05:00
tool pps: Intel pps driver 2021-05-18 14:28:48 +00:00
util util/idalloc: add util_idalloc_alloc_range 2021-07-09 10:05:46 +00:00
virtio util/idalloc: fold the size call into init 2021-07-09 10:05:46 +00:00
vulkan vulkan/wsi/wayland: Add support for more SRGB formats. 2021-07-09 11:54:43 +00:00
meson.build panfrost: Add a Vulkan driver for Midgard/Bifrost GPUs 2021-06-22 14:07:34 +00:00