hwsd
1.1.1
|
The GLX implementation for local GPU discovery. More...
#include <module.h>
Static Public Member Functions | |
static HWSD_API void | use () |
Instantiate an GLX discovery module for the process. More... | |
static HWSD_API void | dispose () |
Unload the GLX discovery module for the process. More... | |
Protected Member Functions | |
virtual GPUInfos | discover () const |
Additional Inherited Members | |
Public Member Functions inherited from hwsd::Module< T > | |
Module () | |
Register and construct a new module. More... | |
virtual bool | announce (const std::string &session) const |
Announce the information about all found resources. More... | |
Public Attributes inherited from hwsd::Module< T > | |
Module< T > * | next_ |
Static Public Attributes inherited from hwsd::Module< T > | |
static HWSD_INL Module< T > * | stack_ |
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.
|
protectedvirtual |
|
static |
Unload the GLX discovery module for the process.
|
static |
Instantiate an GLX discovery module for the process.