[Interest] QML and OpenGL conflicts

Marc Gilleron marc.gilleron at gmail.com
Thu Jun 4 15:25:13 CEST 2015


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 <Kai.Koehne at theqtcompany.com>:

>
>
> > -----Original Message-----
> > From: Marc Gilleron [mailto:marc.gilleron at gmail.com]
> > Sent: Thursday, June 04, 2015 2:32 PM
> > To: Koehne Kai
> > Cc: interest at qt-project.org
> > 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 ...
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150604/c5d1e767/attachment.html>


More information about the Interest mailing list