Hi all
I’m using a pbuffer for performing some offscreen rendering, to use for copying data to a texture. At first I noticed that the whole piece of code was somewhat slow (2-3ms), and I thought that this was normal because of the use of glCopyTexImage2D/glCopyTexSubImage2D. However, what I timed up the glCopyTexImage2D call, I found out that it was fairly fast, about 0.2 ms. In fact, everything inside the display method of the pbuffer was timed to be less than 0.3 ms. But still, the call to pbuffer display took about 1-3 ms each time. In fact, a call to an empty display method for the pbuffer took 0.8-3 ms.
Has anyone came across this? Is this something normal? Should the call to display take up so much time?
TIA
N