mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-12 14:48:52 +00:00
vulkan: Remove orphan new part 1
This commit is contained in:
@@ -49,8 +49,8 @@ struct VulkanSwapchain {
|
||||
VkSwapchainKHR swapchain = nullptr;
|
||||
VkFormat swapchain_format = VK_FORMAT_UNDEFINED;
|
||||
VkExtent2D swapchain_extent = {};
|
||||
VkImage* swapchain_images = nullptr;
|
||||
VkImageView* swapchain_image_views = nullptr;
|
||||
std::vector<VkImage> swapchain_images;
|
||||
std::vector<VkImageView> swapchain_image_views;
|
||||
u32 swapchain_images_count = 0;
|
||||
VkSemaphore present_complete_semaphore = nullptr;
|
||||
VkFence present_complete_fence = nullptr;
|
||||
@@ -65,8 +65,8 @@ struct WindowCtx {
|
||||
SDL_Window* m_window = nullptr;
|
||||
bool is_window_hidden = true;
|
||||
VkSurfaceKHR m_surface = nullptr;
|
||||
VulkanSurfaceCapabilities* m_surface_capabilities = nullptr;
|
||||
VulkanSwapchain* swapchain = nullptr;
|
||||
VulkanSurfaceCapabilities m_surface_capabilities;
|
||||
VulkanSwapchain swapchain;
|
||||
};
|
||||
|
||||
struct EmuPrivate {
|
||||
@@ -78,10 +78,11 @@ struct EmuPrivate {
|
||||
u32 m_screen_width = {0};
|
||||
u32 m_screen_height = {0};
|
||||
};
|
||||
|
||||
void emuInit(u32 width, u32 height);
|
||||
void emuRun();
|
||||
void checkAndWaitForGraphicsInit();
|
||||
HLE::Libs::Graphics::GraphicCtx* getGraphicCtx();
|
||||
void DrawBuffer(HLE::Libs::Graphics::VideoOutVulkanImage* image);
|
||||
void keyboardEvent(SDL_Event* event);
|
||||
} // namespace Emulator
|
||||
} // namespace Emulator
|
||||
|
||||
Reference in New Issue
Block a user