3 #include <kiba/gpu/device.h>
4 #include <kiba/gpu/enums.h>
5 #include <kiba/gpu/types.h>
7 KB_LOCAL b8 gpu_surface_create(
gpu_surface surface,
void *window_data);
8 KB_LOCAL
void gpu_surface_destroy(
gpu_surface surface);
10 KB_LOCAL b8 gpu_backend_surface_create(
struct gpu_backend_surface *surface,
void *window_data);
18 .format = GPU_TEXTURE_FORMAT_BGRA8_UNORM,
19 .present_mode = GPU_PRESENT_MODE_FIFO,
26 KB_API
void gpu_surface_unconfigure(
gpu_surface surface);
34 KB_API b8 gpu_surface_present(
gpu_surface surface, b8 *suboptimal);
#define UNUSED(x)
Mark parameter as unused.