Skip to content

DataObjectMeshCache status fix and perf improvements

Nicolas Vuaille requested to merge nicolas.vuaille/vtk:StaticMesh into master

Fix Cache Status when consumer changes data type.

One cannot compare Cache and Original data type: the consumer can change it! E.g. ExtractSurface can have UG as Original data but PolyData as Cache.

Uses SMPTools to forward data. I had some issue with the IOHDFCxx-TestHDFReaderTemporal test, so I removed this opti for now.

Also enable logging in release build.

Debug output `MeshCache->DebugOn()` produces this kind of output even in release build:
Render Static
(  15.191s) [paraview        ]vtkDataObjectMeshCache.:215   INFO| vtkDataObjectMeshCache (0x5cd38a5652f0) Return IsSupportedData: 1
(  15.191s) [paraview        ]vtkDataObjectMeshCache.:215   INFO| vtkDataObjectMeshCache (0x5cd38a5652f0) Return IsSupportedData: 1
(  15.191s) [paraview        ]vtkDataObjectMeshCache.:238   INFO| vtkDataObjectMeshCache (0x5cd38a5652f0) Set OriginalDataObject: 0x5cd38c3f3700
(  15.191s) [paraview        ]vtkDataObjectMeshCache.:428   INFO| vtkDataObjectMeshCache (0x5cd38a5652f0) Returning status
(  15.191s) [paraview        ]vtkDataObjectMeshCache.:215   INFO| vtkDataObjectMeshCache (0x5cd38a5652f0) Return IsSupportedData: 1
(  15.191s) [paraview        ]vtkDataObjectMeshCache.:466   INFO| vtkDataObjectMeshCache (0x5cd38a5652f0)  Copy Cache to data object
(  15.191s) [paraview        ]vtkDataObjectMeshCache.:548   INFO| vtkDataObjectMeshCache (0x5cd38a5652f0) Forward attribute vtkDataObject::FIELD_ASSOCIATION_POINTS
(  15.221s) [paraview        ]vtkDataObjectMeshCache.:548   INFO| vtkDataObjectMeshCache (0x5cd38a5652f0) Forward attribute vtkDataObject::FIELD_ASSOCIATION_CELLS
Render Classic
(  15.278s) [paraview        ]vtkDataObjectMeshCache.:215   INFO| vtkDataObjectMeshCache (0x5cd382f9d120) Return IsSupportedData: 1
(  15.278s) [paraview        ]vtkDataObjectMeshCache.:215   INFO| vtkDataObjectMeshCache (0x5cd382f9d120) Return IsSupportedData: 1
(  15.278s) [paraview        ]vtkDataObjectMeshCache.:238   INFO| vtkDataObjectMeshCache (0x5cd382f9d120) Set OriginalDataObject: 0x5cd38c3b25f0
(  15.278s) [paraview        ]vtkDataObjectMeshCache.:419   INFO| vtkDataObjectMeshCache (0x5cd382f9d120) Input mesh time has changed.
(  15.278s) [paraview        ]vtkDataObjectMeshCache.:428   INFO| vtkDataObjectMeshCache (0x5cd382f9d120) Returning status
(  16.879s) [paraview        ]vtkDataObjectMeshCache.:215   INFO| vtkDataObjectMeshCache (0x5cd382f9d120) Return IsSupportedData: 1
(  16.879s) [paraview        ]vtkDataObjectMeshCache.:314   INFO| vtkDataObjectMeshCache (0x5cd382f9d120) Update Cache: 0x5cd38a331810
Edited by Nicolas Vuaille

Merge request reports

Loading