summaryrefslogtreecommitdiff
path: root/src/core/frontend/framebuffer_layout.cpp
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2019-02-24 04:22:33 -0300
committerGravatar ReinUsesLisp2019-02-24 04:27:51 -0300
commit33a05976036211754251958654a26106d954ae43 (patch)
treefece0fe9a56b30cc52f340b994b53dde68f82d70 /src/core/frontend/framebuffer_layout.cpp
parentvk_resource_manager: Minor VKFenceWatch changes (diff)
downloadyuzu-33a05976036211754251958654a26106d954ae43.tar.gz
yuzu-33a05976036211754251958654a26106d954ae43.tar.xz
yuzu-33a05976036211754251958654a26106d954ae43.zip
vk_stream_buffer: Implement a stream buffer
This manages two kinds of streaming buffers: one for unified memory models and one for dedicated GPUs. The first one skips the copy from the staging buffer to the real buffer, since it creates an unified buffer. This implementation waits for all fences to finish their operation before "invalidating". This is suboptimal since it should allocate another buffer or start searching from the beginning. There is room for improvement here. This could also handle AMD's "pinned" memory (a heap with 256 MiB) that seems to be designed for buffer streaming.
Diffstat (limited to 'src/core/frontend/framebuffer_layout.cpp')
0 files changed, 0 insertions, 0 deletions