[vtkusers] Bug?:5.4.0 performance versus 5.0
Nick Gnedin
gnedin at fnal.gov
Sat May 16 22:58:12 EDT 2009
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
More information about the vtkusers
mailing list