18 #ifndef EQFABRIC_GPUINFO_H
19 #define EQFABRIC_GPUINFO_H
21 #include <eq/fabric/pixelViewport.h>
22 #include <eq/fabric/types.h>
56 inline std::ostream& operator << ( std::ostream& os,
const GPUInfo& info )
59 os <<
"hostname " << info.
hostname << std::endl;
60 if( info.
port != LB_UNDEFINED_UINT32 )
61 os <<
"port " << info.
port << std::endl;
62 if( info.
device != LB_UNDEFINED_UINT32 )
63 os <<
"device " << info.
device << std::endl;
65 os <<
"viewport " << info.
pvp << std::endl;
71 #endif // EQFABRIC_GPUINFO_H
PixelViewport pvp
The size and location of the GPU.
uint32_t device
The screen (GLX), GPU (Win32) or virtual screen (AGL).
bool operator==(const GPUInfo &rhs) const
The Equalizer client library.
GPUInfo()
Default constructor pointing to default display.
uint32_t port
The display (GLX) or ignored (Win32, AGL).
A structure containing GPU-specific information.
std::string hostname
remote system hostname, empty for local GPUs
Holds a 2D pixel viewport with methods for manipulation.
bool operator!=(const GPUInfo &rhs) const