summaryrefslogtreecommitdiff
path: root/src/common/memory_util.cpp
diff options
context:
space:
mode:
authorMarkus Wick <markus@selfnet.de>2018-08-29 00:27:03 +0200
committerMarkus Wick <markus@selfnet.de>2018-09-05 08:03:50 +0200
commit50a806ea671114c92b7905182a0a9140148415b2 (patch)
tree9a70d16050f9ee4edb84e923ed92fc15ed9d4482 /src/common/memory_util.cpp
parenta1ef02c3e6f40eb98b1608229451943f8e64f861 (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/common/memory_util.cpp')
0 files changed, 0 insertions, 0 deletions