VITA: implement camera subsystem

This commit is contained in:
Ivan Epifanov
2024-10-17 17:57:10 +03:00
committed by Sam Lantinga
parent f79f21217b
commit 6da4d94abf
5 changed files with 270 additions and 0 deletions

View File

@@ -2570,6 +2570,12 @@ elseif(VITA)
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/sensor/vita/*.c")
endif()
if(SDL_CAMERA)
set(SDL_CAMERA_DRIVER_VITA 1)
set(HAVE_CAMERA TRUE)
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/camera/vita/*.c")
endif()
if(SDL_VIDEO)
set(SDL_VIDEO_DRIVER_VITA 1)
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/video/vita/*.c")
@@ -2650,6 +2656,7 @@ elseif(VITA)
SceMotion_stub
ScePower_stub
SceProcessmgr_stub
SceCamera_stub
)
endif()