Added initial GraphicsWindowX11 implementation, and fleshed out more of the
osgViewer and osg::GraphicsContext/osg::View infrastructure.
This commit is contained in:
@@ -29,6 +29,15 @@ class OSG_EXPORT GraphicsContext : public Referenced
|
||||
ScreenIdentifier():
|
||||
_displayNum(0),
|
||||
_screenNum(0) {}
|
||||
|
||||
ScreenIdentifier(unsigned int screenNum):
|
||||
_displayNum(0),
|
||||
_screenNum(screenNum) {}
|
||||
|
||||
ScreenIdentifier(const std::string& hostName,unsigned int displayNum, unsigned int screenNum):
|
||||
_hostName(hostName),
|
||||
_displayNum(displayNum),
|
||||
_screenNum(screenNum) {}
|
||||
|
||||
std::string _hostName;
|
||||
unsigned int _displayNum;
|
||||
|
||||
@@ -74,11 +74,11 @@ class OSG_EXPORT View : public virtual osg::Referenced
|
||||
Slave& getSlave(unsigned int pos) { return _slaves[pos]; }
|
||||
const Slave& getSlave(unsigned int pos) const { return _slaves[pos]; }
|
||||
|
||||
void updateSlaves();
|
||||
|
||||
protected :
|
||||
|
||||
virtual ~View();
|
||||
|
||||
void updateSlaves();
|
||||
|
||||
osg::ref_ptr<osg::Camera> _camera;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user