mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 18:20:27 +00:00
f24893bcb1
* Prepare to update deps/switchres * Squashed 'deps/switchres/' content from commit ca72648b32 git-subtree-dir: deps/switchres git-subtree-split: ca72648b3253eca8c5addf64d1e4aa1c43f5db94 * Add CRT modeswitching to KMS Display the real refresh rate Enable the CRT SwitchRes menu Add another switchres.ini path for Lakka
31 lines
798 B
C++
31 lines
798 B
C++
/**************************************************************
|
|
|
|
display_linux.h - Display manager for Linux
|
|
|
|
---------------------------------------------------------
|
|
|
|
Switchres Modeline generation engine for emulation
|
|
|
|
License GPL-2.0+
|
|
Copyright 2010-2021 Chris Kennedy, Antonio Giner,
|
|
Alexandre Wodarczyk, Gil Delescluse
|
|
|
|
**************************************************************/
|
|
|
|
#include "display.h"
|
|
|
|
class linux_display : public display_manager
|
|
{
|
|
public:
|
|
linux_display(display_settings *ds);
|
|
~linux_display();
|
|
bool init(void* = nullptr);
|
|
bool set_mode(modeline *mode);
|
|
|
|
private:
|
|
bool get_desktop_mode();
|
|
bool set_desktop_mode(modeline *mode, int flags);
|
|
bool restore_desktop_mode();
|
|
int get_available_video_modes();
|
|
};
|