gallium/util: Make it possible to disable persistent maps in the upload manager
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 10 Apr 2019 11:54:30 +0000 (13:54 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Thu, 20 Jun 2019 07:30:22 +0000 (09:30 +0200)
commit8c01e5ed5f2b9e97541444591219c6035da8c046
tree17189ffc33f2f41b5f9fff9853b21c8c20e15bc6
parent3b828c4e68bf4addd3b70cd6df92b80e9a40a7a7
gallium/util: Make it possible to disable persistent maps in the upload manager

For svga, the use of persistent / coherent maps is typically slightly
slower than without them. It's probably a bit case-dependent and
possible to tune, but for now, make sure we can disable those.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/util/u_upload_mgr.c
src/gallium/auxiliary/util/u_upload_mgr.h