Go to the source code of this file.
Typedefs | |
| typedef int(* | XErrorCallbackType )(Display *, XErrorEvent *) |
| typedef vector< XErrorEvent > | XErrorVectorType |
Functions | |
| int | GetNumberOfXineramaScreens (void) |
| Returns number of Xinerama screens if Xinerama is available, or 0 if it is not available. | |
| Display * | MythXOpenDisplay (void) |
| int | ErrorCatcher (Display *d, XErrorEvent *xeev) |
| void | InstallXErrorHandler (Display *d) |
| void | PrintXErrors (Display *d, const vector< XErrorEvent > &events) |
| vector< XErrorEvent > | UninstallXErrorHandler (Display *d, bool printErrors) |
| QSize | MythXGetDisplaySize (Display *d, int screen) |
| QSize | MythXGetDisplayDimensions (Display *d, int screen) |
| double | MythXGetPixelAspectRatio (Display *d, int screen) |
Variables | |
| QMutex | x11_lock |
| map< Display *, XErrorVectorType > | error_map |
| map< Display *, XErrorCallbackType > | error_handler_map |
| typedef int(* XErrorCallbackType)(Display *, XErrorEvent *) |
Definition at line 16 of file util-x11.cpp.
| typedef vector<XErrorEvent> XErrorVectorType |
Definition at line 17 of file util-x11.cpp.
| GetNumberOfXineramaScreens | ( | void | ) |
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().
| 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().
| int ErrorCatcher | ( | Display * | d, | |
| XErrorEvent * | xeev | |||
| ) |
| 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().
| void PrintXErrors | ( | Display * | d, | |
| const vector< XErrorEvent > & | events | |||
| ) |
Definition at line 89 of file util-x11.cpp.
Referenced by VideoOutputXv::InitOpenGL(), VideoOutputXv::InitXlib(), VideoOutputXv::InitXShm(), VideoOutputXv::InitXvMC(), and UninstallXErrorHandler().
| vector<XErrorEvent> UninstallXErrorHandler | ( | Display * | d, | |
| bool | printErrors | |||
| ) |
Definition at line 106 of file util-x11.cpp.
Referenced by VideoOutputXv::InitOpenGL(), VideoOutputXv::InitXlib(), VideoOutputXv::InitXShm(), VideoOutputXv::InitXVideo(), and VideoOutputXv::InitXvMC().
| QSize MythXGetDisplaySize | ( | Display * | d, | |
| int | screen | |||
| ) |
| QSize MythXGetDisplayDimensions | ( | Display * | d, | |
| int | screen | |||
| ) |
Definition at line 159 of file util-x11.cpp.
Referenced by DisplayResX::GetDisplaySize(), VideoOutputXv::InitDisplayMeasurements(), and MythXGetPixelAspectRatio().
| double MythXGetPixelAspectRatio | ( | Display * | d, | |
| int | screen | |||
| ) |
| QMutex x11_lock |
Definition at line 9 of file util-x11.cpp.
| map<Display*, XErrorVectorType> error_map |
Definition at line 23 of file util-x11.cpp.
Referenced by ErrorCatcher(), InstallXErrorHandler(), and UninstallXErrorHandler().
| map<Display*, XErrorCallbackType> error_handler_map |
Definition at line 24 of file util-x11.cpp.
Referenced by InstallXErrorHandler(), and UninstallXErrorHandler().
1.5.5