[vtk-developers] Offscreen rendering OpenGL, linux, leaks memory

Dan Lipsa dan.lipsa at kitware.com
Tue Jun 21 15:37:38 EDT 2016


Hi all,
The leak was fixed in this additional merge request.

https://gitlab.kitware.com/vtk/vtk/merge_requests/1574

Initially, I had debug code in my test which made it pass.
Thanks Dave for prodding me to take a closer look.

Dan



On Mon, Jun 13, 2016 at 7:09 PM, Dan Lipsa <dan.lipsa at kitware.com> wrote:

> I'll take a look.
>
> On Mon, Jun 13, 2016 at 1:50 PM, David Lonie <david.lonie at kitware.com>
> wrote:
>
>> On Mon, Jun 13, 2016 at 12:42 PM, Dan Lipsa <dan.lipsa at kitware.com>
>> wrote:
>>
>>> As Dave suggested: comment bits out, rerun the test, repeat.
>>> The leak was caused by display lists not being freed when the renderer
>>> was removed from the render window.
>>>
>>
>> Nice! Something still seems a little strange though. Was this code path
>> not used for on-screen rendering?
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20160621/a101e480/attachment.html>


More information about the vtk-developers mailing list