mesa/src/gallium/auxiliary/util
Pierre-Eric Pelloux-Prayer e4d7ddd468 Revert "gallium/u_threaded: buffer sharedness tracking"
This reverts commit 8f159a8576.

This commit is correct but it exposes an existing bug: DISCARD_RANGE doesn't
work well with shared buffers.
So for now revert this commit as it's causing hangs on some APUs (see
https://gitlab.freedesktop.org/drm/amd/-/issues/2447) and flickering in
Metro Last Light Redux.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9108
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23492>
(cherry picked from commit 96cf4531e1)
2023-06-08 10:00:54 +02:00
..
dbghelp.h
u_async_debug.c
u_async_debug.h
u_bitcast.h
u_bitmask.c
u_bitmask.h
u_blend.h util: Fix c++ enum casting pickiness 2022-08-02 00:59:48 +00:00
u_blitter.c gallium: plumb resolve attachments through from frontends -> pipe_framebuffer_state 2023-02-15 18:06:16 +00:00
u_blitter.h gallium: add pipe_blit_info::dst_sample, update u_blitter to write that sample 2022-07-23 18:21:31 +00:00
u_box.h util/box: fix off-by-one calc error in intersection funcs 2023-03-06 03:47:06 +00:00
u_cache.c util/list: rename LIST_ENTRY() to list_entry() 2022-07-28 10:10:44 +00:00
u_cache.h
u_compute.c gallium: normalized_coords -> unnormalized_coords 2022-10-10 10:20:02 +00:00
u_compute.h
u_debug_cb.h gallium: Add u_default_set_debug_callback 2022-09-01 14:50:24 +00:00
u_debug_flush.c gallium/u_debug_flush: Fix incompatible function signature warnings 2022-12-02 17:15:30 +00:00
u_debug_flush.h
u_debug_image.c
u_debug_image.h util: Move src/gallium/include/pipe/p_format.h to src/util/format/u_formats.h 2022-11-19 03:38:19 +00:00
u_draw.c gallium: Replace the usage of __FUNCTION__ with __func__ in all gallium code 2022-11-22 06:53:47 +00:00
u_draw.h
u_draw_quad.c
u_draw_quad.h
u_driconf.c driconf: Add ignore_discard_framebuffer option 2023-03-16 00:56:37 +00:00
u_driconf.h
u_dual_blend.h
u_dump.h
u_dump_defines.c
u_dump_state.c gallium: normalized_coords -> unnormalized_coords 2022-10-10 10:20:02 +00:00
u_file.h tree-wide: Convert all usage of defined(PIPE_(OS|ARCH|CC)_*) to DETECT_(OS|ARCH|CC)_* by use grep 2022-11-15 20:35:55 +00:00
u_framebuffer.c gallium: plumb resolve attachments through from frontends -> pipe_framebuffer_state 2023-02-15 18:06:16 +00:00
u_framebuffer.h
u_gen_mipmap.c
u_gen_mipmap.h
u_handle_table.c
u_handle_table.h
u_helpers.c mesa: Add a few more function traces 2023-03-30 19:42:01 +00:00
u_helpers.h gallium: create query_memory_info implementation for sw drivers 2023-02-20 04:26:28 +00:00
u_index_modify.c
u_index_modify.h
u_inlines.h gallium/util: Add util_writes_depth() helper 2023-01-20 16:18:03 +00:00
u_live_shader_cache.c
u_live_shader_cache.h
u_log.c
u_log.h
u_pack_color.h util: Move src/gallium/include/pipe/p_format.h to src/util/format/u_formats.h 2022-11-19 03:38:19 +00:00
u_prim.c
u_prim.h gallium: Fix u_stream_outputs_for_vertices with QUADS 2023-03-21 18:33:42 +00:00
u_prim_restart.c gallium/util: Drop unused translate_prim_restart_ib 2022-11-04 23:20:02 +00:00
u_prim_restart.h gallium/util: Drop unused translate_prim_restart_ib 2022-11-04 23:20:02 +00:00
u_pstipple.c gallium: normalized_coords -> unnormalized_coords 2022-10-10 10:20:02 +00:00
u_pstipple.h
u_pwr8.h
u_range.h util: Remove os/os_thread.h and replace #include "os/os_thread.h" with #include "util/u_thread.h" 2022-11-08 05:21:42 +00:00
u_rect.h gallium/util: drop unused rect_area 2022-11-04 23:20:02 +00:00
u_resource.c
u_resource.h
u_sampler.c gallium, rusticl: Add tex2d_from_buf in image_view and sampler_view 2023-03-07 18:24:56 +00:00
u_sampler.h util: Move src/gallium/include/pipe/p_format.h to src/util/format/u_formats.h 2022-11-19 03:38:19 +00:00
u_screen.c gallium: Remove PIPE_CAP_TEXTURE_BUFFER_SAMPLER 2023-04-07 01:15:41 +00:00
u_screen.h gallium: move etnaviv screen_lookup_or_create function to common code 2023-02-12 17:11:16 +00:00
u_simple_shaders.c gallium: Remove util_make_fragment_tex_shader_xrbias 2022-08-22 15:32:05 +00:00
u_simple_shaders.h gallium: Remove util_make_fragment_tex_shader_xrbias 2022-08-22 15:32:05 +00:00
u_split_draw.c
u_split_draw.h
u_split_prim.h
u_sse.h tree-wide: Convert all usage of PIPE_(OS|ARCH|CC)_* to DETECT_(OS|ARCH|CC)_* by use grep 2022-11-15 20:35:55 +00:00
u_suballoc.c
u_suballoc.h
u_surface.c gallium: Allow copy_region blits with matching formats. 2023-01-12 01:04:45 +00:00
u_surface.h
u_surface_test.cpp gallium: Allow copy_region blits with matching formats. 2023-01-12 01:04:45 +00:00
u_tests.c tree-wide: Convert all usage of #ifndef PIPE_(OS|ARCH|CC)_* to #if DETECT_(OS|ARCH|CC)_* by use grep 2022-11-15 20:35:55 +00:00
u_tests.h
u_texture.c
u_texture.h
u_threaded_context.c Revert "gallium/u_threaded: buffer sharedness tracking" 2023-06-08 10:00:54 +02:00
u_threaded_context.h Revert "gallium/u_threaded: buffer sharedness tracking" 2023-06-08 10:00:54 +02:00
u_threaded_context_calls.h util/tc: split out flush and deferred flush calls 2022-10-29 20:19:51 +00:00
u_tile.c
u_tile.h util: Move src/gallium/include/pipe/p_format.h to src/util/format/u_formats.h 2022-11-19 03:38:19 +00:00
u_trace_gallium.c common/utrace: Refactor and combine all envvars into `GPU_TRACES` 2022-11-11 13:50:56 +00:00
u_trace_gallium.h
u_tracepoints.py
u_transfer.c
u_transfer.h
u_transfer_helper.c u_transfer_helper: Merge in-place and split z/s interleaved map handling. 2023-01-06 19:00:17 +00:00
u_transfer_helper.h u_transfer_helper: rip out fake_rgtc code 2022-09-18 13:46:25 +02:00
u_upload_mgr.c
u_upload_mgr.h
u_vbuf.c util/vbuf: fix index_bo leak 2023-04-04 11:50:58 +00:00
u_vbuf.h gallium/u_vbuf: change u_vbuf_draw_vbo to accept pipe_context as first param 2022-12-11 14:37:27 +00:00
u_vertex_state_cache.c
u_vertex_state_cache.h
u_video.h
u_viewport.h