tribal-tec/Equalizer — comment on commit e8c7125ffe1e4f74ac44c914f5b8b1aca844a830
File:  line 0
By dulley:

I did what you suggested, it works for 2d but not for tiles :(
With tiles we get the following error and after a while it crashes:
"4696 class eq::P F:\Equalizer_tribal\libs\eq\client\channel.cpp:1393 12775 unable to transmit frame 4"

See diff bellow
libs/eq/server/compound.cpp | 7 +++++++
libs/eq/server/compoundUpdateInputVisitor.cpp | 4 ----
libs/eq/server/compoundUpdateOutputVisitor.cpp | 3 +++
4 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/libs/eq/server/compound.cpp b/libs/eq/server/compound.cpp
index 8d378e5..f87af90 100644
--- a/libs/eq/server/compound.cpp
+++ b/libs/eq/server/compound.cpp
@@ -1171,6 +1171,13 @@ void Compound::update( const uint32_t frameNumber )
CompoundUpdateInputVisitor updateInputVisitor( outputFrames, outputQueues );
accept( updateInputVisitor );

+ // commit output frames after input frames have been set
+ for( FrameMapCIter i = outputFrames.begin(); i != outputFrames.end(); ++i )
+ {
+ Frame* frame = i->second;
+ frame->commit();
+ }
+
const BarrierMap& swapBarriers = updateOutputVisitor.getSwapBarriers();
for( BarrierMapCIter i = swapBarriers.begin(); i != swapBarriers.end(); ++i)
{
diff --git a/libs/eq/server/compoundUpdateInputVisitor.cpp b/libs/eq/server/compoundUpdateInputVisitor.cpp
index c079a0c..30a889f 100644
--- a/libs/eq/server/compoundUpdateInputVisitor.cpp
+++ b/libs/eq/server/compoundUpdateInputVisitor.cpp
@@ -139,10 +139,6 @@ void CompoundUpdateInputVisitor::_updateFrames( Compound* compound )
//----- Link input frame to output frame (connects frame data)
outputFrame->addInputFrame( frame, compound );

- //----- Commit
- outputFrame->commitData();
- outputFrame->commit();
-
for( unsigned k = 0; k < NUM_EYES; ++k )
{
const eq::Eye eye = eq::Eye( 1<commitData();
+
_outputFrames[name] = frame;
EQLOG( LOG_ASSEMBLY )
<< " buffers " << frameData->getBuffers() << " read area "