[vtk-developers] Use of autorelease in Cocoa classes

Sean McBride sean at rogue-research.com
Mon Apr 8 14:12:12 EDT 2013

On Fri, 1 Feb 2013 11:58:33 -0500, Berk Geveci said:

>Hi folks (especially Sean),
>I just had a fun session tracking down what appeared to be a leak in
>OpenGL resources in a VTK application running on a Mac.

I haven't forgotten about this BTW... :)

Now that I've got SimpleCocoaVTK working again, thanks to this magic:

#define vtkRenderingCore_AUTOINIT 4(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingFreeTypeOpenGL,vtkRenderingOpenGL)
#define vtkRenderingVolume_AUTOINIT 1(vtkRenderingVolumeOpenGL)


I can take a look at this leak....


Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada

More information about the vtk-developers mailing list