50a806ea67
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. |
||
---|---|---|
.. | ||
debug_utils | ||
engines | ||
renderer_opengl | ||
textures | ||
CMakeLists.txt | ||
command_processor.cpp | ||
command_processor.h | ||
gpu.cpp | ||
gpu.h | ||
macro_interpreter.cpp | ||
macro_interpreter.h | ||
memory_manager.cpp | ||
memory_manager.h | ||
rasterizer_cache.h | ||
rasterizer_interface.h | ||
renderer_base.cpp | ||
renderer_base.h | ||
utils.h | ||
video_core.cpp | ||
video_core.h |