diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-12-26 20:04:41 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-28 21:52:14 +0100 |
commit | 1c4bf9cbfa4e4303890f73be11eb1dee88d070fe (patch) | |
tree | ae0e99ad571902a4acc9140047909f6b07f0e0e5 /src/video_core/renderer_opengl/renderer_opengl.h | |
parent | gl_state: Remove framebuffer tracking (diff) | |
download | yuzu-1c4bf9cbfa4e4303890f73be11eb1dee88d070fe.tar yuzu-1c4bf9cbfa4e4303890f73be11eb1dee88d070fe.tar.gz yuzu-1c4bf9cbfa4e4303890f73be11eb1dee88d070fe.tar.bz2 yuzu-1c4bf9cbfa4e4303890f73be11eb1dee88d070fe.tar.lz yuzu-1c4bf9cbfa4e4303890f73be11eb1dee88d070fe.tar.xz yuzu-1c4bf9cbfa4e4303890f73be11eb1dee88d070fe.tar.zst yuzu-1c4bf9cbfa4e4303890f73be11eb1dee88d070fe.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/renderer_opengl.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.h b/src/video_core/renderer_opengl/renderer_opengl.h index 42a2141d8..f1225269f 100644 --- a/src/video_core/renderer_opengl/renderer_opengl.h +++ b/src/video_core/renderer_opengl/renderer_opengl.h @@ -10,6 +10,7 @@ #include "common/math_util.h" #include "video_core/renderer_base.h" #include "video_core/renderer_opengl/gl_resource_manager.h" +#include "video_core/renderer_opengl/gl_shader_manager.h" #include "video_core/renderer_opengl/gl_state.h" namespace Core { @@ -95,12 +96,16 @@ private: // OpenGL object IDs OGLBuffer vertex_buffer; - OGLProgram shader; + OGLProgram vertex_program; + OGLProgram fragment_program; OGLFramebuffer screenshot_framebuffer; /// Display information for Switch screen ScreenInfo screen_info; + /// Global dummy shader pipeline + GLShader::ProgramManager program_manager; + /// OpenGL framebuffer data std::vector<u8> gl_framebuffer_data; |