mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-01-07 19:01:21 -08:00
1fd979f50a
While convenient as a std::array, it's also quite a large set of data as well (32KB). It being an array also means data cannot be std::moved. Any situation where the code is being set or relocated means that a full copy of that 32KB data must be done. If we use a std::vector we do need to allocate on the heap, however, it does allow us to std::move the data we have within the std::vector into another std::vector instance, eliminating the need to always copy the program data (as std::move in this case would just transfer the pointers and bare necessities over to the new vector instance). |
||
---|---|---|
.. | ||
gl_rasterizer_cache.cpp | ||
gl_rasterizer_cache.h | ||
gl_rasterizer.cpp | ||
gl_rasterizer.h | ||
gl_resource_manager.h | ||
gl_shader_decompiler.cpp | ||
gl_shader_decompiler.h | ||
gl_shader_gen.cpp | ||
gl_shader_gen.h | ||
gl_shader_manager.cpp | ||
gl_shader_manager.h | ||
gl_shader_util.cpp | ||
gl_shader_util.h | ||
gl_state.cpp | ||
gl_state.h | ||
gl_stream_buffer.cpp | ||
gl_stream_buffer.h | ||
maxwell_to_gl.h | ||
renderer_opengl.cpp | ||
renderer_opengl.h |