| /expo/packages/expo-gl/common/ |
| H A D | EXGLNativeContext.cpp | 22 void EXGLContext::maybeResolveWorkletContext(jsi::Runtime &runtime) { in maybeResolveWorkletContext() 42 void EXGLContext::prepareWorkletContext() { in prepareWorkletContext() 52 void EXGLContext::endNextBatch() noexcept { in endNextBatch() 61 void EXGLContext::addToNextBatch(Op &&op) noexcept { in addToNextBatch() 67 void EXGLContext::addBlockingToNextBatch(Op &&op) { in addBlockingToNextBatch() 78 jsi::Value EXGLContext::addFutureToNextBatch( in addFutureToNextBatch() 90 void EXGLContext::flush(void) { in flush() 104 EXGLObjectId EXGLContext::createObject(void) noexcept { in createObject() 108 void EXGLContext::destroyObject(EXGLObjectId exglObjId) noexcept { in destroyObject() 137 glesContext EXGLContext::prepareOpenGLESContext() { in prepareOpenGLESContext() [all …]
|
| H A D | EXWebGLMethodsHelpers.h | 22 EXGLContext *ctx, in exglGetActiveInfo() 60 inline jsi::Value exglCall(EXGLContext *ctx, Func func, T &&... args) { in exglCall() 68 exglUniformv(EXGLContext *ctx, Func func, GLuint uniform, size_t dim, std::vector<T> &&data) { in exglUniformv() 77 EXGLContext *ctx, in exglUniformMatrixv() 91 exglVertexAttribv(EXGLContext *ctx, Func func, GLuint index, std::vector<T> &&data) { in exglVertexAttribv() 97 exglIsObject(EXGLContext *ctx, EXGLObjectId id, std::function<GLboolean(GLuint)> func) { in exglIsObject() 104 EXGLContext *ctx, in exglGenObject() 117 EXGLContext *ctx, in exglCreateObject() 126 exglDeleteObject(EXGLContext *ctx, EXGLObjectId id, std::function<void(EXGLObjectId)> func) { in exglDeleteObject() 132 EXGLContext *ctx, in exglDeleteObject()
|
| H A D | EXWebGLRenderer.h | 17 class EXGLContext; variable 40 void createWebGLRenderer(jsi::Runtime &runtime, EXGLContext *, glesContext, jsi::Object&& global);
|
| H A D | EXGLNativeContext.h | 47 class EXGLContext { 52 EXGLContext(EXGLContextId ctxId) : ctxId(ctxId) {} in EXGLContext() function
|
| H A D | EXGLContextManager.h | 9 using ContextWithLock = std::pair<EXGLContext *, std::shared_lock<std::shared_mutex>>;
|
| H A D | EXGLContextManager.cpp | 8 EXGLContext *ctx; 61 manager.contextMap[ctxId].ctx = new EXGLContext(ctxId); in ContextCreate()
|
| H A D | EXWebGLRenderer.cpp | 40 void createWebGLRenderer(jsi::Runtime &runtime, EXGLContext *ctx, glesContext viewport, jsi::Object… in createWebGLRenderer()
|
| /expo/packages/expo-gl/ios/ |
| H A D | EXGLContext.h | 7 @class EXGLContext; 11 - (void)glContextFlushed:(nonnull EXGLContext *)context; 12 - (void)glContextInitialized:(nonnull EXGLContext *)context; 13 - (void)glContextWillDestroy:(nonnull EXGLContext *)context; 18 @interface EXGLContext : NSObject
|
| H A D | EXGLObjectManager.mm | 15 @property (nonatomic, strong) NSMutableDictionary<NSNumber *, EXGLContext *> *glContexts; 50 - (EXGLContext *)getContextWithId:(NSNumber *)contextId 55 - (void)saveContext:(nonnull EXGLContext *)glContext 70 …[_glContexts enumerateKeysAndObjectsUsingBlock:^(NSNumber * _Nonnull contextId, EXGLContext * _Non… 83 EXGLContext *glContext = [self getContextWithId:exglCtxId]; 86 …, nil, EXErrorWithMessage(@"ExponentGLObjectManager.takeSnapshotAsync: EXGLContext not found for g… 99 EXGLContext *glContext = [[EXGLContext alloc] initWithDelegate:nil 121 EXGLContext *glContext = [self getContextWithId:exglCtxId]; 149 EXGLContext *glContext = [self getContextWithId:exglCtxId];
|
| H A D | EXGLCameraObject.h | 5 #import <ExpoGL/EXGLContext.h> 10 - (instancetype)initWithContext:(EXGLContext *)glContext andCamera:(id<EXCameraInterface>)camera;
|
| H A D | EXGLView.h | 4 #import <ExpoGL/EXGLContext.h> 23 @property (nonatomic, strong, nullable) EXGLContext *glContext;
|
| H A D | EXGLCameraObject.mm | 11 #import <ExpoGL/EXGLContext.h> 24 - (instancetype)initWithContext:(EXGLContext *)glContext andCamera:(id<EXCameraInterface>)camera
|
| H A D | EXGLView.mm | 5 #import <ExpoGL/EXGLContext.h> 61 _glContext = [[EXGLContext alloc] initWithDelegate:self andModuleRegistry:moduleRegistry]; 224 // Destroy EXGLContext 237 …// called on the JS thread to create the EXGL context and save its id (see EXGLContext.initializeC… 296 - (void)glContextFlushed:(nonnull EXGLContext *)context 308 - (void)glContextInitialized:(nonnull EXGLContext *)context 314 - (void)glContextWillDestroy:(nonnull EXGLContext *)context
|
| H A D | EXGLContext.mm | 3 #import <ExpoGL/EXGLContext.h> 16 @interface EXGLContext () interface in nonatomic 27 @implementation EXGLContext implementation 118 EXGLContext *self = weakSelf;
|
| /expo/packages/expo-gl/src/ |
| H A D | GLView.tsx | 229 throw new Error(`Invalid EXGLContext id: ${String(exglCtxId)}`);
|
| /expo/packages/expo-gl/build/ |
| H A D | GLView.js.map | 1 …txId || typeof exglCtxId !== 'number') {\n throw new Error(`Invalid EXGLContext id: ${String(ex…
|