Add DRM renderer for Rockchip devices

This commit is contained in:
Cameron Gutman
2019-04-21 05:22:37 +00:00
parent 5c8a1e632b
commit dba479774b
4 changed files with 326 additions and 0 deletions
+12
View File
@@ -99,6 +99,11 @@ unix:!macx {
PKGCONFIG += mmal
CONFIG += mmal
}
packagesExist(libdrm) {
PKGCONFIG += libdrm
CONFIG += libdrm
}
}
}
win32 {
@@ -225,6 +230,13 @@ mmal {
SOURCES += streaming/video/ffmpeg-renderers/mmal.cpp
HEADERS += streaming/video/ffmpeg-renderers/mmal.h
}
libdrm {
message(DRM renderer selected)
DEFINES += HAVE_DRM
SOURCES += streaming/video/ffmpeg-renderers/drm.cpp
HEADERS += streaming/video/ffmpeg-renderers/drm.h
}
config_SL {
message(Steam Link build configuration selected)