From: Braden M. <br...@us...> - 2006-05-12 22:27:12
|
Update of /cvsroot/openvrml/openvrml In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv16731 Modified Files: ChangeLog Log Message: If a thread other than the rendering thread destroys the scene, we will run into problems if we try to call OpenGL functions without first changing the GL context to the current thread. Rather than do that, we probably want just to refactor display list and texture object cleanup such that it is encapsulated in the renderer and always handled by the rendering thread. For now, though, we will just punt and leak the display list and texture objects. Index: ChangeLog =================================================================== RCS file: /cvsroot/openvrml/openvrml/ChangeLog,v retrieving revision 1.1238 retrieving revision 1.1239 diff -C2 -d -r1.1238 -r1.1239 *** ChangeLog 12 May 2006 22:16:16 -0000 1.1238 --- ChangeLog 12 May 2006 22:27:08 -0000 1.1239 *************** *** 1,4 **** --- 1,21 ---- 2006-05-12 Braden McDaniel <br...@en...> + If a thread other than the rendering thread destroys the scene, we + will run into problems if we try to call OpenGL functions without + first changing the GL context to the current thread. Rather than + do that, we probably want just to refactor display list and + texture object cleanup such that it is encapsulated in the + renderer and always handled by the rendering thread. For now, + though, we will just punt and leak the display list and texture + objects. + + * src/libopenvrml/openvrml/node.cpp + (openvrml::geometry_node::~geometry_node()): Removed code to clean + up the renderer object. + (openvrml::texture_node::~texture_node()): Removed code to clean + up the renderer object. + + 2006-05-12 Braden McDaniel <br...@en...> + Make a copy of the URI passed to the root_scene_loader, since it very well may go away. |