Skip to content

Implement requestAnimationFrame for web#1519

Merged
ryanisaacg merged 4 commits intorust-windowing:masterfrom
chemicstry:animation_callback2
Apr 11, 2020
Merged

Implement requestAnimationFrame for web#1519
ryanisaacg merged 4 commits intorust-windowing:masterfrom
chemicstry:animation_callback2

Conversation

@chemicstry
Copy link
Copy Markdown
Contributor

  • Tested on all platforms changed
  • Compilation warnings were addressed
  • cargo fmt has been run on this branch
  • cargo doc builds successfully
  • Added an entry to CHANGELOG.md if knowledge of this change could be valuable to users
  • Updated documentation to reflect any user-facing changes, including notes of platform-specific behavior
  • Created or updated an example program if it would help users understand this functionality
  • Updated feature matrix, if new features were added or implemented

Implementation based on discussion in #1493. I did not implement requestPostAnimationFrame because it's not documented properly yet and does not exist in stdweb or web_sys either.

@chemicstry chemicstry force-pushed the animation_callback2 branch from 1cf674a to b104525 Compare March 27, 2020 23:48
@chemicstry chemicstry force-pushed the animation_callback2 branch from b104525 to e7fb852 Compare March 27, 2020 23:49
@chemicstry
Copy link
Copy Markdown
Contributor Author

Not sure why windows CI failed (can someone rerun?), but otherwise this is ready for review

Copy link
Copy Markdown
Contributor

@ryanisaacg ryanisaacg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! I had the same (presumably spurious) Windows CI failure in #1512. This has re-ignited me to try to get it fixed, so we can land both of these changes.

@ryanisaacg ryanisaacg added DS - web Affects the Web backend (WebAssembly/WASM) P - high Vital to have S - enhancement Wouldn't this be the coolest? labels Apr 6, 2020
@ryanisaacg
Copy link
Copy Markdown
Contributor

Ok, got CI to pass. Thanks again!

@ryanisaacg ryanisaacg merged commit 1f24a09 into rust-windowing:master Apr 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DS - web Affects the Web backend (WebAssembly/WASM) P - high Vital to have S - enhancement Wouldn't this be the coolest?

Development

Successfully merging this pull request may close these issues.

2 participants