-
Notifications
You must be signed in to change notification settings - Fork 151
tweak(credits): Decouple credits scroll timing from render update #2057
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
tweak(credits): Decouple credits scroll timing from render update #2057
Conversation
aa81f5a to
7fa2519
Compare
5a98add to
7d49889
Compare
Greptile Overview
|
|
Is the Pull Description up-to-date? |
xezon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good. Did not test.
Summary
Changes
m_framesSinceStartedframe counter withm_scrollAccumulatorfor fractional pixel trackingTheFramePacer->getUpdateTime()for frame-rate independent timingTest plan
30FPS
https://github.com/user-attachments/assets/0215fd82-49f7-4c7c-9903-c8b0f53eb239
60FPS
https://github.com/user-attachments/assets/a45a847b-1f9d-4642-8ab3-23e30de25c04