summaryrefslogtreecommitdiff
path: root/src/input_common/sdl/sdl.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-02-24 04:22:33 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-02-24 04:27:51 -0300
commit33a05976036211754251958654a26106d954ae43 (patch)
treefece0fe9a56b30cc52f340b994b53dde68f82d70 /src/input_common/sdl/sdl.cpp
parent281a8bf2595522a90cbb57e1739329da48c430f8 (diff)
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/input_common/sdl/sdl.cpp')
0 files changed, 0 insertions, 0 deletions