Module: wine Branch: master Commit: 9529f08e1a4a49aa4d2721b91045a5fa4afd6a4d URL: https://source.winehq.org/git/wine.git/?a=commit;h=9529f08e1a4a49aa4d2721b91... Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Fri Apr 17 20:39:10 2020 +0430 wined3d: Implement a Vulkan device memory allocator. Note that the constants like WINED3D_ALLOCATOR_CHUNK_SIZE and WINED3D_ALLOCATOR_MIN_BLOCK_SIZE are somewhat arbitrary, rather than the result of careful tuning. That's mostly because we have a couple of known stalls in e.g. the command stream that would largely invalidate such tuning. Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/wined3d/adapter_vk.c | 121 +++++++++++++++++++++-- dlls/wined3d/buffer.c | 2 +- dlls/wined3d/context_vk.c | 137 ++++++++++++++++++++++++-- dlls/wined3d/utils.c | 215 +++++++++++++++++++++++++++++++++++++++++ dlls/wined3d/wined3d_private.h | 81 ++++++++++++++++ 5 files changed, 537 insertions(+), 19 deletions(-) Diff: https://source.winehq.org/git/wine.git/?a=commitdiff;h=9529f08e1a4a49aa4d272...