Skip to content
This repository has been archived by the owner on Jan 1, 2020. It is now read-only.

v2.28.0

Latest
Compare
Choose a tag to compare
@gre gre released this 22 Jun 17:18
· 116 commits to master since this release

Now targeting >= React Native 0.28.

  • iOS: using the new loadImageWithURLRequest for Image loading. The old loadImageWithoutClipping has been deprecated. this changes make gl-react-native 2.28 incompatible with older React Native versions.
  • iOS: in the same time I have refactored a bit the iOS GLImage.m implementation, by inspiring from latest React Native RCTImageView work. It might help performance.
  • exposes resolveAssetSource. You can import {resolveAssetSource} from "gl-react-native"; . As commented here, you will have to use it for now if you want to inject local images into gl-react-native uniform textures. See also documentation
  • If you now try to rasterize a RN.Image in, you will get a warning. This is because it's very ineffective to do so, and we recommend people to either directly give the image url in uniforms or to use gl-react-image that implements the same React Native Image resizeMode straight in OpenGL.

See also documentation for these 2 last points.

Happy GL-uing, people !