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. How to execute some piece of code in QSGRenderThread?

How to execute some piece of code in QSGRenderThread?

Scheduled Pinned Locked Moved QML and Qt Quick
qsgrenderthreadscene graph
1 Posts 1 Posters 995 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.
  • R Offline
    R Offline
    rahul3349
    wrote on last edited by rahul3349
    #1

    My application is using QtQuick. So rendering happens in QSGRenderThread. I would like to execute some piece of code in QSGRenderThread. I'm receiving some callback in main thread from which I want to execute some gl related initialization code in QSGRenderThread before actual rendering starts. Idea is to do all gl related processing in renderer thread to get valid context from this thread.

    1 Reply Last reply
    1

    • Login

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