Forum Discussion
Rajveer
10 years agoExplorer
Multiple windows and vsync
My primary monitor is 60hz. When rendering to a single window I call ovrHmd_SubmitFrame(), blit my mirror texture to the window and then call SwapBuffers(). This works well when vsync has been disable...
jherico
10 years agoAdventurer
"Rajveer" wrote:
As a side question, since the SDK doesn't modify vsync state, what does the ovrHmdCap_NoVSync flag do?
The SDK doesn't modify vsync state for your window. Specifically, v-sync is associated with a given OpenGL context and everything the SDK does is in another context. What ovrHmdCap_NoVSync does is tell the SDK not to use v-sync for it's own context, which it's using to render to the display. So technically I believe it means that ovrHmd_SubmitFrame won't block till the next HMD refresh, which it otherwise would.
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
- 2 years ago