Added initial GraphicsWindowX11 implementation, and fleshed out more of the

osgViewer and osg::GraphicsContext/osg::View infrastructure.
This commit is contained in:
Robert Osfield
2006-12-19 16:00:51 +00:00
parent afc77f9b39
commit dcebe4daa0
11 changed files with 695 additions and 16 deletions

View File

@@ -90,8 +90,6 @@ SceneView::SceneView(DisplaySettings* ds)
{
_displaySettings = ds;
_fusionDistanceMode = PROPORTIONAL_TO_SCREEN_DISTANCE;
_fusionDistanceValue = 1.0f;
@@ -119,6 +117,34 @@ SceneView::SceneView(DisplaySettings* ds)
_interlacedStereoStencilHeight = 0;
}
SceneView::SceneView(const SceneView& rhs, const osg::CopyOp&)
{
_displaySettings = rhs._displaySettings;
_fusionDistanceMode = rhs._fusionDistanceMode;
_fusionDistanceValue = rhs._fusionDistanceValue;
_lightingMode = rhs._lightingMode;
_prioritizeTextures = rhs._prioritizeTextures;
_camera = rhs._camera;
_initCalled = rhs._initCalled;
_drawBufferValue = rhs._drawBufferValue;
_requiresFlush = rhs._requiresFlush;
_activeUniforms = rhs._activeUniforms;
_previousFrameTime = rhs._previousFrameTime;
_redrawInterlacedStereoStencilMask = rhs._redrawInterlacedStereoStencilMask;
_interlacedStereoStencilWidth = rhs._interlacedStereoStencilWidth;
_interlacedStereoStencilHeight = rhs._interlacedStereoStencilHeight;
}
SceneView::~SceneView()
{