Hi Robert, I tested yesterday with my worst test machine Ubuntu 10.04 with mesa drivers and toggling fullscreen was working well. I think my X11 version it's not affected by the workaround.
I am compiling now on MacOS for i386 and x86_64. By now it gives me some warnings in OpenSceneGraph-3.0/src/osg/glu/libutil/mipmap.cpp: In function ‘GLdouble osg::extractUbyte(int, const void*)’: OpenSceneGraph-3.0/src/osg/glu/libutil/mipmap.cpp:8566: warning: comparison is always true due to limited range of data type And the same in lines 8582 8603 8626. I have not seen the code, I will try to look deeper this evening. Cheers. 2011/6/21 Robert Osfield <[email protected]> > Hi All, > > I have just tagged the second 3.0.0 release candidate, you can get the > source from: > > source package : OpenSceneGraph-3.0.0-rc2.zip > svn tag: svn co > > http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-3.0.0-rc2 > OpenSceneGraph > > Feedback from the community on the state of the 3.0 branch and rc1 has > been pretty positive so it does look like we are in a pretty good > state for the final 3.0.0 stable release. While feedback has been > positive it does concern me is that volume of feedback from the > community is still rather low, suggesting that the release candidate 1 > and the OSG-3.0 branch haven't recieved a lot of widespread testing > yet, so perhaps we might be lulling ourselves into a false sense of > security. > > What we really need now is more widespread testing so we can catch any > problems that might be present on more niche usage cases or the less > comonly used build platforms. Almost always right away a stable > release we get feedback from the community that there is a build issue > or a feature regression that could have easily been resolved prior to > the release, but the problems slipped through because those users who > come across the issues didn't actually test the software prior to > release. > > I would encourage everyone in the community not to assume just because > others are doing testing and providing positive feedback that things > will also work fine for you, assume that there will be problems and to > make sure that problems these problems get resolved come come forward > and test the software and tells us about the problems. Right now is > great opportunity to get those bugs resolved, I and others are primed > to investigate and resolved them. After the stable release you'll > have missed the boat - we'll be on holiday or focussing on other work. > > So please test, it's your own as much as everyone elses good. > > Thanks in advance, > Robert. > > > -- Changes checked in since 3.0.0-rc1 are: > > 2011-06-21 10:07 robert > > * src/osg/glu/libtess/tess.h: Merged changeset 12581 from svn/trunk > to address VisualStudio warning > > 2011-06-21 09:58 robert > > * src/osgPlugins/fbx/WriterCompareTriangle.cpp, > src/osgPlugins/fbx/WriterCompareTriangle.h, > src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp, > src/osgPlugins/fbx/fbxMaterialToOsgStateSet.h, > src/osgPlugins/fbx/fbxRLight.cpp, > src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRNode.cpp: > Merged from svn/trunk warnings fixes provided by Changeset 12582 > from Michael Platings, along with addition > of returns at ends of files and changes to tabs to four spaces. > > 2011-06-20 19:41 robert > > * CMakeLists.txt: Updated release candidate number > > 2011-06-20 19:37 robert > > * src/osgPlugins/bmp/ReaderWriterBMP.cpp, > src/osgPlugins/png/ReaderWriterPNG.cpp, > src/osgPlugins/tga/ReaderWriterTGA.cpp: Merged from svn/trunk, > r12574. > > From Farshid Lashkari, BGR write support for BMP, PNG and TGA > > 2011-06-20 19:33 robert > > * examples/osgphotoalbum/PhotoArchive.cpp, src/osg/ImageUtils.cpp, > src/osg/OcclusionQueryNode.cpp, src/osgDB/ExternalFileWriter.cpp, > src/osgDB/InputStream.cpp, src/osgDB/OutputStream.cpp, > src/osgPlugins/Inventor/ConvertToInventor.cpp, > src/osgPlugins/Inventor/ReaderWriterIV.cpp, > src/osgPlugins/OpenFlight/expGeometryRecords.cpp, > src/osgPlugins/cfg/CameraConfig.cpp, > src/osgPlugins/freetype/FreeTypeLibrary.cpp, > src/osgPlugins/geo/ReaderWriterGEO.cpp, > src/osgPlugins/geo/osgGeoNodes.h, > src/osgPlugins/md2/ReaderWriterMD2.cpp, > src/osgPlugins/pic/ReaderWriterPIC.cpp, > src/osgPlugins/ply/plyfile.cpp, > src/osgPlugins/pvr/ReaderWriterPVR.cpp, > src/osgPlugins/shp/ESRIShapeParser.cpp, > src/osgPlugins/shp/XBaseParser.cpp, src/osgPlugins/zip/unzip.cpp, > src/osgShadow/MinimalCullBoundsShadowMap.cpp, > src/osgViewer/ScreenCaptureHandler.cpp, > src/osgVolume/Locator.cpp, src/osgVolume/RayTracedTechnique.cpp, > src/osgWrappers/serializers/osg/ShaderBinary.cpp: Merged changes > to svn/trunk that address cppcheck reported issues: > > [examples/osgphotoalbum/PhotoArchive.cpp:56]: (error) Memory > leak: fileIndentifier > [examples/osgphotoalbum/PhotoArchive.cpp:257]: (error) > Deallocating a deallocated pointer: newData > [examples/osgphotoalbum/PhotoArchive.cpp:318]: (error) > Deallocating a deallocated pointer: newData > [src/osg/ImageUtils.cpp:116]: (portability) Extra qualification > 'osg::' unnecessary and considered an error by many compilers. > [src/osg/ImageUtils.cpp:307]: (portability) Extra qualification > 'osg::' unnecessary and considered an error by many compilers. > [src/osg/ImageUtils.cpp:312]: (portability) Extra qualification > 'osg::' unnecessary and considered an error by many compilers. > [src/osg/ImageUtils.cpp:367]: (portability) Extra qualification > 'osg::' unnecessary and considered an error by many compilers. > [src/osg/ImageUtils.cpp:399]: (portability) Extra qualification > 'osg::' unnecessary and considered an error by many compilers. > [src/osg/ImageUtils.cpp:400]: (portability) Extra qualification > 'osg::' unnecessary and considered an error by many compilers. > [src/osg/ImageUtils.cpp:482]: (portability) Extra qualification > 'osg::' unnecessary and considered an error by many compilers. > [src/osg/ImageUtils.cpp:483]: (portability) Extra qualification > 'osg::' unnecessary and considered an error by many compilers. > [src/osg/ImageUtils.cpp:484]: (portability) Extra qualification > 'osg::' unnecessary and considered an error by many compilers. > [src/osg/ImageUtils.cpp:519]: (portability) Extra qualification > 'osg::' unnecessary and considered an error by many compilers. > [src/osg/ImageUtils.cpp:536]: (portability) Extra qualification > 'osg::' unnecessary and considered an error by many compilers. > [src/osg/OcclusionQueryNode.cpp:71]: (portability) Extra > qualification 'osg::' unnecessary and considered an error by many > compilers. > [src/osg/OcclusionQueryNode.cpp:74]: (portability) Extra > qualification 'osg::' unnecessary and considered an error by many > compilers. > [src/osg/OcclusionQueryNode.cpp:77]: (portability) Extra > qualification 'osg::' unnecessary and considered an error by many > compilers. > [src/osg/OcclusionQueryNode.cpp:82]: (portability) Extra > qualification 'osg::' unnecessary and considered an error by many > compilers. > [src/osg/OcclusionQueryNode.cpp:102]: (portability) Extra > qualification 'osg::' unnecessary and considered an error by many > compilers. > [src/osg/OcclusionQueryNode.cpp:107]: (portability) Extra > qualification 'osg::' unnecessary and considered an error by many > compilers. > [src/osg/OcclusionQueryNode.cpp:599]: (portability) Extra > qualification 'osg::' unnecessary and considered an error by many > compilers. > [src/osg/OcclusionQueryNode.cpp:600]: (portability) Extra > qualification 'osg::' unnecessary and considered an error by many > compilers. > [src/osg/OcclusionQueryNode.cpp:601]: (portability) Extra > qualification 'osg::' unnecessary and considered an error by many > compilers. > [src/osg/OcclusionQueryNode.cpp:602]: (portability) Extra > qualification 'osg::' unnecessary and considered an error by many > compilers. > [src/osg/OcclusionQueryNode.cpp:603]: (portability) Extra > qualification 'osg::' unnecessary and considered an error by many > compilers. > [src/osg/OcclusionQueryNode.cpp:604]: (portability) Extra > qualification 'osg::' unnecessary and considered an error by many > compilers. > [src/osg/OcclusionQueryNode.cpp:605]: (portability) Extra > qualification 'osg::' unnecessary and considered an error by many > compilers. > [src/osg/OcclusionQueryNode.cpp:606]: (portability) Extra > qualification 'osg::' unnecessary and considered an error by many > compilers. > [src/osgDB/ExternalFileWriter.cpp:134]: (portability) Extra > qualification 'osgDB::' unnecessary and considered an error by > many compilers. > [src/osgDB/ExternalFileWriter.cpp:135]: (portability) Extra > qualification 'osgDB::' unnecessary and considered an error by > many compilers. > [src/osgDB/ExternalFileWriter.cpp:136]: (portability) Extra > qualification 'osgDB::' unnecessary and considered an error by > many compilers. > [src/osgDB/ExternalFileWriter.cpp:137]: (portability) Extra > qualification 'osgDB::' unnecessary and considered an error by > many compilers. > [src/osgDB/ExternalFileWriter.cpp:139]: (portability) Extra > qualification 'osgDB::' unnecessary and considered an error by > many compilers. > [src/osgDB/ExternalFileWriter.cpp:177]: (portability) Extra > qualification 'osgDB::' unnecessary and considered an error by > many compilers. > [src/osgDB/ExternalFileWriter.cpp:178]: (portability) Extra > qualification 'osgDB::' unnecessary and considered an error by > many compilers. > [src/osgDB/ExternalFileWriter.cpp:195]: (portability) Extra > qualification 'osgDB::' unnecessary and considered an error by > many compilers. > [src/osgDB/ExternalFileWriter.cpp:198]: (portability) Extra > qualification 'osgDB::' unnecessary and considered an error by > many compilers. > [src/osgDB/ExternalFileWriter.cpp:203]: (portability) Extra > qualification 'osgDB::' unnecessary and considered an error by > many compilers. > [src/osgDB/ExternalFileWriter.cpp:205]: (portability) Extra > qualification 'osgDB::' unnecessary and considered an error by > many compilers. > [src/osgDB/ExternalFileWriter.cpp:253]: (portability) Extra > qualification 'osgDB::' unnecessary and considered an error by > many compilers. > [src/osgDB/InputStream.cpp:553]: (error) Memory leak: data > [src/osgDB/OutputStream.cpp:393]: (error) Memory leak: data > [src/osgPlugins/Inventor/ConvertToInventor.cpp:656]: (error) > Mismatching allocation and deallocation: tmpArray > [src/osgPlugins/Inventor/ReaderWriterIV.cpp:237]: (error) Common > realloc mistake: 'buf' nulled but not freed upon failure > [src/osgPlugins/OpenFlight/expGeometryRecords.cpp:167]: > (portability) Extra qualification 'flt::' unnecessary and > considered an error by many compilers. > [src/osgPlugins/OpenFlight/expGeometryRecords.cpp:373]: > (portability) Extra qualification 'flt::' unnecessary and > considered an error by many compilers. > [src/osgPlugins/cfg/CameraConfig.cpp:635]: (error) Unusual > pointer arithmetic > [src/osgPlugins/freetype/FreeTypeLibrary.cpp:122]: (error) Memory > leak: buffer > [src/osgPlugins/geo/ReaderWriterGEO.cpp:210]: (error) Possible > null pointer dereference: gfd - otherwise it is redundant to > check if gfd is null at line 211 > [src/osgPlugins/geo/ReaderWriterGEO.cpp:227]: (error) Possible > null pointer dereference: gfd - otherwise it is redundant to > check if gfd is null at line 228 > [src/osgPlugins/geo/ReaderWriterGEO.cpp:903]: (error) Possible > null pointer dereference: gfd - otherwise it is redundant to > check if gfd is null at line 904 > [src/osgPlugins/geo/osgGeoNodes.h:180]: (error) Memory leak: > geoHeaderGeo::intVars > [src/osgPlugins/geo/osgGeoNodes.h:181]: (error) Memory leak: > geoHeaderGeo::useVars > [src/osgPlugins/geo/osgGeoNodes.h:182]: (error) Memory leak: > geoHeaderGeo::extVars > [src/osgPlugins/md2/ReaderWriterMD2.cpp:180]: (error) Memory > leak: mapbase > [src/osgPlugins/md2/ReaderWriterMD2.cpp:166]: (error) Resource > leak: file_fd > [src/osgPlugins/pic/ReaderWriterPIC.cpp:152]: (error) Mismatching > allocation and deallocation: tmpbuf > [src/osgPlugins/pic/ReaderWriterPIC.cpp:153]: (error) Mismatching > allocation and deallocation: buffer > [src/osgPlugins/ply/plyfile.cpp:843]: (error) Memory leak: > plyfile > [src/osgPlugins/pvr/ReaderWriterPVR.cpp:179]: (error) Memory > leak: imageData > [src/osgPlugins/shp/ESRIShapeParser.cpp:29]: (error) Resource > leak: fd > [src/osgPlugins/shp/XBaseParser.cpp:96]: (error) Resource leak: > fd > [src/osgPlugins/zip/unzip.cpp:3158]: (error) Possible null > pointer dereference: s - otherwise it is redundant to check if s > is null at line 3159 > [src/osgPlugins/zip/unzip.cpp:4155]: (error) Dangerous usage of > 'rd' (strncpy doesn't always 0-terminate it) > [src/osgShadow/MinimalCullBoundsShadowMap.cpp:334]: (error) > Possible null pointer dereference: rl - otherwise it is redundant > to check if rl is null at line 331 > [src/osgViewer/ScreenCaptureHandler.cpp:617]: (error) Possible > null pointer dereference: camera - otherwise it is redundant to > check if camera is null at line 611 > [src/osgViewer/ScreenCaptureHandler.cpp:632]: (error) Possible > null pointer dereference: camera - otherwise it is redundant to > check if camera is null at line 626 > [src/osgVolume/Locator.cpp:209]: (error) Dangerous iterator usage > after erase()-method. > [src/osgVolume/RayTracedTechnique.cpp:274]: (error) Possible null > pointer dereference: imageLayer - otherwise it is redundant to > check if imageLayer is null at line 259 > [src/osgVolume/RayTracedTechnique.cpp:275]: (error) Possible null > pointer dereference: imageLayer - otherwise it is redundant to > check if imageLayer is null at line 259 > [src/osgWrappers/serializers/osg/ShaderBinary.cpp:28]: (error) > Mismatching allocation and deallocation: data > > 2011-06-20 17:54 robert > > * src/osgViewer/GraphicsWindowX11.cpp: Merged following revisions > from svn/trunk which address problems with toggling fullscreen > on/off under modern X11 window managers > > > ------------------------------------------------------------------------ > > r12573 | robert | 2011-06-20 12:25:52 +0100 (Mon, 20 Jun 2011) | > 2 lines > > Added catch for window manager doesn't set the window size to > full screen. > > > ------------------------------------------------------------------------ > r12572 | robert | 2011-06-20 10:28:39 +0100 (Mon, 20 Jun 2011) | > 4 lines > > Added check against Traits::overrideRedirct to prevent the > fullscreen workaround being run when overrideRedirect > is on as overrideRedirect switches off the window managers > ability to manage the fullscreen so the problem doesn't > need working around. > > > ------------------------------------------------------------------------ > r12571 | robert | 2011-06-20 10:22:57 +0100 (Mon, 20 Jun 2011) | > 2 lines > > Introduced a workaround for fullscreen toggle issues under modern > X11 window managers. > > 2011-06-20 09:22 robert > > * src/osgViewer/ViewerEventHandlers.cpp: Merged from svn/trunk. > Added sleep before window resizing to make it less likely that > the previous frames rendering traversal is still > running when the window(s) is resized, something that creates > what looks like a glitch in rendering. > > 2011-06-19 19:21 robert > > * CMakeModules/Find3rdPartyDependencies.cmake: From Torben > Dannhauer, "Just in time for OSG 3.0 I will present an updated > 3rdParty package for VS2008 , which includes some updated > libraries (libcurl, freetype, jpeg). It also provides now all > debug databases (*.pdb), so all the annoying compile warnings > about missing .pdb files are gone. > > I extended the CMAKE module to find the new library." > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- Jordi Torres Fabra gvSIG 3D blog http://gvsig3d.blogspot.com Instituto de Automática e Informática Industrial http://www.ai2.upv.es
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

