• Niklas Haas's avatar
    (WIP) gpu: make thread-safe · 5a5e8131
    Niklas Haas authored
    For the most part, this is not too exciting, because we need to lock
    access to the command buffer / vk_ctx on almost every call. The major
    exceptions here are pl_tex_create / pl_buf_create, which are the only
    functions we really care about with this refactor.
    
    This means we can now safely create host-mapped buffers with
    pl_buf_create even when called cross-thread.
    
    Fixes #68
    5a5e8131
Name
Last commit
Last update
demos Loading commit data...
src Loading commit data...
subprojects Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
compile Loading commit data...
cross_mingw_i686.txt Loading commit data...
cross_mingw_x86_64.txt Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...