Update of /cvsroot/openvrml/openvrml
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv3787
Modified Files:
ChangeLog
Log Message:
Moved read_stream to be a member of openvrml::scene. We need to hang a thread group for these threads somewhere so we can join them; and the scene would seem to be a reasonable place.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/openvrml/openvrml/ChangeLog,v
retrieving revision 1.1497
retrieving revision 1.1498
diff -C2 -d -r1.1497 -r1.1498
*** ChangeLog 13 May 2007 00:46:33 -0000 1.1497
--- ChangeLog 13 May 2007 06:47:26 -0000 1.1498
***************
*** 1,2 ****
--- 1,26 ----
+ 2007-05-13 Braden McDaniel <br...@en...>
+
+ Moved read_stream to be a member of openvrml::scene. We need to
+ hang a thread group for these threads somewhere so we can join
+ them; and the scene would seem to be a reasonable place.
+
+ * src/libopenvrml/openvrml/browser.cpp
+ (openvrml::read_stream(std::auto_ptr<resource_istream>,
+ std::auto_ptr<stream_listener>)): Removed.
+ (openvrml::scene::~scene()): Join any stream reader threads.
+ (openvrml::scene::read_stream(std::auto_ptr<resource_istream>,
+ std::auto_ptr<stream_listener>)): Read a stream.
+ * src/libopenvrml/openvrml/browser.h
+ (openvrml::read_stream(std::auto_ptr<resource_istream>,
+ std::auto_ptr<stream_listener>)): Removed.
+ (openvrml::scene): Added members stream_reader_threads_ and
+ read_stream.
+ * src/libopenvrml/openvrml/vrml97node.cpp
+ (update_texture(background_node &, boost::recursive_mutex &, const
+ openvrml::mfstring &, openvrml::image &)): Call read_stream on the
+ scene.
+ (image_texture_node::update_texture()): Call read_stream on the
+ scene.
+
2007-05-12 Braden McDaniel <br...@en...>
|