expo-gl 14.0.2 → 14.0.3-canary-20240625-2333e70
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
CHANGED
|
@@ -29,7 +29,6 @@ import javax.microedition.khronos.egl.EGLSurface;
|
|
|
29
29
|
|
|
30
30
|
import expo.modules.core.ModuleRegistry;
|
|
31
31
|
import expo.modules.core.interfaces.JavaScriptContextProvider;
|
|
32
|
-
import expo.modules.core.interfaces.RuntimeEnvironmentInterface;
|
|
33
32
|
import expo.modules.core.interfaces.services.UIManager;
|
|
34
33
|
import expo.modules.gl.utils.FileSystemUtils;
|
|
35
34
|
import expo.modules.kotlin.Promise;
|
|
@@ -87,8 +86,6 @@ public class GLContext {
|
|
|
87
86
|
ModuleRegistry moduleRegistry = mManager.getAppContext().getLegacyModuleRegistry();
|
|
88
87
|
final UIManager uiManager = moduleRegistry.getModule(UIManager.class);
|
|
89
88
|
final JavaScriptContextProvider jsContextProvider = moduleRegistry.getModule(JavaScriptContextProvider.class);
|
|
90
|
-
final RuntimeEnvironmentInterface environment = moduleRegistry.getModule(RuntimeEnvironmentInterface.class);
|
|
91
|
-
|
|
92
89
|
uiManager.runOnClientCodeQueueThread(new Runnable() {
|
|
93
90
|
@Override
|
|
94
91
|
public void run() {
|
package/ios/EXGLCameraObject.mm
CHANGED
|
@@ -93,7 +93,9 @@
|
|
|
93
93
|
CVOpenGLESTextureCacheFlush(_cameraTextureCache, 0);
|
|
94
94
|
CVPixelBufferUnlockBaseAddress(pixelBuffer, 0);
|
|
95
95
|
CVPixelBufferRelease(pixelBuffer);
|
|
96
|
-
|
|
96
|
+
if (textureRef != NULL) {
|
|
97
|
+
CFRelease(textureRef);
|
|
98
|
+
}
|
|
97
99
|
|
|
98
100
|
[EAGLContext setCurrentContext:nil];
|
|
99
101
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-gl",
|
|
3
|
-
"version": "14.0.
|
|
3
|
+
"version": "14.0.3-canary-20240625-2333e70",
|
|
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",
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
"@types/invariant": "^2.2.33",
|
|
44
44
|
"@types/offscreencanvas": "2019.6.4",
|
|
45
45
|
"@types/webgl2": "^0.0.6",
|
|
46
|
-
"expo-module-scripts": "
|
|
46
|
+
"expo-module-scripts": "3.6.0-canary-20240625-2333e70",
|
|
47
47
|
"react-test-renderer": "18.2.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"expo": "*"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "2333e70a4bd3ac91895402dac77ae8ae0ed25995"
|
|
53
53
|
}
|