diff options
| author | comex <comexk@gmail.com> | 2014-08-24 23:53:28 -0400 |
|---|---|---|
| committer | comex <comexk@gmail.com> | 2014-09-28 21:23:28 -0400 |
| commit | 63c62b277d6850279bd2a982535d5abde824e6e2 (patch) | |
| tree | def4ef41a504dd09c16f02cea82407b4f5d0edfc /Source/Core/VideoCommon/VertexLoader_Normal.cpp | |
| parent | 431fb4d82a9fa9597df3c35c27e55714ff3e27c0 (diff) | |
Some changes to VertexLoaderManager:
- Lazily create the native vertex format (which involves GL calls) from
RunVertices rather than RefreshLoader itself, freeing the latter to be
run from the CPU thread (hopefully).
- In order to avoid useless allocations while doing so, store the native
format inside the VertexLoader rather than using a cache entry.
- Wrap the s_vertex_loader_map in a lock, for similar reasons.
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoader_Normal.cpp')
0 files changed, 0 insertions, 0 deletions
