feat(layout)!: move /gl and /vk into rendering directory

as I was adding the audio module I realized it looks really ugly that
the audio-related stuff will be in its own directory and the renderer
modules will be scattered in root directory it makes way more sense this
way

Signed-off-by: Lorenzo Torres <lorenzo@sagittarius-a.org>
This commit is contained in:
h3llll 2025-11-05 20:38:35 +02:00 committed by Lorenzo Torres
parent 5a4db88436
commit 1070d03815
14 changed files with 6187 additions and 8 deletions

View file

@ -0,0 +1,26 @@
/* SPDX-License-Identifier:BSD-3-Clause */
#ifndef PHYSICAL_DEVICE_H
#define PHYSICAL_DEVICE_H
#include "vk.h"
#include "../../types.h"
#include "../../core/vector.h"
/*
* Get the list of all available devices and pick the best option.
*/
void vk_physical_device_pick(struct renderer_context *context);
/*
* Get the list of all available device extensions and return a vector
* containing those.
*/
struct vector *vk_physical_device_get_extensions(struct renderer_context *context);
/*
* The physical device is responsible of selecting the queue family indices,
* used later by the device to create the queues. This function sets the family
* indices in the renderer context.
*/
void vk_physical_device_select_family_indices(struct renderer_context *context);
#endif