Forum Discussion
jasjuang
10 years agoHonored Guest
Huge performance drop when calling ovrhmd_endframe in OpenGL
I am using SDK 0.4.4 with extended desktop mode. I am developing in OpenGL using GLFW and GLEW.
The distortion caps I am using is (0 | ovrDistortionCap_Vignette | ovrDistortionCap_Chromatic | ovrDistortionCap_Overdrive)
Vsync is set to off by glfwSwapInterval(0).
I tried not calling ovrhmd_endframe by rendering directly to the screen without any FBO and called an additional glfwSwapBuffers and I got 68 fps, but there is no distortion.
With calling ovrhmd_endframe I render the scene to FBO first and let ovrhmd_endframe do the distortion and the bufferswap, but I am seeing a huge fps drop (70-->20), which I believe is not normal.
Can someone explain why might be causing this and how I can fix it?
The distortion caps I am using is (0 | ovrDistortionCap_Vignette | ovrDistortionCap_Chromatic | ovrDistortionCap_Overdrive)
Vsync is set to off by glfwSwapInterval(0).
I tried not calling ovrhmd_endframe by rendering directly to the screen without any FBO and called an additional glfwSwapBuffers and I got 68 fps, but there is no distortion.
With calling ovrhmd_endframe I render the scene to FBO first and let ovrhmd_endframe do the distortion and the bufferswap, but I am seeing a huge fps drop (70-->20), which I believe is not normal.
Can someone explain why might be causing this and how I can fix it?
No RepliesBe the first to reply
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 1 month ago
- 2 years ago
- 4 years ago