react-native-skia icon indicating copy to clipboard operation
react-native-skia copied to clipboard

High-performance React Native Graphics using Skia

Results 298 react-native-skia issues
Sort by recently updated
recently updated
newest added

This is a draft PR to test the upcoming image filters from the upcoming 0.36 version of CanvasKit. * [ ] Add tests * [ ] Look into MakeShader *...

Not tested with anything except with `useFont()` on my own project. Need your assessment whether this is a good idea. **Bug flow:** - Call `useFont()` with any font - Loader...

I think it would be great to be able to render animated GIF's with react-native-skia. For our project, we'd like to draw an transparent animated GIF on top of another...

enhancement

Demo code: ```ts const font = useFont(require('./fonts/Roboto-Bold.ttf'), 64); ``` After saving the file again, `font` becomes null, because it uses `useLoading` and looking at it reveals why it happens: ```ts...

> Task :shopify_react-native-skia:generateJsonModelRelease FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':shopify_react-native-skia:generateJsonModelRelease'. > /builds/qaSJBsxk/5/dvp/fe/banking/node_modules/@shopify/react-native-skia/android/CMakeLists.txt : C/C++ release|armeabi-v7a : CMake Error at /builds/qaSJBsxk/5/dvp/fe/banking/node_modules/@shopify/react-native-skia/android/CMakeLists.txt:27 (add_library):...

question

In CanvasKit, Skia references are not being garbage collected. This should be easily fixable in the reconciler. For the imperative API, we may document that the delete() is necessary and...

web

After noticing that we couldn't "warmup" images on iOS, we realized that each draw operation appears to upload the whole image to the gpu. Resulting in rendering delays and janks...

What would be the best approach to handle touch events on specific paths of a canvas ? As at the moment only the full canvas listens for touch events. Would...

enhancement
suggestion

SkFont.measureText should be deprecated in favour of getGlyphWidths.

deprecation