18 #ifndef EQFABRIC_SWAPBARRIER_H 19 #define EQFABRIC_SWAPBARRIER_H 22 #include <lunchbox/referenced.h> 47 void setName(
const std::string& name ) { _name = name; }
48 const std::string getName()
const {
return _name; }
50 uint32_t getNVSwapGroup()
const {
return _nvSwapGroup ; }
51 void setNVSwapGroup( uint32_t nvGroup ) { _nvSwapGroup = nvGroup; }
53 uint32_t getNVSwapBarrier()
const {
return _nvSwapBarrier; }
54 void setNVSwapBarrier( uint32_t nvBarrier )
55 { _nvSwapBarrier = nvBarrier; }
57 bool isNvSwapBarrier()
const 58 {
return ( _nvSwapBarrier || _nvSwapGroup ); }
64 uint32_t _nvSwapGroup;
65 uint32_t _nvSwapBarrier;
71 #endif // EQFABRIC_SWAPBARRIER_H A swapbarrier is set on a Compound to synchronize the swap buffer between windows.
Defines export visibility macros for library EqualizerFabric.
The Equalizer client library.
std::ostream & operator<<(std::ostream &os, const AxisEvent &event)
Print the axis event to the given output stream.
SwapBarrier()
Constructs a new SwapBarrier.