mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-16 11:55:39 +00:00
st/oxr: Add gfx to session gfx files
This commit is contained in:
parent
7bd1dba1d8
commit
b8d88113c2
1
doc/changes/state_trackers/mr.847.1.md
Normal file
1
doc/changes/state_trackers/mr.847.1.md
Normal file
|
@ -0,0 +1 @@
|
|||
OpenXR: Add prefix to gfx related session functions to improve sorting.
|
|
@ -39,7 +39,7 @@ set(OXR_SOURCE_FILES
|
|||
|
||||
if(XRT_HAVE_VULKAN)
|
||||
list(APPEND OXR_SOURCE_FILES
|
||||
oxr_session_vk.c
|
||||
oxr_session_gfx_vk.c
|
||||
oxr_swapchain_vk.c
|
||||
oxr_vulkan.c
|
||||
)
|
||||
|
@ -54,7 +54,7 @@ endif()
|
|||
|
||||
if(XRT_HAVE_OPENGL OR XRT_HAVE_OPENGLES)
|
||||
list(APPEND OXR_SOURCE_FILES
|
||||
oxr_session_gl.c
|
||||
oxr_session_gfx_gl.c
|
||||
oxr_swapchain_gl.c
|
||||
)
|
||||
endif()
|
||||
|
@ -65,14 +65,16 @@ endif()
|
|||
|
||||
if(XRT_HAVE_EGL)
|
||||
add_definitions(-DXR_USE_PLATFORM_EGL)
|
||||
list(APPEND OXR_SOURCE_FILES oxr_session_egl.c)
|
||||
list(APPEND OXR_SOURCE_FILES
|
||||
oxr_session_gfx_egl.c
|
||||
)
|
||||
endif()
|
||||
|
||||
|
||||
if(ANDROID)
|
||||
add_definitions(-DXR_USE_PLATFORM_ANDROID)
|
||||
list(APPEND OXR_SOURCE_FILES
|
||||
oxr_session_gles_android.c
|
||||
oxr_session_gfx_gles_android.c
|
||||
)
|
||||
endif()
|
||||
|
||||
|
|
|
@ -48,9 +48,9 @@ lib_st_oxr = static_library(
|
|||
'oxr_objects.h',
|
||||
'oxr_path.c',
|
||||
'oxr_session.c',
|
||||
'oxr_session_gl.c',
|
||||
'oxr_session_egl.c',
|
||||
'oxr_session_vk.c',
|
||||
'oxr_session_gfx_gl.c',
|
||||
'oxr_session_gfx_egl.c',
|
||||
'oxr_session_gfx_vk.c',
|
||||
'oxr_space.c',
|
||||
'oxr_swapchain.c',
|
||||
'oxr_swapchain_gl.c',
|
||||
|
|
Loading…
Reference in a new issue