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:
parent
9cf305865b
commit
6f39d120cb
5 changed files with 147 additions and 75 deletions
|
|
@ -86,6 +86,7 @@ private:
|
|||
AVHWDeviceType m_HwDeviceType;
|
||||
AVBufferRef* m_HwContext;
|
||||
int m_DrmFd;
|
||||
bool m_DrmIsMaster;
|
||||
bool m_SdlOwnsDrmFd;
|
||||
bool m_SupportsDirectRendering;
|
||||
int m_VideoFormat;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue