st/oxr: Refactor out end frame function into own file

This commit is contained in:
Jakob Bornecrantz 2021-06-20 15:01:49 +01:00
parent b8d88113c2
commit 189aea97aa
6 changed files with 1451 additions and 1358 deletions

View file

@ -0,0 +1 @@
OpenXR: Break out end frame handling to it's own file since it's so big.

View file

@ -29,6 +29,7 @@ set(OXR_SOURCE_FILES
oxr_objects.h
oxr_path.c
oxr_session.c
oxr_session_frame_end.c
oxr_space.c
oxr_swapchain.c
oxr_system.c

View file

@ -48,6 +48,7 @@ lib_st_oxr = static_library(
'oxr_objects.h',
'oxr_path.c',
'oxr_session.c',
'oxr_session_frame_end.c',
'oxr_session_gfx_gl.c',
'oxr_session_gfx_egl.c',
'oxr_session_gfx_vk.c',

View file

@ -611,6 +611,12 @@ oxr_session_enumerate_formats(struct oxr_logger *log,
uint32_t *formatCountOutput,
int64_t *formats);
/*!
* Change the state of the session, queues a event.
*/
void
oxr_session_change_state(struct oxr_logger *log, struct oxr_session *sess, XrSessionState state);
XrResult
oxr_session_begin(struct oxr_logger *log, struct oxr_session *sess, const XrSessionBeginInfo *beginInfo);

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff