mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
18 lines
615 B
C++
18 lines
615 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, VkBool32 has_input_attachments, VkRenderPass renderpass, const std::vector<vk::image*>& image_list);
|
|
vk::framebuffer_holder* get_framebuffer(VkDevice dev, u16 width, u16 height, VkBool32 has_input_attachments, VkRenderPass renderpass, VkFormat format, VkImage attachment);
|
|
|
|
void remove_unused_framebuffers();
|
|
void clear_framebuffer_cache();
|
|
}
|