mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-11-05 06:47:53 +00:00
434f352eb3
resize() causes the vector to expand and zero out the added members to the vector, however we can avoid this zeroing by using assign(). Given we have the pointer to the data we want to copy, we can calculate the end pointer and directly copy the range of data without the need to perform the resize() beforehand. |
||
---|---|---|
.. | ||
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_interface.h | ||
renderer_base.cpp | ||
renderer_base.h | ||
utils.h | ||
video_core.cpp | ||
video_core.h |