react-native-skia
react-native-skia copied to clipboard
feat(🍏, 🤖): Realtime Skia effects on native views
The goal of this PR is to provide snapshotting of native views for Skia.
On iOS this is done by making the feature faster and offering a shortcut if the snapshot is directly made on the main thread via Reanimated.
On Android, we will use setRenderEffect() (API level >= 31) which somewhat a completely different feature but since it is using the same shader syntax as Skia (because it is indeed Skia) we think it's too good of an opportunity to pass. The overlap of use-cases is big there.
- [x] iOS
- [ ] Android
- [ ] Unify APIs
- [ ] Finish demo
- [ ] Document