1
0
Fork 0
forked from suyu/suyu
suyu/src/video_core/renderer_opengl
Lioncash 1fd979f50a gl_shader_gen: Use a std::vector to represent program code instead of std::array
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).
2018-08-22 17:04:44 -04:00
..
gl_rasterizer.cpp gl_shader_gen: Use a std::vector to represent program code instead of std::array 2018-08-22 17:04:44 -04:00
gl_rasterizer.h Merge pull request #1124 from Subv/logic_ops 2018-08-22 01:05:25 -04:00
gl_rasterizer_cache.cpp Rasterizer: Reinterpret the raw texture bytes instead of blitting (and thus doing format conversion) to a new texture when a game requests an old texture address with a different format. 2018-08-20 15:20:35 -05:00
gl_rasterizer_cache.h Rasterizer: Don't attempt to copy over the old texture's data when doing a format reinterpretation if we're only going to clear the framebuffer. 2018-08-20 15:20:35 -05:00
gl_resource_manager.h gl_state: Fix state management for texture swizzle. 2018-06-26 17:15:58 -04:00
gl_shader_decompiler.cpp Revert "Shader: Use the right sampler type in the TEX, TEXS and TLDS instructions." 2018-08-21 20:07:40 -04:00
gl_shader_decompiler.h video_core: Use nested namespaces where applicable 2018-07-20 18:23:54 -04:00
gl_shader_gen.cpp Shaders: Write all the enabled color outputs when a fragment shader exits. 2018-08-20 17:31:25 -05:00
gl_shader_gen.h gl_shader_gen: Use a std::vector to represent program code instead of std::array 2018-08-22 17:04:44 -04:00
gl_shader_manager.cpp Rasterizer: Implemented instanced rendering. 2018-08-14 22:25:07 -05:00
gl_shader_manager.h Rasterizer: Implemented instanced rendering. 2018-08-14 22:25:07 -05:00
gl_shader_util.cpp Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
gl_shader_util.h Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
gl_state.cpp GLState: Allow enabling/disabling GL_COLOR_LOGIC_OP independently from blending. 2018-08-20 18:43:11 -05:00
gl_state.h GLState: Allow enabling/disabling GL_COLOR_LOGIC_OP independently from blending. 2018-08-20 18:43:11 -05:00
gl_stream_buffer.cpp Update the stream_buffer helper from Citra. 2018-08-12 15:47:35 +02:00
gl_stream_buffer.h gl_stream_buffer: Add missing header guard 2018-08-20 23:25:08 -04:00
maxwell_to_gl.h Merge pull request #1154 from OatmealDome/topology-lines 2018-08-22 01:08:34 -04:00
renderer_opengl.cpp Merge pull request #1123 from lioncash/screen 2018-08-21 01:18:34 -04:00
renderer_opengl.h rasterizer_interface: Remove ScreenInfo from AccelerateDraw()'s signature 2018-08-20 19:43:05 -04:00