|
@@ -430,6 +430,7 @@ dep_option(SDL_WAYLAND_LIBDECOR "Use client-side window decorations on Waylan
|
|
|
dep_option(SDL_WAYLAND_LIBDECOR_SHARED "Dynamically load libdecor support" ON "SDL_WAYLAND_LIBDECOR;SDL_WAYLAND_SHARED" OFF)
|
|
|
dep_option(SDL_WAYLAND_QT_TOUCH "QtWayland server support for Wayland video driver" ON "SDL_WAYLAND" OFF)
|
|
|
set_option(SDL_RPI "Use Raspberry Pi video driver" ${UNIX_SYS})
|
|
|
+set_option(SDL_ROCKCHIP "Use ROCKCHIP Hardware Acceleration video driver" ${UNIX_SYS})
|
|
|
set_option(SDL_COCOA "Use Cocoa video driver" ${APPLE})
|
|
|
set_option(SDL_DIRECTX "Use DirectX for Windows audio/video" ${WINDOWS})
|
|
|
set_option(SDL_XINPUT "Use Xinput for Windows" ${WINDOWS})
|
|
@@ -1388,6 +1389,8 @@ elseif(UNIX AND NOT APPLE AND NOT RISCOS AND NOT HAIKU)
|
|
|
if(SDL_VIDEO)
|
|
|
# Need to check for Raspberry PI first and add platform specific compiler flags, otherwise the test for GLES fails!
|
|
|
CheckRPI()
|
|
|
+ # Need to check for ROCKCHIP platform and get rid of "Can't window GBM/EGL surfaces on window creation."
|
|
|
+ CheckROCKCHIP()
|
|
|
CheckX11()
|
|
|
# Need to check for EGL first because KMSDRM and Wayland depends on it.
|
|
|
CheckEGL()
|