mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-24 00:47:23 +00:00
Unify handling of DRM devices between DRM and VAAPI
SDL may not be able to give us a DRM FD for Vulkan windows.
This commit is contained in:
@@ -36,4 +36,10 @@ public:
|
||||
|
||||
static
|
||||
bool hasFastAes();
|
||||
|
||||
static
|
||||
int getDrmFdForWindow(SDL_Window* window, bool* needsClose);
|
||||
|
||||
static
|
||||
int getDrmFd(bool preferRenderNode);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user