Stefan Eilemann wrote:
> 
> 
> On 17. Jul 2009, at 16:07, m0bl0 wrote:
> 
> 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.
> 
> 

Thanks, now it seems to work!
What I do now is translate the events I receive from Qt to eq::Events, and
call Window::processEvent, like the other OSWindows do.


Stefan Eilemann wrote:
> 
> 
> Let me know when you find anything else.
> 
> 

A few more things:

An eq::Event contains a RenderContext, but Window::getRenderContext may only
be called by the pipe thread. So far, I just leave it empty, which doesn't
seem to cause problems, but I assume it's there for a reason?

Also, occasionally I get an error during shutdown in Pipe::_releaseViews in
pipe.cpp:379 in rev 3207 (the variable "view" is null), but I haven't gotten
around to finding out what causes this...

Thanks again,
Marc
-- 
View this message in context: 
http://n2.nabble.com/Qt-integration-tp3268114p3289807.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.

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

Reply via email to