summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/renderer_opengl.h
diff options
context:
space:
mode:
authorMatías Locatti <42481638+goldenx86@users.noreply.github.com>2022-12-11 05:38:28 +0100
committerGitHub <noreply@github.com>2022-12-11 05:38:28 +0100
commit623429a27ec943f3c1ba758aaf741589b0493ddb (patch)
tree0a0866296c4cf932d046a9332196d3cbcf3c83a8 /src/video_core/renderer_opengl/renderer_opengl.h
parentMerge pull request #9416 from liamwhite/penicillin (diff)
parentvideo_core: Integrate SMAA (diff)
downloadyuzu-623429a27ec943f3c1ba758aaf741589b0493ddb.tar
yuzu-623429a27ec943f3c1ba758aaf741589b0493ddb.tar.gz
yuzu-623429a27ec943f3c1ba758aaf741589b0493ddb.tar.bz2
yuzu-623429a27ec943f3c1ba758aaf741589b0493ddb.tar.lz
yuzu-623429a27ec943f3c1ba758aaf741589b0493ddb.tar.xz
yuzu-623429a27ec943f3c1ba758aaf741589b0493ddb.tar.zst
yuzu-623429a27ec943f3c1ba758aaf741589b0493ddb.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_opengl/renderer_opengl.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.h b/src/video_core/renderer_opengl/renderer_opengl.h
index 1a32e739d..cc97d7b26 100644
--- a/src/video_core/renderer_opengl/renderer_opengl.h
+++ b/src/video_core/renderer_opengl/renderer_opengl.h
@@ -127,8 +127,19 @@ private:
/// Display information for Switch screen
ScreenInfo screen_info;
- OGLTexture fxaa_texture;
- OGLFramebuffer fxaa_framebuffer;
+ OGLTexture aa_texture;
+ OGLFramebuffer aa_framebuffer;
+
+ OGLProgram smaa_edge_detection_vert;
+ OGLProgram smaa_blending_weight_calculation_vert;
+ OGLProgram smaa_neighborhood_blending_vert;
+ OGLProgram smaa_edge_detection_frag;
+ OGLProgram smaa_blending_weight_calculation_frag;
+ OGLProgram smaa_neighborhood_blending_frag;
+ OGLTexture smaa_area_tex;
+ OGLTexture smaa_search_tex;
+ OGLTexture smaa_edges_tex;
+ OGLTexture smaa_blend_tex;
/// OpenGL framebuffer data
std::vector<u8> gl_framebuffer_data;