The SharedStateManager modify the newly loaded database. Move the 
SharedStateManager
calls in the DatabasePager thread can cause multi-threading issues.

It can be resolved using the ReadResult status: share the textures only on
FILE_LOADED_FROM_CACHE loading results. But the loaded database can contain
already loaded external references.

So the SharedStateManager have to detect already processed sub-graph or 
StateSet.


Tim Moore wrote:
> Great! I'm really looking forward to seeing these changes. Did you see any 
> reason that
> the SharedStateManger couldn't be run in the pager, before compilation? I 
> also saw the
> linear search for textures and think it could be changed easily to use a map.
>
> Tim
>   

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to