mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 04:20:08 +01:00
A significant CPU performance bottleneck in mesa GL is refcounting atomics: even with the current pinning attempts, eliminating them can yield huge performance gains (easily verified by running drawoverhead with return false at the top of pipe_reference_described()). This is a proof of concept for removing refcounts from gallium objects, namely sampler views and resources. Sampler views were smaller in scope, so I started there. This MR alone is not expected to noticeably affect performance, though if applied to all drivers/frontends, it would enable a bunch of code deletion for crazy samplerview refcounting hacks currently used to try circumventing the existing overhead. Co-authored-by: Karol Herbst <kherbst@redhat.com Co-authored-by: David Rosca <david.rosca@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33813> |
||
|---|---|---|
| .. | ||
| ci | ||
| drm-shim | ||
| genxml | ||
| ir | ||
| standalone | ||
| lima_blit.c | ||
| lima_blit.h | ||
| lima_bo.c | ||
| lima_bo.h | ||
| lima_context.c | ||
| lima_context.h | ||
| lima_disk_cache.c | ||
| lima_disk_cache.h | ||
| lima_draw.c | ||
| lima_fence.c | ||
| lima_fence.h | ||
| lima_format.c | ||
| lima_format.h | ||
| lima_gpu.h | ||
| lima_job.c | ||
| lima_job.h | ||
| lima_parser.c | ||
| lima_parser.h | ||
| lima_program.c | ||
| lima_program.h | ||
| lima_query.c | ||
| lima_resource.c | ||
| lima_resource.h | ||
| lima_screen.c | ||
| lima_screen.h | ||
| lima_state.c | ||
| lima_texture.c | ||
| lima_texture.h | ||
| lima_util.c | ||
| lima_util.h | ||
| meson.build | ||