summaryrefslogtreecommitdiffstatsci
path: root/include
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2022-01-08 16:27:27 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2022-01-11 16:41:18 +0100
commit0c57f9be08fb6c2f535edc16202f39ef61fd80ce (patch)
tree86a4ba1ddd4336aec4d4a4a2edff3ceb03fe90a1 /include
parentc16ae47a9949ad80bdae0aff4707778dcaa09c53 (diff)
base implementation of recording infrastructure
Diffstat (limited to 'include')
-rw-r--r--include/vkvg.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/vkvg.h b/include/vkvg.h
index 4557dfb..9fc397e 100644
--- a/include/vkvg.h
+++ b/include/vkvg.h
@@ -1748,6 +1748,19 @@ void vkvg_set_source_color_name (VkvgContext ctx, const char* color);
/*************************************/
+#ifdef VKVG_RECORDING
+typedef struct _vkvg_recording_t* VkvgRecording;
+
+vkvg_public
+void vkvg_start_recording (VkvgContext ctx);
+VkvgRecording vkvg_stop_recording (VkvgContext ctx);
+void vkvg_replay (VkvgContext ctx, VkvgRecording rec);
+uint32_t vkvg_recording_get_count(VkvgRecording rec);
+void vkvg_recording_destroy (VkvgRecording rec);
+
+
+#endif
+
#ifdef __cplusplus
}
#endif