On Nov 2, 2007, at 11:29 AM, Ken Drycksback wrote:
Are there some extra steps needed for FBOs to work with shared
contexts or should they "just work" like other textures?
I have two NS contexts, a windowed and a full screen. Everything
renders fine in windowed mode but when switching to full screen
nothing is rendered to the FBOs. I have tried recreating the FBOs
after switching to the full screen context but still nothing so I'm
not sure what's going on here?
They should just work. I have not had any problems using FBOs with
shared contexts on 10.5 (or 10.4) with the X1600. As long as you are
sharing your objects between the contexts, there is no need to
recreate them. Do all of your other shared objects work between the
two contexts?
Yes, and after more investigating it turned out it was only one FBO
that didn't work right, the others were ok. After a couple of days of
trying everything to figure out why, the problem turned out to be with
the texture coordinates for that FBO. When switching to full screen
they didn't match the NPOT FBO size and nothing was rendered to it.
Still not sure why but fixing that solved the problem.
Ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden