HW-SD  1.0.0
Static Public Member Functions | Protected Member Functions | List of all members
hwsd::gpu::glx::Module Class Reference

The GLX implementation for local GPU discovery. More...

#include <module.h>

+ Inheritance diagram for hwsd::gpu::glx::Module:
+ Collaboration diagram for hwsd::gpu::glx::Module:

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.

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.
virtual ~Module ()
 Destruct this module.
virtual bool announce (const std::string &session) const
 Announce the information about all found resources.
- Public Attributes inherited from hwsd::Module< T >
Module< T > * next_
- Static Public Attributes inherited from hwsd::Module< T >
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: