| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/gl/ |
| H A D | GLObjectManagerModule.java | 47 public void saveContext(final GLContext glContext) { in saveContext() argument 48 mGLContextMap.put(glContext.getContextId(), glContext); in saveContext() local 81 if (glContext == null) { in createCameraTextureAsync() 86 glContext.runAsync(new Runnable() { in createCameraTextureAsync() 110 GLContext glContext = getContextWithId(exglCtxId); in takeSnapshotAsync() local 112 if (glContext == null) { in takeSnapshotAsync() 121 final GLContext glContext = new GLContext(this); in createContextAsync() local 123 glContext.initialize(null, false, new Runnable() { in createContextAsync() 135 GLContext glContext = getContextWithId(exglCtxId); in destroyContextAsync() local 137 if (glContext != null) { in destroyContextAsync() [all …]
|
| H A D | GLView.kt | 21 private var glContext = GLContext( variable 28 get() = glContext.contextId 40 glContext.runAsync(r) in runOnGLThread() 60 glContext.destroy() in onSurfaceTextureDestroyed() 78 glContext.flush() in onSurfaceTextureUpdated() 82 glContext.initialize(surfaceTexture, enableExperimentalWorkletSupport) { in initializeSurfaceInGLContext()
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/gl/ |
| H A D | GLObjectManagerModule.java | 47 public void saveContext(final GLContext glContext) { in saveContext() argument 48 mGLContextMap.put(glContext.getContextId(), glContext); in saveContext() local 81 if (glContext == null) { in createCameraTextureAsync() 86 glContext.runAsync(new Runnable() { in createCameraTextureAsync() 110 GLContext glContext = getContextWithId(exglCtxId); in takeSnapshotAsync() local 112 if (glContext == null) { in takeSnapshotAsync() 121 final GLContext glContext = new GLContext(this); in createContextAsync() local 123 glContext.initialize(null, new Runnable() { in createContextAsync() 135 GLContext glContext = getContextWithId(exglCtxId); in destroyContextAsync() local 137 if (glContext != null) { in destroyContextAsync() [all …]
|
| H A D | GLView.kt | 21 private var glContext = GLContext( variable 28 get() = glContext.contextId 39 glContext.runAsync(r) in runOnGLThread() 59 glContext.destroy() in onSurfaceTextureDestroyed() 77 glContext.flush() in onSurfaceTextureUpdated() 81 glContext.initialize(surfaceTexture) { in initializeSurfaceInGLContext()
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/gl/ |
| H A D | GLObjectManagerModule.java | 47 public void saveContext(final GLContext glContext) { in saveContext() argument 48 mGLContextMap.put(glContext.getContextId(), glContext); in saveContext() local 81 if (glContext == null) { in createCameraTextureAsync() 86 glContext.runAsync(new Runnable() { in createCameraTextureAsync() 110 GLContext glContext = getContextWithId(exglCtxId); in takeSnapshotAsync() local 112 if (glContext == null) { in takeSnapshotAsync() 121 final GLContext glContext = new GLContext(this); in createContextAsync() local 123 glContext.initialize(null, new Runnable() { in createContextAsync() 135 GLContext glContext = getContextWithId(exglCtxId); in destroyContextAsync() local 137 if (glContext != null) { in destroyContextAsync() [all …]
|
| /expo/packages/expo-gl/android/src/main/java/expo/modules/gl/ |
| H A D | GLObjectManagerModule.kt | 40 val glContext = getContextWithId(exglCtxId) in <lambda>() constant 43 glContext.runAsync { in <lambda>() 57 val glContext = getContextWithId(exglCtxId) in <lambda>() constant 60 glContext.takeSnapshot(options, context, promise) in <lambda>() 64 val glContext = GLContext(this@GLObjectManagerModule) in <lambda>() constant 65 glContext.initialize(null, false) { in <lambda>() 67 results.putInt("exglCtxId", glContext.contextId) in <lambda>() 73 val glContext = getContextWithId(exglCtxId) in <lambda>() constant 76 glContext.destroy() in <lambda>() 85 fun saveContext(glContext: GLContext) { in <lambda>() [all …]
|
| H A D | GLView.kt | 21 private var glContext = GLContext( variable 28 get() = glContext.contextId 40 glContext.runAsync(r) in runOnGLThread() 60 glContext.destroy() in onSurfaceTextureDestroyed() 78 glContext.flush() in onSurfaceTextureUpdated() 82 glContext.initialize(surfaceTexture, enableExperimentalWorkletSupport) { in initializeSurfaceInGLContext()
|
| /expo/packages/expo-gl/ios/ |
| H A D | EXGLObjectManager.mm | 55 - (void)saveContext:(nonnull EXGLContext *)glContext 57 if (glContext.contextId != 0) { 58 [_glContexts setObject:glContext forKey:@(glContext.contextId)]; 71 [glContext destroy]; 85 if (glContext == nil) { 102 [glContext initialize]; 103 [glContext prepare:^(BOOL success) { 105 resolve(@{ @"exglCtxId": @(glContext.contextId) }); 123 if (glContext != nil) { 124 [glContext destroy]; [all …]
|
| H A D | EXGLCameraObject.mm | 24 - (instancetype)initWithContext:(EXGLContext *)glContext andCamera:(id<EXCameraInterface>)camera 26 EXGLContextId exglCtxId = [glContext contextId]; 29 _eaglCtx = [glContext createSharedEAGLContext];
|
| H A D | EXGLCameraObject.h | 10 - (instancetype)initWithContext:(EXGLContext *)glContext andCamera:(id<EXCameraInterface>)camera;
|
| /expo/ios/versioned/sdk47/EXGL/ios/EXGL/ |
| H A D | ABI47_0_0EXGLObjectManager.mm | 55 - (void)saveContext:(nonnull ABI47_0_0EXGLContext *)glContext 57 if (glContext.contextId != 0) { 58 [_glContexts setObject:glContext forKey:@(glContext.contextId)]; 71 [glContext destroy]; 85 if (glContext == nil) { 101 [glContext initialize]; 102 [glContext prepare:^(BOOL success) { 104 resolve(@{ @"exglCtxId": @(glContext.contextId) }); 122 if (glContext != nil) { 123 [glContext destroy]; [all …]
|
| H A D | ABI47_0_0EXGLCameraObject.mm | 24 - (instancetype)initWithContext:(ABI47_0_0EXGLContext *)glContext andCamera:(id<ABI47_0_0EXCameraIn… 26 ABI47_0_0EXGLContextId exglCtxId = [glContext contextId]; 29 _eaglCtx = [glContext createSharedEAGLContext];
|
| H A D | ABI47_0_0EXGLCameraObject.h | 10 - (instancetype)initWithContext:(ABI47_0_0EXGLContext *)glContext andCamera:(id<ABI47_0_0EXCameraIn…
|
| /expo/ios/versioned/sdk49/ExpoGL/ios/ |
| H A D | ABI49_0_0EXGLObjectManager.mm | 55 - (void)saveContext:(nonnull ABI49_0_0EXGLContext *)glContext 57 if (glContext.contextId != 0) { 58 [_glContexts setObject:glContext forKey:@(glContext.contextId)]; 71 [glContext destroy]; 85 if (glContext == nil) { 102 [glContext initialize]; 103 [glContext prepare:^(BOOL success) { 105 resolve(@{ @"exglCtxId": @(glContext.contextId) }); 123 if (glContext != nil) { 124 [glContext destroy]; [all …]
|
| H A D | ABI49_0_0EXGLCameraObject.mm | 24 - (instancetype)initWithContext:(ABI49_0_0EXGLContext *)glContext andCamera:(id<ABI49_0_0EXCameraIn… 26 ABI49_0_0EXGLContextId exglCtxId = [glContext contextId]; 29 _eaglCtx = [glContext createSharedEAGLContext];
|
| H A D | ABI49_0_0EXGLCameraObject.h | 10 - (instancetype)initWithContext:(ABI49_0_0EXGLContext *)glContext andCamera:(id<ABI49_0_0EXCameraIn…
|
| /expo/ios/versioned/sdk48/ExpoGL/ios/ |
| H A D | ABI48_0_0EXGLObjectManager.mm | 55 - (void)saveContext:(nonnull ABI48_0_0EXGLContext *)glContext 57 if (glContext.contextId != 0) { 58 [_glContexts setObject:glContext forKey:@(glContext.contextId)]; 71 [glContext destroy]; 85 if (glContext == nil) { 101 [glContext initialize]; 102 [glContext prepare:^(BOOL success) { 104 resolve(@{ @"exglCtxId": @(glContext.contextId) }); 122 if (glContext != nil) { 123 [glContext destroy]; [all …]
|
| H A D | ABI48_0_0EXGLCameraObject.mm | 24 - (instancetype)initWithContext:(ABI48_0_0EXGLContext *)glContext andCamera:(id<ABI48_0_0EXCameraIn… 26 ABI48_0_0EXGLContextId exglCtxId = [glContext contextId]; 29 _eaglCtx = [glContext createSharedEAGLContext];
|
| H A D | ABI48_0_0EXGLCameraObject.h | 10 - (instancetype)initWithContext:(ABI48_0_0EXGLContext *)glContext andCamera:(id<ABI48_0_0EXCameraIn…
|
| /expo/android/vendored/sdk47/@shopify/react-native-skia/android/cpp/rnskia-android/ |
| H A D | SkiaOpenGLRenderer.cpp | 16 drawingContext->glContext = EGL_NO_CONTEXT; in getThreadDrawingContext() 139 if (getThreadDrawingContext()->glContext != EGL_NO_CONTEXT) in initStaticGLContext() 190 getThreadDrawingContext()->glContext = eglCreateContext( in initStaticGLContext() 196 if (getThreadDrawingContext()->glContext == EGL_NO_CONTEXT) in initStaticGLContext() 238 getThreadDrawingContext()->glContext)) in initGLSurface() 266 getThreadDrawingContext()->glContext)) in initGLSurface()
|
| /expo/android/vendored/sdk48/@shopify/react-native-skia/android/cpp/rnskia-android/ |
| H A D | SkiaOpenGLRenderer.cpp | 14 drawingContext->glContext = EGL_NO_CONTEXT; in getThreadDrawingContext() 120 if (getThreadDrawingContext()->glContext != EGL_NO_CONTEXT) { in initStaticGLContext() 166 getThreadDrawingContext()->glContext = eglCreateContext( in initStaticGLContext() 170 if (getThreadDrawingContext()->glContext == EGL_NO_CONTEXT) { in initStaticGLContext() 202 _glSurface, getThreadDrawingContext()->glContext)) { in initGLSurface() 221 _glSurface, getThreadDrawingContext()->glContext)) { in initGLSurface()
|
| /expo/packages/expo-gl/android/src/main/cpp/ |
| H A D | EXGLJniApi.cpp | 25 (JNIEnv *env, jclass clazz, jlong jsiPtr, jint exglCtxId, jobject glContext) { in Java_expo_modules_gl_cpp_EXGL_EXGLContextPrepare() argument 27 jclass GLContextClass = env->GetObjectClass(glContext); in Java_expo_modules_gl_cpp_EXGL_EXGLContextPrepare() 28 jobject glContextRef = env->NewGlobalRef(glContext); in Java_expo_modules_gl_cpp_EXGL_EXGLContextPrepare()
|
| /expo/android/vendored/sdk49/@shopify/react-native-skia/android/cpp/rnskia-android/ |
| H A D | SkiaOpenGLRenderer.cpp | 122 drawingContext->glContext = EGL_NO_CONTEXT; in getThreadDrawingContext() 237 if (getThreadDrawingContext()->glContext != EGL_NO_CONTEXT) { in initStaticGLContext() 283 getThreadDrawingContext()->glContext = eglCreateContext( in initStaticGLContext() 287 if (getThreadDrawingContext()->glContext == EGL_NO_CONTEXT) { in initStaticGLContext() 319 _glSurface, getThreadDrawingContext()->glContext)) { in initGLSurface() 338 _glSurface, getThreadDrawingContext()->glContext)) { in initGLSurface()
|
| /expo/android/vendored/unversioned/@shopify/react-native-skia/android/cpp/rnskia-android/ |
| H A D | SkiaOpenGLRenderer.cpp | 122 drawingContext->glContext = EGL_NO_CONTEXT; in getThreadDrawingContext() 237 if (getThreadDrawingContext()->glContext != EGL_NO_CONTEXT) { in initStaticGLContext() 283 getThreadDrawingContext()->glContext = eglCreateContext( in initStaticGLContext() 287 if (getThreadDrawingContext()->glContext == EGL_NO_CONTEXT) { in initStaticGLContext() 319 _glSurface, getThreadDrawingContext()->glContext)) { in initGLSurface() 338 _glSurface, getThreadDrawingContext()->glContext)) { in initGLSurface()
|
| /expo/packages/expo-gl/android/src/main/java/expo/modules/gl/cpp/ |
| H A D | EXGL.java | 11 public static native void EXGLContextPrepare(long jsCtxPtr, int exglCtxId, Object glContext); in EXGLContextPrepare() argument
|