Go to the source code of this file.
Functions | |
| MPUBLIC Display * | MythXOpenDisplay (void) |
| MPUBLIC void | InstallXErrorHandler (Display *d) |
| MPUBLIC void | PrintXErrors (Display *d, const std::vector< XErrorEvent > &events) |
| MPUBLIC std::vector< XErrorEvent > | UninstallXErrorHandler (Display *d, bool printErrors=true) |
| MPUBLIC QSize | MythXGetDisplaySize (Display *d=NULL, int screen=-1) |
| MPUBLIC QSize | MythXGetDisplayDimensions (Display *d=NULL, int screen=-1) |
| MPUBLIC double | MythXGetPixelAspectRatio (Display *d=NULL, int screen=-1) |
| MPUBLIC int | GetNumberOfXineramaScreens () |
| Returns number of Xinerama screens if Xinerama is available, or 0 if it is not available. | |
Variables | |
| MPUBLIC QMutex | x11_lock |
| MPUBLIC Display* MythXOpenDisplay | ( | void | ) |
Definition at line 56 of file util-x11.cpp.
Referenced by createXvMCDisplay(), get_glx_version(), VideoOutputXv::GetAllowedRenderers(), VideoOutputXv::GetBestSupportedCodec(), GetNumberOfXineramaScreens(), GetScreenConfig(), VideoOutputXv::Init(), MythXGetDisplayDimensions(), MythXGetDisplaySize(), and MythXGetPixelAspectRatio().
| MPUBLIC void InstallXErrorHandler | ( | Display * | d | ) |
Definition at line 79 of file util-x11.cpp.
Referenced by VideoOutputXv::InitOpenGL(), VideoOutputXv::InitXlib(), VideoOutputXv::InitXShm(), VideoOutputXv::InitXVideo(), and VideoOutputXv::InitXvMC().
| MPUBLIC void PrintXErrors | ( | Display * | d, | |
| const std::vector< XErrorEvent > & | events | |||
| ) |
| MPUBLIC std::vector<XErrorEvent> UninstallXErrorHandler | ( | Display * | d, | |
| bool | printErrors = true | |||
| ) |
Definition at line 106 of file util-x11.cpp.
Referenced by VideoOutputXv::InitOpenGL(), VideoOutputXv::InitXlib(), VideoOutputXv::InitXShm(), VideoOutputXv::InitXVideo(), and VideoOutputXv::InitXvMC().
| MPUBLIC QSize MythXGetDisplaySize | ( | Display * | d = NULL, |
|
| int | screen = -1 | |||
| ) |
| MPUBLIC QSize MythXGetDisplayDimensions | ( | Display * | d = NULL, |
|
| int | screen = -1 | |||
| ) |
Definition at line 159 of file util-x11.cpp.
Referenced by DisplayResX::GetDisplaySize(), VideoOutputXv::InitDisplayMeasurements(), and MythXGetPixelAspectRatio().
| MPUBLIC double MythXGetPixelAspectRatio | ( | Display * | d = NULL, |
|
| int | screen = -1 | |||
| ) |
| MPUBLIC int GetNumberOfXineramaScreens | ( | ) |
Returns number of Xinerama screens if Xinerama is available, or 0 if it is not available.
Definition at line 31 of file util-x11.cpp.
Referenced by AppearanceSettings::AppearanceSettings(), MythContextPrivate::GetScreenBounds(), VideoOutputXv::InitDisplayMeasurements(), and XineramaScreen().
| MPUBLIC QMutex x11_lock |
Definition at line 9 of file util-x11.cpp.
1.5.5