commit | 361fb38662f80e645e9087781faa4bec10dd6ac7 | [log] [tgz] |
---|---|---|
author | Icecream95 <ixn@keemail.me> | Sat Jun 20 19:30:54 2020 +1200 |
committer | Marge Bot <eric+marge@anholt.net> | Mon Jun 22 12:15:05 2020 +0000 |
tree | f66f139677eebbb0e7ab8034f5b95718f4e44e50 | |
parent | 65b3b08aaf4f5e9d9207e174232b4bbb820d7de4 [diff] |
panfrost: Copy resources when mapping to avoid waiting for readers It is often faster to copy the whole resource and modify that than to flush and wait for readers of the BO. Helps anything which updates textures after already using them in a frame, such as most GLQuake ports. Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5573>