[vtk-developers] Use of autorelease in Cocoa classes

Berk Geveci berk.geveci at kitware.com
Mon Apr 8 14:44:24 EDT 2013


Yey :-)


On Mon, Apr 8, 2013 at 2:12 PM, Sean McBride <sean at rogue-research.com>wrote:

> 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)
>
> See:
> <http://review.source.kitware.com/#/t/2557/>
>
> I can take a look at this leak....
>
> Cheers,
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng                 sean at rogue-research.com
> Rogue Research                        www.rogue-research.com
> Mac Software Developer              Montréal, Québec, Canada
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20130408/109c90fc/attachment.html>


More information about the vtk-developers mailing list