expo-gl 12.3.1 → 12.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/android/build.gradle +2 -2
- package/common/EXWebGLMethods.cpp +7 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,12 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 12.4.0 — 2023-02-14
|
|
14
|
+
|
|
15
|
+
### 🎉 New features
|
|
16
|
+
|
|
17
|
+
- Add support for the `GL_UNPACK_ALIGNMENT` parameter in the `pixelStorei` method. ([#21212](https://github.com/expo/expo/pull/21212) by [@BanBart](https://github.com/BanBart))
|
|
18
|
+
|
|
13
19
|
## 12.3.1 — 2023-02-09
|
|
14
20
|
|
|
15
21
|
_This version does not introduce any user-facing changes._
|
package/android/build.gradle
CHANGED
|
@@ -6,7 +6,7 @@ apply plugin: 'maven-publish'
|
|
|
6
6
|
apply plugin: "de.undercouch.download"
|
|
7
7
|
|
|
8
8
|
group = 'host.exp.exponent'
|
|
9
|
-
version = '12.
|
|
9
|
+
version = '12.4.0'
|
|
10
10
|
|
|
11
11
|
def REACT_NATIVE_BUILD_FROM_SOURCE = findProject(":ReactAndroid") != null
|
|
12
12
|
def REACT_NATIVE_DIR = REACT_NATIVE_BUILD_FROM_SOURCE
|
|
@@ -103,7 +103,7 @@ android {
|
|
|
103
103
|
minSdkVersion safeExtGet("minSdkVersion", 21)
|
|
104
104
|
targetSdkVersion safeExtGet("targetSdkVersion", 33)
|
|
105
105
|
versionCode 31
|
|
106
|
-
versionName "12.
|
|
106
|
+
versionName "12.4.0"
|
|
107
107
|
|
|
108
108
|
externalNativeBuild {
|
|
109
109
|
cmake {
|
|
@@ -276,6 +276,13 @@ NATIVE_METHOD(pixelStorei) {
|
|
|
276
276
|
ctx->unpackFLipY = ARG(1, GLboolean);
|
|
277
277
|
break;
|
|
278
278
|
}
|
|
279
|
+
case GL_UNPACK_ALIGNMENT: {
|
|
280
|
+
auto param = ARG(1, GLint);
|
|
281
|
+
ctx->addToNextBatch([=] {
|
|
282
|
+
glPixelStorei(GL_UNPACK_ALIGNMENT, param);
|
|
283
|
+
});
|
|
284
|
+
break;
|
|
285
|
+
}
|
|
279
286
|
default:
|
|
280
287
|
jsConsoleLog(runtime, { jsi::String::createFromUtf8(runtime, "EXGL: gl.pixelStorei() doesn't support this parameter yet!") });
|
|
281
288
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-gl",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.4.0",
|
|
4
4
|
"description": "Provides GLView that acts as OpenGL ES render target and gives GL context object implementing WebGL 2.0 specification.",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"expo": "*"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "c8107d57eabaedff5d53bc8036d062db12a473c8"
|
|
53
53
|
}
|