[eq-dev] Qt integration
Stefan Eilemann
eilemann at gmail.com
Mon Jul 20 08:26:39 CEST 2009
On 17. Jul 2009, at 16:07, m0bl0 wrote:
> Stefan Eilemann (via Nabble) wrote:
> > You could just handle them by setting the PixelViewport on the
> > eq::Window, similar to Window::processEvent. Equalizer doesn't need
> > the native events.
>
> Am I allowed to do that from another thread?
> I tried to do it that way, but I occasionally get a failed EQASSERT in
> Channel::processEvent:
> client/channel.cpp:707: EQASSERT( _context == &_nativeContext )
Oh, I didn't think of that one. As said, the processing so far wasn't
designed to be called from the main thread, but this is not a 'hard'
design decision. In fact AGL used to do event processing from the main
thread until a couple of months ago.
I've implemented this particular piece of code better, which made it
thread-safe (hopefully) and removed the assertion.
Change #3207 is for you.
Let me know when you find anything else.
Best,
Stefan.
More information about the eq-dev
mailing list