The std::string generation with its malloc and free requirement was a noticeable overhead. Also switch to an ordered_map to avoid the std::hash call. As those maps usually have a size of two elements, the lookup time shall not matter. |
||
---|---|---|
.. | ||
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 |