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
uint32_t device
The screen (GLX), GPU (Win32) or virtual screen (AGL).
std::string hostname
remote system hostname, empty for local GPUs
bool operator!=(const GPUInfo &rhs) const
A structure containing GPU-specific information.
uint32_t port
The display (GLX) or ignored (Win32, AGL).
bool operator==(const GPUInfo &rhs) const
Holds a 2D pixel viewport with methods for manipulation.
GPUInfo()
Default constructor pointing to default display.
PixelViewport pvp
The size and location of the GPU.