OpenGLHostDisplay: Support fullscreen mode enumeration (DRM only)

This commit is contained in:
Connor McLaughlin
2021-02-14 00:52:34 +10:00
parent 748e2e9a70
commit d4143399eb
8 changed files with 54 additions and 4 deletions

View File

@ -241,6 +241,9 @@ public:
/// Parses a fullscreen mode into its components (width * height @ refresh hz)
static bool ParseFullscreenMode(const std::string_view& mode, u32* width, u32* height, float* refresh_rate);
/// Converts a fullscreen mode to a string.
static std::string GetFullscreenModeString(u32 width, u32 height, float refresh_rate);
/// Returns true if fast forwarding or slow motion is currently active.
bool IsRunningAtNonStandardSpeed() const;