summaryrefslogtreecommitdiffstatsci
path: root/src/vkvg_context_internal.h
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2022-01-26 22:01:48 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2022-01-26 22:01:48 +0100
commit19abdef1af4b28e40ba6b994ea22e92b7dde1d8f (patch)
treeffdc7f4d10e351ee1856158cc14ac0277542aa1b /src/vkvg_context_internal.h
parent88c83b6b9b465a670f4989bbe21bd2e5f9eb2dd0 (diff)
test threadctxthreadctxtests
Diffstat (limited to 'src/vkvg_context_internal.h')
-rw-r--r--src/vkvg_context_internal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vkvg_context_internal.h b/src/vkvg_context_internal.h
index 6747d7d..bb3ab7f 100644
--- a/src/vkvg_context_internal.h
+++ b/src/vkvg_context_internal.h
@@ -27,6 +27,7 @@
#include "vkvg_buff.h"
#include "vkh.h"
#include "vkvg_fonts.h"
+#include "vkvg_sync_context_internal.h"
#if VKVG_RECORDING
#include "recording/vkvg_record_internal.h"
@@ -130,7 +131,8 @@ typedef struct _vkvg_context_t {
uint32_t references; //reference count
VkvgSurface pSurf; //surface bound to context, set on creation of ctx
- VkFence flushFence; //context fence
+ vkvg_sync_context syncCtx;
+
VkhImage source; //source of painting operation
VkCommandPool cmdPool; //local pools ensure thread safety