[vtkusers] Bug?:5.4.0 performance versus 5.0

Jeff Baumes jeff.baumes at kitware.com
Mon May 18 13:45:03 EDT 2009


Thanks for tracking this down Nick. Can you submit a bug in the tracker for
this issue including the example code to reproduce it? I don't want to lose
track of this bug you found.
Thanks,
Jeff

On Sat, May 16, 2009 at 10:58 PM, Nick Gnedin <gnedin at fnal.gov> wrote:

> It seems that the problem is with vtkOpenGLDisplayListPainter.cxx. In
> your test, in the following piece of the code:
>
>  // First check for the cases where all display lists (irrespective of
>  // typeflags are obsolete.
>  if (
>    // Since input changed
>    input->GetMTime() > this->Internals->BuildTime  ||
>    // actor's properties were modified
>    actor->GetProperty()->GetMTime() > this->Internals->BuildTime ||
>    // mapper information was modified
>    this->Information->GetMTime() > this->Internals->BuildTime)
>    {
>    this->Internals->ReleaseAllLists();
>    }
>
> the if(...) statement is always true, and the display list is always
> re-created, even when the input data does not change. Perhaps, input
> gets Modified() somewhere where it should not.
>
> That seems to me to be a plain bug in that class.
>
> Nick Gnedin
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090518/1458c4ea/attachment.htm>


More information about the vtkusers mailing list