Shopify / react-native-skia

High-performance React Native Graphics using Skia
https://shopify.github.io/react-native-skia
MIT License
6.98k stars 452 forks source link

Refactor OpenGL/Metal Skia context #2725

Closed wcandillon closed 2 weeks ago

wcandillon commented 2 weeks ago

The goal of this PR is to align the OpenGL and Metal Skia context to a unified API. This will allow for a smooth migration to the DawnContext which isn't platform-specific.

This also fix a minor issue on Android where one onscreen context could created in many threads instead of only once.

It also fix minor inconsistencies with size handling on iOS.

github-actions[bot] commented 2 weeks ago

:tada: This PR is included in version 1.5.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: