diff options
| author | Stenzek <stenzek@gmail.com> | 2017-09-09 13:18:48 +1000 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2017-09-09 13:26:30 +1000 |
| commit | 9e1c09e3470f62d8ded4632b9d5678b4a6ed0935 (patch) | |
| tree | 3b1e1cadfae800d927fed475774c9e7fe50a16ee /Source/Core/InputCommon/ControlReference/ControlReference.cpp | |
| parent | ce670c18519b30a10e17ab1f33193fcc11588da1 (diff) | |
StreamBuffer: Don't wait on fences twice when reserve > commit
If we allocate a large amount of memory (A), commit a smaller amount,
then allocate memory smaller than allocation A, we will have already
waited for these fences in A, but not used the space. In this case,
don't set m_free_iterator to a position before that which we know is
safe to use, which would result in waiting on the same fence(s) next
time.
Diffstat (limited to 'Source/Core/InputCommon/ControlReference/ControlReference.cpp')
0 files changed, 0 insertions, 0 deletions
