Skip to content

Conversation

@wcandillon
Copy link
Contributor

@wcandillon wcandillon commented Nov 22, 2024

The goal of this PR is to remove the internal draw loop. We let threads request a frame to be redrawn.
It also remove the need to use JNI for scheduling a frame which is faster.

  • Testing
  • Add polyfill for mode="continuous"

@wcandillon wcandillon marked this pull request as draft November 22, 2024 14:58
@wcandillon wcandillon marked this pull request as ready for review November 22, 2024 21:16
@wcandillon wcandillon merged commit ba1db84 into main Nov 23, 2024
8 checks passed
@github-actions
Copy link
Contributor

🎉 This PR is included in version 1.5.9 🎉

The release is available on:

Your semantic-release bot 📦🚀

stevengoldberg pushed a commit to stevengoldberg/react-native-skia that referenced this pull request May 18, 2025
On Android it removes the need to use JNI back and forth for each frame.
@wcandillon wcandillon deleted the drawloop branch June 3, 2025 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant