summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan/present/filters.h
blob: 42d7052da7b928f7053b4c7692180cd610e67242 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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