Re: [Interest] Running code in the scene graph renderer thread

2013-04-11 Thread Sletta Gunnar
> Hi! I'm implementing a plugin for Qt Multimedia for playing video and audio > using hardware acceleration. When opening a content which includes video, I > need to instantiate an OpenGL texture and an EGLImageKHR. To do this I need > to be in the thread with the current OpenGL context, which shou

Re: [Interest] Running code in the scene graph renderer thread

2013-04-03 Thread Samuel Rødal
On 04/03/2013 11:04 AM, Luca Carlon wrote: > On Wed, Apr 3, 2013 at 10:56 AM, Samuel Rødal wrote: >> If you can get access to the QWindow you can qobject_cast to check that >> it's a QQuickWindow. In that case you can connect to the >> beforeRendering() signal of the QQuickWindow using a >> Qt::Di

Re: [Interest] Running code in the scene graph renderer thread

2013-04-03 Thread Luca Carlon
On Wed, Apr 3, 2013 at 10:56 AM, Samuel Rødal wrote: > If you can get access to the QWindow you can qobject_cast to check that > it's a QQuickWindow. In that case you can connect to the > beforeRendering() signal of the QQuickWindow using a > Qt::DirectConnection, which will cause your slot to be

Re: [Interest] Running code in the scene graph renderer thread

2013-04-03 Thread Samuel Rødal
On 04/02/2013 10:21 PM, Luca Carlon wrote: > Hi! I'm implementing a plugin for Qt Multimedia for playing video and > audio using hardware acceleration. When opening a content which includes > video, I need to instantiate an OpenGL texture and an EGLImageKHR. To do > this I need to be in the thread