|
MythTV master
|
#include <libmythui/platforms/mythxdisplay.h>
Public Member Functions | |
| MythXDisplay ()=default | |
| ~MythXDisplay () | |
| Display * | GetDisplay () |
| int | GetScreen () const |
| void | Lock () |
| void | Unlock () |
| Window | GetRoot () const |
| bool | Open () |
| Open the display. More... | |
| void | Sync (bool Flush=false) |
Static Public Member Functions | |
| static MythXDisplay * | OpenMythXDisplay (bool Warn=true) |
| static void | SetQtX11Display (const QString &DisplayStr) |
| static bool | DisplayIsRemote () |
| Determine if we are running a remote X11 session. More... | |
Private Attributes | |
| Display * | m_disp { nullptr } |
| int | m_screenNum { 0 } |
| Window | m_root { 0 } |
| QRecursiveMutex | m_lock |
Static Private Attributes | |
| static QString | s_QtX11Display |
Definition at line 14 of file mythxdisplay.h.
|
default |
Referenced by OpenMythXDisplay().
| MythXDisplay::~MythXDisplay | ( | ) |
Definition at line 67 of file mythxdisplay.cpp.
|
static |
Determine if we are running a remote X11 session.
Definition at line 43 of file mythxdisplay.cpp.
Referenced by MythRenderOpenGL::Create().
|
inline |
Definition at line 24 of file mythxdisplay.h.
Referenced by MythScreenSaverX11::Asleep(), MythScreenSaverX11::Disable(), ScreenSaverX11Private::DisableDPMS(), MythNVControl::GetDisplayID(), MythDisplayX11::GetEDID(), GetOutput(), MythVDPAUHelper::MythVDPAUHelper(), MythScreenSaverX11::Reset(), MythScreenSaverX11::Restore(), ScreenSaverX11Private::RestoreDPMS(), ScreenSaverX11Private::RestoreScreenSaver(), ScreenSaverX11Private::SaveScreenSaver(), and ScreenSaverX11Private::ScreenSaverX11Private().
|
inline |
Definition at line 28 of file mythxdisplay.h.
Referenced by MythDisplayX11::GetEDID().
|
inline |
Definition at line 25 of file mythxdisplay.h.
Referenced by MythNVControl::GetDisplayID(), and MythVDPAUHelper::MythVDPAUHelper().
|
inline |
Definition at line 26 of file mythxdisplay.h.
Referenced by MythVDPAUHelper::MythVDPAUHelper(), MythXLocker::MythXLocker(), and Sync().
| bool MythXDisplay::Open | ( | void | ) |
Open the display.
Definition at line 86 of file mythxdisplay.cpp.
Referenced by MythDisplayX11::IsAvailable().
|
static |
Definition at line 25 of file mythxdisplay.cpp.
Referenced by MythNVControl::Create(), DisplayIsRemote(), MythDisplayX11::GetVideoModes(), MythScreenSaverControl::MythScreenSaverControl(), ScreenSaverX11Private::ScreenSaverX11Private(), MythDisplayX11::SwitchToVideoMode(), and MythDisplayX11::UpdateCurrentMode().
|
static |
Definition at line 37 of file mythxdisplay.cpp.
Referenced by MythDisplay::ConfigureQtGUI().
Definition at line 104 of file mythxdisplay.cpp.
Referenced by MythScreenSaverX11::Disable(), ScreenSaverX11Private::DisableDPMS(), MythScreenSaverX11::Reset(), MythScreenSaverX11::Restore(), ScreenSaverX11Private::RestoreDPMS(), and ScreenSaverX11Private::RestoreScreenSaver().
|
inline |
Definition at line 27 of file mythxdisplay.h.
Referenced by MythVDPAUHelper::MythVDPAUHelper(), Sync(), and MythXLocker::~MythXLocker().
|
private |
Definition at line 35 of file mythxdisplay.h.
Referenced by Open(), Sync(), and ~MythXDisplay().
|
private |
Definition at line 38 of file mythxdisplay.h.
|
private |
Definition at line 37 of file mythxdisplay.h.
Referenced by Open().
|
private |
Definition at line 36 of file mythxdisplay.h.
Referenced by Open().
|
inlinestaticprivate |
Definition at line 33 of file mythxdisplay.h.
Referenced by Open(), and SetQtX11Display().