Initial commit

This is working repository now. I had to clean this up due to
my f_ups, that made this simple repo around 200MB large.

Signed-off-by: Piotr Krygier <piotrkrygier@everyonecancode@xyz>
This commit is contained in:
Piotr Krygier
2022-06-28 09:54:41 +02:00
committed by Piotr Krygier
commit 493afb05e6
56 changed files with 5574 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
#ifndef VULKAN_SWAPCHAIN_H
#define VULKAN_SWAPCHAIN_H
#include "utilities/commons.h"
#include "graphics_context.h"
/**
* @brief Cleanup swapchain
*
*/
void cleanup_swapchain(struct graphics_context_t* context);
/**
* @brief Recreates swapchain
*
*/
void recreate_swapchain(struct graphics_context_t* context);
/**
* @brief Create a swapchain and framebuffers object
*
* @param context graphical context
* @return rse_err_t RSE_ERROR_NO_ERROR on success
*/
rse_err_t create_swapchain_and_framebuffers(struct graphics_context_t* context);
#endif /* VULKAN_SWAPCHAIN_H */