Name Date Size #Lines LOC

..26-Sep-2023-

android/H26-Sep-2023-1,6771,323

build/H26-Sep-2023-852637

common/H26-Sep-2023-12,2699,572

ios/H26-Sep-2023-1,152900

scripts/H26-Sep-2023-158

src/H26-Sep-2023-1,004750

.clang-formatH A D26-Sep-20232.5 KiB8887

.eslintrc.jsH A D26-Sep-2023103 31

.gitignoreH A D26-Sep-202329 32

.npmignoreH A D26-Sep-2023183 128

CHANGELOG.mdH A D26-Sep-202311.9 KiB283150

ExpoGL.podspecH A D26-Sep-20231.2 KiB3427

README.mdH A D26-Sep-20232 KiB5938

babel.config.jsH A D26-Sep-2023104 31

expo-module.config.jsonH A D26-Sep-2023255 1211

package.jsonH A D26-Sep-20231.3 KiB5352

react-native.config.jsH A D26-Sep-2023169 108

tsconfig.jsonH A D26-Sep-2023238 109

README.md

1<p>
2  <a href="https://docs.expo.dev/versions/latest/sdk/gl-view/">
3    <img
4      src="../../.github/resources/expo-gl.svg"
5      alt="expo-gl"
6      height="64" />
7  </a>
8</p>
9
10Provides GLView that acts as OpenGL ES render target and gives GL context object implementing WebGL 2.0 specification.
11
12# API documentation
13
14- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/gl-view.mdx)
15- [Documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/gl-view/)
16
17# Installation in managed Expo projects
18
19For [managed](https://docs.expo.dev/archive/managed-vs-bare/) Expo projects, please follow the installation instructions in the [API documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/gl-view/).
20
21# Installation in bare React Native projects
22
23For bare React Native projects, you must ensure that you have [installed and configured the `expo` package](https://docs.expo.dev/bare/installing-expo-modules/) before continuing.
24
25### Add the package to your npm dependencies
26
27```
28npx expo install expo-gl
29```
30
31### Compatibility
32
33To use version `11.2.0` or newer of `expo-gl` you will need to use at least version `0.68.0` of React Native.
34
35| expo-gl            | react-native        |
36| ------------------ | ------------------- |
37| <=8.x.x            | \*                  |
38| >=9.0.0 && <11.2.0 | >=0.63.1 && <0.65.0 |
39| >=11.2.0           | >=0.68.0            |
40
41To use reanimated worklets you will need compatible version of `react-native-reanimated`.
42
43| expo-gl  | react-native-reanimated |
44| -------- | ----------------------- |
45| <11.3.0  | <=2.8.0                 |
46| >=11.3.0 | >2.8.0                  |
47
48### Configure for iOS
49
50Run `npx pod-install` after installing the npm package.
51
52### Configure for Android
53
54No additional set up necessary.
55
56# Contributing
57
58Contributions are very welcome! Please refer to guidelines described in the [contributing guide](https://github.com/expo/expo#contributing).
59