summaryrefslogtreecommitdiff
path: root/engine/render/vulkan/swapchain.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2025-08-11engine: render: refactor device creation routineHEADmasterDanny Holman1-1/+1
Refactor the code responsible for acquisition of queues from the Vulkan logical device. This new design should take into account the actual queue creation limits as well as the case in which the presentation queue is shared between queue families. Signed-off-by: Danny Holman <dholman@gymli.org>
2025-08-04root: restructuringDanny Holman1-3/+5
Restructure the root of the project such that the engine is siloed from the rest of the toolchain. Add two new subdirectories that contain an editor and an offline profiling data analyzer. Signed-off-by: Danny Holman <dholman@gymli.org>
2025-03-20render: vulkan: make all types opaqueDanny Holman1-8/+40
Make all the types specific to Vulkan fully opaque. This brings most of the rendering backend in line with the project coding style. Signed-off-by: Danny Holman <dholman@gymli.org>
2024-11-27render: centralize the type definitionsDanny Holman1-1/+2
Centralize the type definitions for the Vulkan renderer. This removes the possibility for cyclic dependencies in the include paths. Signed-off-by: Danny Holman <dholman@gymli.org>
2024-11-19render: create a vkqueue struct for Vulkan queuesDanny Holman1-5/+6
Add a vkqueue struct to the Vulkan device interface and shift queue operations to helper functions that interact with this new struct. This makes the initialization routines more readable and simplifies the interface. Signed-off-by: Danny Holman <dholman@gymli.org>
2024-10-28render: move get_vkerr_str into vkassert.hDanny Holman1-6/+9
Move get_vkerr_str into vkassert.h and use its output in the vkassert function. This reduces the need for an error message argument when calling vkassert and makes error messages in logs consistent across the entire Vulkan renderer. Signed-off-by: Danny Holman <dholman@gymli.org>
2024-10-25render: fix a build bug in the vulkan rendererDanny Holman1-0/+1
Fix a bug causing the build to fail during the compile step of the Vulkan renderer. The frame number has been moved into the swapchain struct and no longer exists in the context struct. Therefore, its initialization should be done inside the swapchain init function. Signed-off-by: Danny Holman <dholman@gymli.org>
2024-10-25render: create the rendering subsystemDanny Holman1-0/+112
Create the rendering subsystem and populate it with a basic Vulkan renderer. This renderer is not yet functional and should not be used yet. Signed-off-by: Danny Holman <dholman@gymli.org>