summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan/present/filters.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2024-01-14 07:46:19 +0100
committerLiam <byteslice@airmail.cc>2024-01-31 17:27:20 +0100
commit0c2e5b64c9fb985a40e5afec898d1f370cbad23e (patch)
tree682dc3489bf4ae13dfd533d04245749538cd9505 /src/video_core/renderer_vulkan/present/filters.h
parentrenderer_vulkan: isolate FXAA from blit screen (diff)
downloadyuzu-0c2e5b64c9fb985a40e5afec898d1f370cbad23e.tar
yuzu-0c2e5b64c9fb985a40e5afec898d1f370cbad23e.tar.gz
yuzu-0c2e5b64c9fb985a40e5afec898d1f370cbad23e.tar.bz2
yuzu-0c2e5b64c9fb985a40e5afec898d1f370cbad23e.tar.lz
yuzu-0c2e5b64c9fb985a40e5afec898d1f370cbad23e.tar.xz
yuzu-0c2e5b64c9fb985a40e5afec898d1f370cbad23e.tar.zst
yuzu-0c2e5b64c9fb985a40e5afec898d1f370cbad23e.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_vulkan/present/filters.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/present/filters.h b/src/video_core/renderer_vulkan/present/filters.h
new file mode 100644
index 000000000..42d7052da
--- /dev/null
+++ b/src/video_core/renderer_vulkan/present/filters.h
@@ -0,0 +1,30 @@
+// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "video_core/renderer_vulkan/present/window_adapt_pass.h"
+
+namespace Vulkan {
+
+std::unique_ptr<WindowAdaptPass> MakeNearestNeighbor(const Device& device,
+ const MemoryAllocator& memory_allocator,
+ size_t image_count, VkFormat frame_format);
+
+std::unique_ptr<WindowAdaptPass> MakeBilinear(const Device& device,
+ const MemoryAllocator& memory_allocator,
+ size_t image_count, VkFormat frame_format);
+
+std::unique_ptr<WindowAdaptPass> MakeBicubic(const Device& device,
+ const MemoryAllocator& memory_allocator,
+ size_t image_count, VkFormat frame_format);
+
+std::unique_ptr<WindowAdaptPass> MakeGaussian(const Device& device,
+ const MemoryAllocator& memory_allocator,
+ size_t image_count, VkFormat frame_format);
+
+std::unique_ptr<WindowAdaptPass> MakeScaleForce(const Device& device,
+ const MemoryAllocator& memory_allocator,
+ size_t image_count, VkFormat frame_format);
+
+} // namespace Vulkan