[vtkusers] Xlib: unexpected async reply
Stefan Bruckner
stefan.bruckner at chello.at
Sun Sep 15 09:29:31 EDT 2002
I have found a solution for my problem that seems to work. I just wanted
to post it here, maybe other people are struggling with this problem
too.
I perform explicit mutual exclusion by calling Qt's QApplication::lock()
/ QApplication::unlock() before / after calling
vtkRenderWindow::Render().
This works very well. The main thread doesn't seem to be blocked very
long by that (at least it performs much better this way - when I posted
paint events every time I wanted to redraw it really was unacceptable)
...
Thanks for your help anyway!
--
Stefan Bruckner
Am Fre, 2002-09-13 um 16.34 schrieb stefan.bruckner at chello.at:
> Hi!
>
> I'm using vtk with Qt (utilizing vtk_qt by Carsten Kuebler). I want
> to do rendering in a seperate QThread, but I always get "Xlib:
> unexpected async reply" errors and no rendering is done.
>
> Can anybody help me on this?
>
> --
> Thanks,
> Stefan Bruckner
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list