basic rendering for both opengl and vulkan
This commit is contained in:
parent
4b18afa040
commit
dadd2edaf1
29 changed files with 1140 additions and 38 deletions
12
rendering/vk/sync.h
Normal file
12
rendering/vk/sync.h
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
/* SPDX-License-Identifier:BSD-3-Clause */
|
||||
#ifndef SYNC_H
|
||||
#define SYNC_H
|
||||
|
||||
#include "vk.h"
|
||||
|
||||
#define MAX_FRAMES_IN_FLIGHT 2
|
||||
|
||||
void vk_sync_init(struct renderer_context *context);
|
||||
void vk_sync_deinit(struct renderer_context *context);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue