chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:33:03 +08:00
commit 5b57521aa1
8226 changed files with 3425766 additions and 0 deletions
@@ -0,0 +1,22 @@
#ifndef VulkanFramebuffer_hpp
#define VulkanFramebuffer_hpp
#include "VulkanDevice.hpp"
#include "core/AutoStorage.h"
namespace MNN {
class VulkanFramebuffer : public RefCount {
public:
virtual ~ VulkanFramebuffer();
static VulkanFramebuffer* create(const VulkanDevice& dev, const VkFramebufferCreateInfo* info);
inline VkFramebuffer get() const {
return mContent;
}
private:
VulkanFramebuffer(const VulkanDevice& dev, VkFramebuffer fram) : mDevice(dev) {
mContent = fram;
}
VkFramebuffer mContent;
const VulkanDevice& mDevice;
};
};
#endif