diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-06-26 16:58:40 -0300 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-06-26 16:58:40 -0300 |
commit | 6481d91e4a5b5fbae899c3a7924af0b132c16bc8 (patch) | |
tree | e67f6966cabda53be653cda6ba346f88d5f5090d /src/common/spin_lock.cpp | |
parent | c4fe83a7bc302acbefe0eedee48eabc671d33964 (diff) |
gl_buffer_cache: Copy to buffers created as STREAM_READ before downloading
After marking buffers as resident, Nvidia's driver seems to take a
slow path. To workaround this issue, copy to a STREAM_READ buffer and
then call GetNamedBufferSubData on it.
This is a temporary solution until we have asynchronous flushing.
Diffstat (limited to 'src/common/spin_lock.cpp')
0 files changed, 0 insertions, 0 deletions