aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/renderer_opengl/gl_fsr.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2024-01-14 21:11:28 -0500
committerLiam <byteslice@airmail.cc>2024-01-31 11:27:20 -0500
commitb90eff4bc666548a77eb58ac152408c80ff952b3 (patch)
tree1b7532cf61703be3cfe496a74481eeac31a06e92 /src/video_core/renderer_opengl/gl_fsr.h
parent0c2e5b64c9fb985a40e5afec898d1f370cbad23e (diff)
renderer_opengl: split out SMAA
Diffstat (limited to 'src/video_core/renderer_opengl/gl_fsr.h')
-rw-r--r--src/video_core/renderer_opengl/gl_fsr.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/src/video_core/renderer_opengl/gl_fsr.h b/src/video_core/renderer_opengl/gl_fsr.h
deleted file mode 100644
index a5092e396..000000000
--- a/src/video_core/renderer_opengl/gl_fsr.h
+++ /dev/null
@@ -1,43 +0,0 @@
-// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-#include <string_view>
-
-#include "common/common_types.h"
-#include "common/math_util.h"
-#include "video_core/fsr.h"
-#include "video_core/renderer_opengl/gl_resource_manager.h"
-
-namespace OpenGL {
-
-class ProgramManager;
-
-class FSR {
-public:
- explicit FSR(std::string_view fsr_vertex_source, std::string_view fsr_easu_source,
- std::string_view fsr_rcas_source);
- ~FSR();
-
- void Draw(ProgramManager& program_manager, const Common::Rectangle<u32>& screen,
- u32 input_image_width, u32 input_image_height,
- const Common::Rectangle<f32>& crop_rect);
-
- void InitBuffers();
-
- void ReleaseBuffers();
-
- [[nodiscard]] const OGLProgram& GetPresentFragmentProgram() const noexcept;
-
- [[nodiscard]] bool AreBuffersInitialized() const noexcept;
-
-private:
- OGLFramebuffer fsr_framebuffer;
- OGLProgram fsr_vertex;
- OGLProgram fsr_easu_frag;
- OGLProgram fsr_rcas_frag;
- OGLTexture fsr_intermediate_tex;
-};
-
-} // namespace OpenGL