diff options
author | Marek Olšák <marek.olsak@amd.com> | 2021-06-14 15:51:30 -0400 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2021-06-23 06:06:04 +0000 |
commit | ec7e26234901359a694b54f72e7ac78f00b6ab60 (patch) | |
tree | 65f4adc1a11f08114f32c891af0136b98467ddd3 /src/loader/meson.build | |
parent | 29d272f144ba800933af656717ed57adaa5e6510 (diff) |
mesa: unreference zombie buffers when creating buffers to lower memory usage
This fixes an issue where one context only creates buffers while another
context only destroys buffers. Only the creating context can release its
buffers and the destroying context only turns them into zombie buffers.
This fix makes the creating context release its zombie buffers.
It's not a plot from an apocalyptic movie.
Fixes: e014e3b6be6 "mesa: don't count buffer references for the context that created them"
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4840
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11514>
Diffstat (limited to 'src/loader/meson.build')
0 files changed, 0 insertions, 0 deletions