High-performance 2d Graphics for React Native using Skia
Checkout the full documentation here.
React Native Skia brings the Skia Graphics Library to React Native. Skia serves as the graphics engine for Google Chrome and Chrome OS, Android, Flutter, Mozilla Firefox and Firefox OS, and many other products.
For detailed information on library development, building, testing, and contributing guidelines, please see CONTRIBUTING.md.
Skia has two backends: Ganesh and Graphite. Ganesh is the default backend.
If you want to experiment with Graphite, you can enable it by building Skia with SK_GRAPHITE=1 yarn build-skia
.
Skia Graphite requires Android API Level 26 or above.
React Native Skia automatically detects if the Dawn WebGPU implementation library files are available. If they are present, it will automatically assume that Graphite is enabled.