summaryrefslogtreecommitdiff
path: root/src/common/string_util.cpp
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2020-01-06 17:14:41 -0300
committerGravatar ReinUsesLisp2020-01-06 18:13:41 -0300
commitceb851b5905544a08a35cdb7b96b5062ccc16a1f (patch)
treef3635f9292587e419a8c93247b2b805349184bad /src/common/string_util.cpp
parentvk_buffer_cache: Temporarily remove buffer cache (diff)
downloadyuzu-ceb851b5905544a08a35cdb7b96b5062ccc16a1f.tar.gz
yuzu-ceb851b5905544a08a35cdb7b96b5062ccc16a1f.tar.xz
yuzu-ceb851b5905544a08a35cdb7b96b5062ccc16a1f.zip
vk_memory_manager: Misc changes
* Allocate memory in discrete exponentially increasing chunks until the 128 MiB threshold. Allocations larger thant that increase linearly by 256 MiB (depending on the required size). This allows to use small allocations for small resources. * Move memory maps to a RAII abstraction. To optimize for debugging tools (like RenderDoc) users will map/unmap on usage. If this ever becomes a noticeable overhead (from my profiling it doesn't) we can transparently move to persistent memory maps without harming the API, getting optimal performance for both gameplay and debugging. * Improve messages on exceptional situations. * Fix typos "requeriments" -> "requirements". * Small style changes.
Diffstat (limited to 'src/common/string_util.cpp')
0 files changed, 0 insertions, 0 deletions