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.


_______________________________________________
eq-dev mailing list
[email protected]
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Reply via email to