[vtkusers] bug with multiple render windows?

John Biddiscombe john.biddiscombe at mirada-solutions.com
Fri Feb 21 09:21:06 EST 2003


>>>
the next week is wild guessing. If you have any hints for me and Nick,
I'd be very happy.
<<<

My prime enemy for leaks is when the ReleaseGraphicsResources is called on actors/textures etc

If a renderwindow is freed, sometimes, actors that have resources linked to the display context still exist and need to free themselves first. I'm very careful in my code to ensure all acttors are checked before any windows are destroyed and also, when an actor is removed from a window, that it needs to call release graphics resources too.

I'm rambling, but these are places to double check. I have a fix in my own local code that I've not committed for a year or more because "I can't believe" such a bug would really exist...

JB



More information about the vtkusers mailing list