Skip to content
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

[web backend] Make sure we only request animation once per frame #1790

Merged
merged 1 commit into from
May 19, 2021

Conversation

maan2003
Copy link
Collaborator

Earlier we call requestAnimationFrame every time on invalidate_rect
or request_anim_frame. This lead to even render() being called many
times per frame and hence poor performance.

Earlier we call `requestAnimationFrame` every time on `invalidate_rect`
or `request_anim_frame`. This lead to even `render()` being called many
times per frame and hence poor performance.
@SecondFlight SecondFlight added the S-ready PR is ready to merge label May 19, 2021
@maan2003 maan2003 merged commit ea8ec47 into linebender:master May 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-ready PR is ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants