QQuickFrameBufferObject::Renderer::render() called when QQuickItem visible is false
-
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.
-
Setting "visible: false" on framebuffer item or one of its parents doesn't help?
-
No, is at least it didn't when i wrote this. I haven't tried on 5.3, though.