Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QQuickFrameBufferObject::Renderer::render() called when QQuickItem visible is false

QQuickFrameBufferObject::Renderer::render() called when QQuickItem visible is false

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 955 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bobbaluba
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tonygluk
      wrote on last edited by
      #2

      Setting "visible: false" on framebuffer item or one of its parents doesn't help?

      1 Reply Last reply
      0
      • B Offline
        B Offline
        bobbaluba
        wrote on last edited by
        #3

        No, is at least it didn't when i wrote this. I haven't tried on 5.3, though.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved