(0009591)
|
Utkarsh Ayachit
|
2007-10-30 13:09
|
|
This fix entails some explanation.
First lets try to understand why the data was
always collected on the client unless there view was already compositing. The
view needed data size information to decide if compositing should be used.
Before getting the size, the view needed to update all representations to ensure
that correct data information is used for this check. Also, this data
information was obtained from the last UpdateSuppressor i.e. the one that did
the caching, so that even when caching was enabled and cache was used, we'd get
the correct data information. Hence, since the view updated all representations
before calling BeginStillRender or BeginInteractiveRender, all representations
used the most recent compositing state to deliver data.
This is now changed. BeginStillRender or BeginInteractiveRender no longer can
assume that all representation will be updated before these methods are
called. Infact, now, the view guarantees only one UpdateAllRepresentations()
call which is after the Begin*Render() and before PerformRender(). All
representations now guarantee that is GetRepresentedDataInformation() or
the methods returning memory sizes are called, the representation will update
the pipeline until before the data movement happens. For this we added a new
PreCollectUpdateSuppressor where-ever required. Thus, when Begin*Render method
does a size query, all representations are "partially" updated and correct
data information is returned. UpdateDataInformation on the representation
strategy updates the pipeline until the data distribution however, when using
cache if the data is cached for the current CacheTime, then it does not update
the pipeline, instead goes to the update suppressor keeping the cache, does a
cache update and then uses the data information from it.
/cvsroot/ParaView3/ParaView3/Qt/Core/pqPipelineRepresentation.cxx,v <-- pqPipelineRepresentation.cxx
new revision: 1.16; previous revision: 1.15
/cvsroot/ParaView3/ParaView3/Qt/Components/pqDisplayProxyEditor.cxx,v <-- pqDisplayProxyEditor.cxx
new revision: 1.44; previous revision: 1.43
/cvsroot/ParaView3/ParaView3/Servers/Common/CMakeLists.txt,v <-- CMakeLists.txt
new revision: 1.71; previous revision: 1.70
/cvsroot/ParaView3/ParaView3/Servers/Common/vtkPVDataSizeInformation.cxx,v <-- vtkPVDataSizeInformation.cxx
initial revision: 1.1
/cvsroot/ParaView3/ParaView3/Servers/Common/vtkPVDataSizeInformation.h,v <-- vtkPVDataSizeInformation.h
initial revision: 1.1
/cvsroot/ParaView3/ParaView3/Servers/Filters/vtkPVUpdateSuppressor.cxx,v <-- vtkPVUpdateSuppressor.cxx
new revision: 1.57; previous revision: 1.56
/cvsroot/ParaView3/ParaView3/Servers/Filters/vtkPVUpdateSuppressor.h,v <-- vtkPVUpdateSuppressor.h
new revision: 1.25; previous revision: 1.24
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/vtkSMDataRepresentationProxy.cxx,v <-- vtkSMDataRepresentationProxy.cxx
new revision: 1.8; previous revision: 1.7
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/vtkSMDataRepresentationProxy.h,v <-- vtkSMDataRepresentationProxy.h
new revision: 1.12; previous revision: 1.11
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/vtkSMIceTCompositeViewProxy.cxx,v <-- vtkSMIceTCompositeViewProxy.cxx
new revision: 1.20; previous revision: 1.19
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/vtkSMIceTMultiDisplayRenderViewProxy.cxx,v <-- vtkSMIceTMultiDisplayRenderViewProxy.cxx
new revision: 1.7; previous revision: 1.6
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/vtkSMMultiProcessRenderView.cxx,v <-- vtkSMMultiProcessRenderView.cxx
new revision: 1.5; previous revision: 1.4
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/vtkSMPVRepresentationProxy.cxx,v <-- vtkSMPVRepresentationProxy.cxx
new revision: 1.14; previous revision: 1.13
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/vtkSMPVRepresentationProxy.h,v <-- vtkSMPVRepresentationProxy.h
new revision: 1.8; previous revision: 1.7
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/vtkSMRenderViewProxy.cxx,v <-- vtkSMRenderViewProxy.cxx
new revision: 1.52; previous revision: 1.51
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/vtkSMRepresentationProxy.h,v <-- vtkSMRepresentationProxy.h
new revision: 1.12; previous revision: 1.11
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/vtkSMRepresentationStrategy.cxx,v <-- vtkSMRepresentationStrategy.cxx
new revision: 1.16; previous revision: 1.15
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/vtkSMRepresentationStrategy.h,v <-- vtkSMRepresentationStrategy.h
new revision: 1.16; previous revision: 1.15
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/vtkSMSimpleParallelStrategy.cxx,v <-- vtkSMSimpleParallelStrategy.cxx
new revision: 1.13; previous revision: 1.12
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/vtkSMSimpleParallelStrategy.h,v <-- vtkSMSimpleParallelStrategy.h
new revision: 1.9; previous revision: 1.8
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/vtkSMSimpleStrategy.cxx,v <-- vtkSMSimpleStrategy.cxx
new revision: 1.12; previous revision: 1.11
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/vtkSMSimpleStrategy.h,v <-- vtkSMSimpleStrategy.h
new revision: 1.7; previous revision: 1.6
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/vtkSMUniformGridParallelStrategy.h,v <-- vtkSMUniformGridParallelStrategy.h
new revision: 1.6; previous revision: 1.5
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/vtkSMUnstructuredGridVolumeRepresentationProxy.cxx,v <-- vtkSMUnstructuredGridVolumeRepresentationProxy.cxx
new revision: 1.14; previous revision: 1.13
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/vtkSMUnstructuredGridVolumeRepresentationProxy.h,v <-- vtkSMUnstructuredGridVolumeRepresentationProxy.h
new revision: 1.10; previous revision: 1.9
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/vtkSMViewProxy.cxx,v <-- vtkSMViewProxy.cxx
new revision: 1.18; previous revision: 1.17
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/vtkSMViewProxy.h,v <-- vtkSMViewProxy.h
new revision: 1.16; previous revision: 1.15
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/Resources/rendering.xml,v <-- rendering.xml
new revision: 1.255; previous revision: 1.254 |
|