18 #ifndef EQFABRIC_SWAPBARRIER_H 19 #define EQFABRIC_SWAPBARRIER_H 23 #include <lunchbox/referenced.h> 51 void setName(
const std::string& name) { _name = name; }
52 const std::string getName()
const {
return _name; }
53 uint32_t getNVSwapGroup()
const {
return _nvSwapGroup; }
54 void setNVSwapGroup(uint32_t nvGroup) { _nvSwapGroup = nvGroup; }
55 uint32_t getNVSwapBarrier()
const {
return _nvSwapBarrier; }
56 void setNVSwapBarrier(uint32_t nvBarrier) { _nvSwapBarrier = nvBarrier; }
57 bool isNvSwapBarrier()
const {
return (_nvSwapBarrier || _nvSwapGroup); }
63 uint32_t _nvSwapGroup;
64 uint32_t _nvSwapBarrier;
70 #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.