diff options
author | Axel Davy <[email protected]> | 2016-02-25 19:07:37 +0100 |
---|---|---|
committer | Axel Davy <[email protected]> | 2016-02-29 18:55:58 +0100 |
commit | 44246fe99d4c880b70a58043624bf023237009f5 (patch) | |
tree | 17ae49fc91041afd018e1b193539646b88ae4242 /doxygen/math_subset.doxy | |
parent | 35c858c42c818d5bf5b4bfee03a342df52acface (diff) |
st/nine: Fix Multithreading issue with MANAGED buffers
d3d calls are protected by mutexes, however if app is doing in
two threads:
Thread 1: buffer Lock
Thread 2: Draw call
Thread 1: writes data
Thread 1: Unlock
Then before this patch, the Draw call would begin to upload
the buffer.
Solves this by moving the moment we add the buffer to the queue
of things to upload (We move it from Lock time to Unlock time).
Cc: "11.2" <[email protected]>
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'doxygen/math_subset.doxy')
0 files changed, 0 insertions, 0 deletions