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. QSG Node and QQuickItem batches
Forum Updated to NodeBB v4.3 + New Features

QSG Node and QQuickItem batches

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qsgnodebatchesqquickitemscene graph
1 Posts 1 Posters 325 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.
  • E Offline
    E Offline
    Eray
    wrote on last edited by
    #1

    Icreated a "QQuickItem" with the flag "ItemHasContents" as true. It therefore allows me to access the rendering via QSGNode.

    This QQuickItem will be instantiated approximately 1000 times and they are children of another QQuickItem to display them within the same view.

    I can display my QSGGeometryNode elements with custom shaders.

    I don't have a problem with this but now that everything is working, I would like to optimize my software.

    I performed a fairly simple test to have 2 QSGGeometryNode child of my QQuickItem node with this test I get around 500 batches. If I put only one of the 2 info can be whatever, I have about 80 batches for my rendering.

    In my opinion, I should have at most 160 batches which is not the case at all, do you have any idea of ​​the problem?

    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