OpenSceneGraph/include
Robert Osfield 0567ce316d From Laurens Voerman, "I found that using an ImageSequence with mode PAGE_AND_DISCARD_USED_IMAGES triggers the (3) imageThreads to run and never stop, even when no more work is to be done. This is due to a bug in the stop condition currently setting the thread to stop and wait for a signal only when no work needs to be done AND the databasepager is paused.
It should stop and wait for a signal on either of those two. Due to a few logical inversions it boils down to replacing || with &&

OLD _block->set((!_requestList.empty() || !_pager->_databasePagerThreadPaused));
NEW _block->set((!_requestList.empty() && !_pager->_databasePagerThreadPaused));//release the threads to run IF (work_to_be_done && not_paused)

This bug is present since svn rev 8663 (just before 2.6.0 release)


attached is a zip with the files:

OpenSceneGraph\include\osgDB\ImagePager



This file is valid for svn branch and stable 3.2 and 3.4
branches 2.6 - 3.0 have the same bug, but other differences in the file."


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15126 16af8721-9629-0410-8352-f15c8da7e697
2015-09-04 15:05:06 +00:00
..
OpenThreads Removed old and unused windows code path to avoid confusion 2015-06-12 20:23:15 +00:00
osg Added initializer 2015-08-12 10:44:20 +00:00
osgAnimation From Jannik Heller, "In the attachment you will find a build fix for the latest trunk. osgAnimation failed to compile when using OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION=OFF ." 2015-06-04 09:00:17 +00:00
osgDB From Laurens Voerman, "I found that using an ImageSequence with mode PAGE_AND_DISCARD_USED_IMAGES triggers the (3) imageThreads to run and never stop, even when no more work is to be done. This is due to a bug in the stop condition currently setting the thread to stop and wait for a signal only when no work needs to be done AND the databasepager is paused. 2015-09-04 15:05:06 +00:00
osgFX Changed osgFX::MultiTextureControl so that it uses an osg::FloatArray internally to enable sharing with osg::Uniform. 2015-01-23 13:51:09 +00:00
osgGA From Albert Luaces, typo fixes. 2015-06-01 13:40:20 +00:00
osgManipulator From Albert Luaces, typo fixes. 2015-06-01 13:40:20 +00:00
osgParticle From Albert Luaces, typo fixes. 2015-06-01 13:40:20 +00:00
osgPresentation From Jannik Heller, typo fixes 2015-04-13 10:43:56 +00:00
osgQt From Jannik Heller, "I've added the check for Qt version mismatches into osgQt as suggested in http://forum.openscenegraph.org/viewtopic.php?t=14999. 2015-06-15 19:59:01 +00:00
osgShadow From Albert Luaces, typo fixes. 2015-06-01 13:40:20 +00:00
osgSim From Jannik Heller, typo fixes 2015-06-01 13:11:49 +00:00
osgTerrain From Albert Luaces, typo fixes. 2015-06-01 13:40:20 +00:00
osgText Warning fix 2015-07-31 10:59:23 +00:00
osgUI From Albert Luaces, typo fixes. 2015-06-01 13:40:20 +00:00
osgUtil From Albert Luaces, typo fixes. 2015-06-01 13:40:20 +00:00
osgViewer Added #idef guards for SGIX usage 2015-08-09 09:40:59 +00:00
osgVolume Added setting of the IsoSurfaceProperty in VolumeSettings 2014-09-03 15:54:47 +00:00
osgWidget From Albert Luaces, typo fixes. 2015-06-01 13:40:20 +00:00