The GLX implementation for local GPU discovery.
More...
#include <module.h>
Static Public Member Functions |
static void | use () |
| Instantiate an GLX discovery module for the process.
|
static void | dispose () |
| Unload the GLX discovery module for the process.
|
Additional Inherited Members |
| Module () |
| Register and construct a new module.
|
virtual | ~Module () |
| Destruct this module.
|
virtual bool | announce (const std::string &session) const |
| Announce the information about all found resources.
|
Module< T > * | next_ |
static HWSD_INL Module< T > * | stack_ |
Detailed Description
The GLX implementation for local GPU discovery.
The GLX module tries to open X server :0 to :9. For each server which can be opened, all available screens on the server are added as a separate GPUInfo.
Definition at line 38 of file gpu/glx/module.h.
Member Function Documentation
virtual GPUInfos hwsd::gpu::glx::Module::discover |
( |
| ) |
const |
|
protectedvirtual |
- Returns
- information about all found resources.
- Version
- 1.0
Implements hwsd::Module< T >.
static void hwsd::gpu::glx::Module::dispose |
( |
| ) |
|
|
static |
Unload the GLX discovery module for the process.
static void hwsd::gpu::glx::Module::use |
( |
| ) |
|
|
static |
Instantiate an GLX discovery module for the process.
The documentation for this class was generated from the following file: