Platform is iPhone OpenGL ES 2.0
the framework already create an main fbo
with renderbuffer as it's colorattachment.
And I have my own fbo
with texture2D
as colorattachment.
I want to copy main fbo
's content to my fbo
.
I tried common glCopyTexImage2D
way, but it's too slow on my device(iPad1).
So I wonder if a faster solution is out there.
If main fbo uses texture2D
as colorattachment, I know just draw fullscreen quad using that texture to my fbo, but how to draw it's renderbuffer to my fbo? google quite a while but no specific answer.