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. Copying inside of the QQuickFramebufferObject

Copying inside of the QQuickFramebufferObject

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
openglqquick fborendering
1 Posts 1 Posters 519 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.
  • L Offline
    L Offline
    ldmnyblzs
    wrote on 29 Jun 2016, 15:49 last edited by
    #1

    I'm using an OpenGL FBO through QQuickFramebufferObject for my custom rendering. I would like to copy parts of the FBO using OpenGL ES 2.0 only. The API doesn't let me do that directly, only through a temporary texture, especially because the source and the destination are sometimes overlapping. (Correct me if I'm wrong!)

    What I'm planning on doing is using the shared context that I already have for different reasons to copy from the FBO to a temporary texture, then render it back to the FBO in QQuickFramebufferObject::Renderer::render().

    My question is: is it safe to do anything with the FBO outside of the QQuickFramebufferObject::Renderer::render() function? I can make sure that my own code is not reading and writing the data at the same time, but I want to make sure that it doesn't interfere with Qt either.

    1 Reply Last reply
    0

    1/1

    29 Jun 2016, 15:49

    • Login

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