DisplayServer (Linux): use libdrm

Which correctly detects current mode ( instead of preferred mode ) and
supports refresh rate
This commit is contained in:
李通洲
2023-11-29 14:55:40 +08:00
parent 53922779ba
commit 67f4b991d7
10 changed files with 279 additions and 144 deletions
+3
View File
@@ -181,6 +181,9 @@ void ffListFeatures(void)
#ifdef FF_HAVE_X11
"x11\n"
#endif
#ifdef FF_HAVE_DRM
"drm\n"
#endif
#ifdef FF_HAVE_GIO
"gio\n"
#endif