Equalizer  2.1.0
Parallel Rendering Framework
eq::fabric::GPUInfo Struct Reference

A structure containing GPU-specific information. More...

#include <gpuInfo.h>

+ Collaboration diagram for eq::fabric::GPUInfo:

Public Member Functions

 GPUInfo ()
 Default constructor pointing to default display. More...
 
bool operator== (const GPUInfo &rhs) const
 
bool operator!= (const GPUInfo &rhs) const
 

Public Attributes

uint32_t port
 The display (GLX) or ignored (Win32, AGL). More...
 
uint32_t device
 The screen (GLX), GPU (Win32) or virtual screen (AGL). More...
 
PixelViewport pvp
 The size and location of the GPU. More...
 
std::string hostname
 remote system hostname, empty for local GPUs
 

Detailed Description

A structure containing GPU-specific information.

Definition at line 30 of file gpuInfo.h.

Constructor & Destructor Documentation

eq::fabric::GPUInfo::GPUInfo ( )
inline

Default constructor pointing to default display.

Definition at line 33 of file gpuInfo.h.

Member Function Documentation

bool eq::fabric::GPUInfo::operator!= ( const GPUInfo rhs) const
inline
Returns
true if both infos are not identical.
Version
1.0

Definition at line 46 of file gpuInfo.h.

References device, port, and pvp.

bool eq::fabric::GPUInfo::operator== ( const GPUInfo rhs) const
inline
Returns
true if both infos are identical.
Version
1.0

Definition at line 40 of file gpuInfo.h.

References device, port, and pvp.

Member Data Documentation

uint32_t eq::fabric::GPUInfo::device

The screen (GLX), GPU (Win32) or virtual screen (AGL).

Definition at line 55 of file gpuInfo.h.

Referenced by operator!=(), and operator==().

uint32_t eq::fabric::GPUInfo::port

The display (GLX) or ignored (Win32, AGL).

Definition at line 52 of file gpuInfo.h.

Referenced by operator!=(), and operator==().

PixelViewport eq::fabric::GPUInfo::pvp

The size and location of the GPU.

Definition at line 58 of file gpuInfo.h.

Referenced by operator!=(), and operator==().


The documentation for this struct was generated from the following file: