QQuickFrameBufferObject::Renderer::render() called when QQuickItem visible is false
QML and Qt Quick
3
Posts
2
Posters
971
Views
1
Watching
-
wrote on 16 Apr 2014, 11:10 last edited by
So I'm drawing stuff using OpenGL in C++, and handing them over to QtQuick using a QQuickFrameBufferObject. I have these items in multiple tabs, and they are quite expensive to draw.
So my problem is: Is there a way to only draw QQuickFrameBufferObjects that are currently visible, I would expect it to only call the render function when visible is set to true, but this is not the case.
-
wrote on 30 Oct 2014, 19:51 last edited by
Setting "visible: false" on framebuffer item or one of its parents doesn't help?
-
wrote on 30 Oct 2014, 22:59 last edited by
No, is at least it didn't when i wrote this. I haven't tried on 5.3, though.