Make vsync optional
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- C++
- Stars
- 2.2k
- Forks
- 242
- Avg merge
- 11m
- Merged PRs (30d)
- 1
Description
Right now it's always enabled, but this stops simulation loops from running faster than the refresh rate.
On line 1681 of gl_engine.cpp:
glfwSwapInterval(1); // Enable vsync
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in gl_engine.cpp around line 1681 and inspect how the GLFW swap interval is configured. Make the existing vsync behavior optional, then verify that a simulation loop can run faster than the display refresh rate when vsync is not enabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics, performance
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 58/100