A structure containing GPU-specific information.
More...
#include <gpuInfo.h>
|
unsigned | type |
| Four-character code of the GPU type. More...
|
|
unsigned | port |
| The display (GLX) or ignored (WGL, AGL). More...
|
|
unsigned | device |
| The screen (GLX, WGL), GPU (WGLn, WGLa) or virtual screen (AGL). More...
|
|
int | pvp [4] |
| The size and location of the GPU (x,y,w,h). More...
|
|
unsigned | flags |
| bitmask of additional GPU capabilities
|
|
unsigned | unused |
|
lunchbox::uint128_t | id |
| Random unique ID identifing the origin node. More...
|
|
std::string | nodeName |
| System hostname if remote, empty for local. More...
|
|
std::string | session |
| The session name: local, default or custom string. More...
|
|
A structure containing GPU-specific information.
Definition at line 33 of file gpuInfo.h.
HWSD_API hwsd::GPUInfo::GPUInfo |
( |
| ) |
|
Default constructor pointing to the default display.
- Version
- 1.0
HWSD_API hwsd::GPUInfo::GPUInfo |
( |
const std::string & |
name | ) |
|
Constructor pointing to default display of a specific GPU type.
The information name is a type code of four characters. The passed string is formatted accordingly.
- Parameters
-
- Version
- 1.0
HWSD_API std::string hwsd::GPUInfo::getName |
( |
| ) |
const |
- Returns
- the type name string of this information.
- Version
- 1.0
HWSD_API void hwsd::GPUInfo::invalidatePVP |
( |
| ) |
|
Invalidate the pixel viewport.
- Version
- 1.0
HWSD_API bool hwsd::GPUInfo::operator!= |
( |
const GPUInfo & |
rhs | ) |
const |
- Returns
- true if both infos are not identical.
- Version
- 1.0
HWSD_API bool hwsd::GPUInfo::operator== |
( |
const GPUInfo & |
rhs | ) |
const |
- Returns
- true if both informations are identical.
- Version
- 1.0
const unsigned hwsd::GPUInfo::defaultValue = UINT_MAX |
|
static |
A non-enumerated port or device.
- Version
- 1.0
Definition at line 36 of file gpuInfo.h.
unsigned hwsd::GPUInfo::device |
The screen (GLX, WGL), GPU (WGLn, WGLa) or virtual screen (AGL).
- Version
- 1.0
Definition at line 80 of file gpuInfo.h.
const unsigned hwsd::GPUInfo::FLAG_VIRTUALGL = 0x1 |
|
static |
Process runs under VirtualGL.
- Version
- 1.1.2
Definition at line 39 of file gpuInfo.h.
const unsigned hwsd::GPUInfo::FLAG_VIRTUALGL_DISPLAY = 0x2 |
|
static |
VirtualGL redirect GPU.
- Version
- 1.1.2
Definition at line 42 of file gpuInfo.h.
unsigned hwsd::GPUInfo::port |
The display (GLX) or ignored (WGL, AGL).
- Version
- 1.0
Definition at line 74 of file gpuInfo.h.
int hwsd::GPUInfo::pvp[4] |
The size and location of the GPU (x,y,w,h).
- Version
- 1.0
Definition at line 83 of file gpuInfo.h.
unsigned hwsd::GPUInfo::type |
Four-character code of the GPU type.
- Version
- 1.0
Definition at line 71 of file gpuInfo.h.
The documentation for this struct was generated from the following file: