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
"cybereality" wrote:
So, the extension looks like it's per GL context, and it's not well documented what happens when you switch GL contexts (whether the setting persists or not). It's very likely you just need to reapply the wglSwapIntervalEXT() call after you change contexts. Either way, it's not the SDK that's modifying the VSync behavior. Hope that helps.
V-Sync behavior is always context specific. If the user has multiple windows you need to disable or enable vsync for each of them independently. This is literally the first sentence in the spec after the overview:
wglSwapIntervalEXT specifies the minimum number of video frame periods per buffer swap for the window associated with the current context.
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