I tried to set QSG_RENDER_LOOP to "threaded" but didn't noticed any
difference, our application still crashes.



2015-06-04 14:40 GMT+02:00 Koehne Kai <[email protected]>:

>
>
> > -----Original Message-----
> > From: Marc Gilleron [mailto:[email protected]]
> > Sent: Thursday, June 04, 2015 2:32 PM
> > To: Koehne Kai
> > Cc: [email protected]
> > Subject: Re: [Interest] QML and OpenGL conflicts
> >
> > I'm not sure where to set it, do you mean QSG_RENDER_LOOP is really an
> > environment variable like PATH on Windows? Oo
>
> Yes, see also http://doc.qt.io/qt-5/qtquick-visualcanvas-scenegraph.html .
>
> > As for QQUickFrameBufferObject... I'm not sure how it will work.
> > Our application creates its own context and has nothing to do with Qt in
> the
> > first place. Because of its nature, all we can get from it is a native
> window
> > handle.
> > Also, it performs OpenGL calls without bounds: they can happen not only
> in
> > our render() operation, because it's a pretty big project, other parts
> use
> > resources that implicitely get OpenGL called, and the main loop is
> > monothread...
>
> So maybe you want to turn it around, and explicitly control the scene
> graph loop via QQuickRenderControl (see also above link).
>
> Regards
>
> Kai
>
> PS: I don't have own experience which such integrations, just commenting
> from a high-level perspective ...
>
>
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to