Login  Register

swapBuffers() very very slow

classic Classic list List threaded Threaded
3 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

swapBuffers() very very slow

elect
535 posts
Profiling our application I found out most of the time is taken by the buffers swapping..

You can see the time on the CPU, the swapping took 71s! The real rendering about 20s..

Could it be because I am doing something wrong?

Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: swapBuffers() very very slow

gouessej
Administrator
6045 posts
Do you obtain similar results with any other JOGL based applications?
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: swapBuffers() very very slow

elect
535 posts
gouessej wrote
Do you obtain similar results with any other JOGL based applications?
No, I am pretty sure it depends on the fact I am using the oculus dk2 together...

Because also the start (when the dk2 is connect) is very very slow, around 10 additional seconds..