diff options
| author | Markus Wick <markus@selfnet.de> | 2018-08-29 00:27:03 +0200 |
|---|---|---|
| committer | Markus Wick <markus@selfnet.de> | 2018-09-05 08:03:50 +0200 |
| commit | 3706ea6c3948f69223d668ba862d73663ed0b015 (patch) | |
| tree | 9a70d16050f9ee4edb84e923ed92fc15ed9d4482 /src/core/core.cpp | |
| parent | a7ed71dc61154c9f66e15512021990331d0676e6 (diff) | |
renderer_opengl: Implement a buffer cache.
The idea of this cache is to avoid redundant uploads. So we are going
to cache the uploaded buffers within the stream_buffer and just reuse
the old pointers.
The next step is to implement a VBO cache on GPU memory, but for now,
I want to check the overhead of the cache management. Fetching the
buffer over PCI-E should be quite fast.
Diffstat (limited to 'src/core/core.cpp')
0 files changed, 0 insertions, 0 deletions
