mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-27 06:20:05 +00:00
Add VAAPI DRM support
This commit is contained in:
1 parent
66863789c7
commit
6468efd7e4
3 files changed
+55
-1
No files matched your search
@@ -22,6 +22,9 @@ extern "C" {
|
||||
#ifdef HAVE_LIBVA_WAYLAND
|
||||
#include <va/va_wayland.h>
|
||||
#endif
|
||||
#ifdef HAVE_LIBVA_DRM
|
||||
#include <va/va_drm.h>
|
||||
#endif
|
||||
#include <libavutil/hwcontext_vaapi.h>
|
||||
}
|
||||
|
||||
@@ -39,6 +42,7 @@ public:
|
||||
private:
|
||||
int m_WindowSystem;
|
||||
AVBufferRef* m_HwContext;
|
||||
int m_DrmFd;
|
||||
|
||||
#ifdef HAVE_LIBVA_X11
|
||||
Window m_XWindow;
|
||||
|
||||
Reference in new issue
Block a user