Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't finish async readback statistics. It's unneeded since the opera…

…tion is synchronous by definition. The glFinish did deadlock in the first frame occasionally during debugging of #117 -- likely a X11/driver bug (glx context is current and XInitThreads was called...)
  • Loading branch information...
commit 6dbec89ce9e481271b1d53ecd837747e2c80b835 1 parent 6b8d37b
@eile eile authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  libs/eq/client/channelStatistics.cpp
View
2  libs/eq/client/channelStatistics.cpp
@@ -54,6 +54,7 @@ ChannelStatistics::ChannelStatistics( const Statistic::Type type,
event.data.statistic.resourceName[31] = 0;
if( _hint == NICEST &&
+ type != Statistic::CHANNEL_ASYNC_READBACK &&
type != Statistic::CHANNEL_FRAME_TRANSMIT &&
type != Statistic::CHANNEL_FRAME_COMPRESS &&
type != Statistic::CHANNEL_FRAME_WAIT_SENDTOKEN )
@@ -72,6 +73,7 @@ ChannelStatistics::~ChannelStatistics()
const Statistic::Type type = event.data.statistic.type;
if( _hint == NICEST &&
+ type != Statistic::CHANNEL_ASYNC_READBACK &&
type != Statistic::CHANNEL_FRAME_TRANSMIT &&
type != Statistic::CHANNEL_FRAME_COMPRESS &&
type != Statistic::CHANNEL_FRAME_WAIT_SENDTOKEN )
Please sign in to comment.
Something went wrong with that request. Please try again.