Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - FBO flushing: Page 1 of 10 (10 Items)
   
FBO flushing  
I am using QNX 6.5 on a Beagleboard (PowerVR) and see issues when using a FBO as a scratch buffer.  I have this senerio:


Main Window Surface
  Create a FBO to render to (FBO1)
    Create a second FBO to render to (FBO2)
       Render content1 to FBO2
    Render FBO2 to FBO1 as a texture
       Clear and Render content2 to FBO2
    Render FBO2 to FBO1 as a texture
  Render FBO1 to Window surface as a texture
SwapBuffers

What I see is that only "content2" is visible.  It seems that if I reuse the same FBO in a render cycle that the last 
thing I rendered gets displayed.  This is true even if I call glFlush or glFinish after I render the FBO texture.

Is there something in the driver which does not execute the texture operations until the flush or should this work?

Brian