mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-02-02 22:05:09 +01:00
- VKHelpers was the rug everything was swept under for a long time. This commit essentially deprecates its usage across most of the backend.
18 lines
551 B
C++
18 lines
551 B
C++
#pragma once
|
|
|
|
#include "vkutils/framebuffer_object.hpp"
|
|
|
|
namespace vk
|
|
{
|
|
struct framebuffer_holder : public vk::framebuffer, public rsx::ref_counted
|
|
{
|
|
using framebuffer::framebuffer;
|
|
};
|
|
|
|
vk::framebuffer_holder* get_framebuffer(VkDevice dev, u16 width, u16 height, VkRenderPass renderpass, const std::vector<vk::image*>& image_list);
|
|
vk::framebuffer_holder* get_framebuffer(VkDevice dev, u16 width, u16 height, VkRenderPass renderpass, VkFormat format, VkImage attachment);
|
|
|
|
void remove_unused_framebuffers();
|
|
void clear_framebuffer_cache();
|
|
}
|