mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-29 18:08:29 +00:00
st/oxr: Refactor out end frame function into own file
This commit is contained in:
parent
b8d88113c2
commit
189aea97aa
1
doc/changes/state_trackers/mr.847.2.md
Normal file
1
doc/changes/state_trackers/mr.847.2.md
Normal file
|
@ -0,0 +1 @@
|
|||
OpenXR: Break out end frame handling to it's own file since it's so big.
|
|
@ -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
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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
1441
src/xrt/state_trackers/oxr/oxr_session_frame_end.c
Normal file
1441
src/xrt/state_trackers/oxr/oxr_session_frame_end.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue