commit | ed79f805faf1ac5919a30d3284e37cc3f394e464 | [log] [tgz] |
---|---|---|
author | Connor Abbott <cwabbott0@gmail.com> | Mon May 11 18:46:04 2020 +0200 |
committer | Marge Bot <eric+marge@anholt.net> | Wed May 13 13:39:04 2020 +0000 |
tree | 36799bc05aee3196de0ca8c3ca4152eeb0afbc9a | |
parent | 7ce527a4fed1706aed9ced8e5d3432cc5abfbbd3 [diff] |
tu: Add a "scratch bo" allocation mechanism This is simpler than a full-blown memory reuse mechanism, but is good enough to make sure that repeatedly doing a copy that requires the linear staging buffer workaround won't use excessive memory or be slowed down due to repeated allocations. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5007>