Implement a Wayland Vsync source using frame callbacks

This commit is contained in:
Cameron Gutman 2022-11-12 13:03:42 -06:00
commit e3d51fd7f7
4 changed files with 150 additions and 12 deletions

View file

@ -103,7 +103,7 @@ unix:!macx {
}
packagesExist(wayland-client) {
DEFINES += HAS_WAYLAND
CONFIG += wayland
PKGCONFIG += wayland-client
}
@ -348,6 +348,13 @@ embedded {
DEFINES += EMBEDDED_BUILD
}
wayland {
message(Wayland extensions enabled)
DEFINES += HAS_WAYLAND
SOURCES += streaming/video/ffmpeg-renderers/pacer/waylandvsyncsource.cpp
HEADERS += streaming/video/ffmpeg-renderers/pacer/waylandvsyncsource.h
}
RESOURCES += \
resources.qrc \