MantisBT - VTK | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0009061 | VTK | (No Category) | public | 2009-05-24 14:45 | 2013-04-05 20:15 |
| Reporter | Nick Gnedin | ||||
| Assigned To | Utkarsh Ayachit | ||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Project | |||||
| Type | |||||
| Summary | 0009061: Los of performance in 5.4.0 vs 5.2.0 | ||||
| Description | vtkPolyDataMapper in 5.4.0 resets display lists at every call. It seems that the problem is with vtkOpenGLDisplayListPainter.cxx. 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 results in the major performance loss. That only happens when display non-opaque geometry with scalar data. The test code that shows the catastrophic perfomance difference between 5.2.0 and 5.4.0 is attached. | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://www.vtk.org/Bug/file/7267/Test.cpp | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2009-05-24 14:45 | Nick Gnedin | New Issue | |||
| 2009-05-24 14:45 | Nick Gnedin | File Added: Test.cpp | |||
| 2010-03-19 11:32 | Utkarsh Ayachit | Note Added: 0019965 | |||
| 2010-03-19 11:32 | Utkarsh Ayachit | Status | backlog => @80@ | ||
| 2010-03-19 11:32 | Utkarsh Ayachit | Resolution | open => fixed | ||
| 2010-03-19 11:32 | Utkarsh Ayachit | Assigned To | => Utkarsh Ayachit | ||
| 2011-01-13 17:00 | Source_changeset_attached | => VTK master a2bd8391 | |||
| 2011-01-13 17:00 | Source_changeset_attached | => VTK master 020ef709 | |||
| 2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) | ||
| 2013-04-05 20:15 | Berk Geveci | Status | customer review => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||