citra/src/video_core/renderer_opengl
Marshall Mohror 688e44bc8b
videocore/renderer_opengl/gl_rasterizer_cache: Move bits per pixel table out of function (#5101)
* videocore/renderer_opengl/gl_rasterizer_cache: Move bits per pixel table out of function

GCC and MSVC copy the table at runtime with the old implementation, which is wasteful and prevents inlining. Unfortunately, static constexpr variables are not legal in constexpr functions, so the table has to be external.
Also replaced non-standard assert with DEBUG_ASSERT_MSG.

* fix case of table name in assert

* set table to private
2020-02-22 14:37:42 -07:00
..
gl_rasterizer.cpp Address review and update zstd 2020-01-15 19:58:34 -07:00
gl_rasterizer.h Add shader disk caching 2020-01-15 19:58:33 -07:00
gl_rasterizer_cache.cpp specify size of buffer and use openglstate in getteximageoes 2019-11-09 12:58:17 -07:00
gl_rasterizer_cache.h videocore/renderer_opengl/gl_rasterizer_cache: Move bits per pixel table out of function (#5101) 2020-02-22 14:37:42 -07:00
gl_resource_manager.cpp Change from QOpenGLWidget to QWindow 2019-11-09 13:12:30 -07:00
gl_resource_manager.h Change from render to texture to render to renderbuffer 2019-11-09 13:12:29 -07:00
gl_shader_decompiler.cpp Only load precompiled shaders if their sanitize_mul setting matches 2020-01-15 21:10:37 -07:00
gl_shader_decompiler.h Only load precompiled shaders if their sanitize_mul setting matches 2020-01-15 21:10:37 -07:00
gl_shader_disk_cache.cpp Frontend: Only load disk resources if hw shader is enabled 2020-01-22 09:47:53 -07:00
gl_shader_disk_cache.h Only load precompiled shaders if their sanitize_mul setting matches 2020-01-15 21:10:37 -07:00
gl_shader_gen.cpp Only load precompiled shaders if their sanitize_mul setting matches 2020-01-15 21:10:37 -07:00
gl_shader_gen.h Only load precompiled shaders if their sanitize_mul setting matches 2020-01-15 21:10:37 -07:00
gl_shader_manager.cpp Only check for sanitize_mul if theres a shader in the cache 2020-01-16 08:35:52 -07:00
gl_shader_manager.h Address review and update zstd 2020-01-15 19:58:34 -07:00
gl_shader_util.cpp Fix GLES version header on picky drivers 2019-03-15 23:32:29 +00:00
gl_shader_util.h video_core: add workarounds to enable GLES support 2019-02-12 16:57:18 -06:00
gl_state.cpp Change from QOpenGLWidget to QWindow 2019-11-09 13:12:30 -07:00
gl_state.h Change from QOpenGLWidget to QWindow 2019-11-09 13:12:30 -07:00
gl_stream_buffer.cpp gl_stream_buffer: Profile orphaning of stream buffer. 2018-11-17 15:03:20 +01:00
gl_stream_buffer.h Port yuzu-emu/yuzu#1137: "renderer_opengl: Namespace OpenGL code" (#4423) 2018-11-16 23:29:10 -08:00
gl_vars.cpp video_core: add workarounds to enable GLES support 2019-02-12 16:57:18 -06:00
gl_vars.h video_core: add workarounds to enable GLES support 2019-02-12 16:57:18 -06:00
pica_to_gl.h Merge pull request #3910 from wwylele/mipmap 2019-04-17 14:10:42 -04:00
post_processing_opengl.cpp renderer_opengl: Add support for custom shaders (#4578) 2019-08-09 20:00:47 +02:00
post_processing_opengl.h renderer_opengl: Add support for custom shaders (#4578) 2019-08-09 20:00:47 +02:00
renderer_opengl.cpp Implementation of screen rotation without use of additional layouts. 2020-01-20 22:31:51 -03:00
renderer_opengl.h Implementation of screen rotation without use of additional layouts. 2020-01-20 22:31:51 -03:00