Home
last modified time | relevance | path

Searched refs:EXGLContext (Results 1 – 16 of 16) sorted by relevance

/expo/packages/expo-gl/common/
H A DEXGLNativeContext.cpp22 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 DEXWebGLMethodsHelpers.h22 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 DEXWebGLRenderer.h17 class EXGLContext; variable
40 void createWebGLRenderer(jsi::Runtime &runtime, EXGLContext *, glesContext, jsi::Object&& global);
H A DEXGLNativeContext.h47 class EXGLContext {
52 EXGLContext(EXGLContextId ctxId) : ctxId(ctxId) {} in EXGLContext() function
H A DEXGLContextManager.h9 using ContextWithLock = std::pair<EXGLContext *, std::shared_lock<std::shared_mutex>>;
H A DEXGLContextManager.cpp8 EXGLContext *ctx;
61 manager.contextMap[ctxId].ctx = new EXGLContext(ctxId); in ContextCreate()
H A DEXWebGLRenderer.cpp40 void createWebGLRenderer(jsi::Runtime &runtime, EXGLContext *ctx, glesContext viewport, jsi::Object… in createWebGLRenderer()
/expo/packages/expo-gl/ios/
H A DEXGLContext.h7 @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 DEXGLObjectManager.mm15 @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 DEXGLCameraObject.h5 #import <ExpoGL/EXGLContext.h>
10 - (instancetype)initWithContext:(EXGLContext *)glContext andCamera:(id<EXCameraInterface>)camera;
H A DEXGLView.h4 #import <ExpoGL/EXGLContext.h>
23 @property (nonatomic, strong, nullable) EXGLContext *glContext;
H A DEXGLCameraObject.mm11 #import <ExpoGL/EXGLContext.h>
24 - (instancetype)initWithContext:(EXGLContext *)glContext andCamera:(id<EXCameraInterface>)camera
H A DEXGLView.mm5 #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 DEXGLContext.mm3 #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 DGLView.tsx229 throw new Error(`Invalid EXGLContext id: ${String(exglCtxId)}`);
/expo/packages/expo-gl/build/
H A DGLView.js.map1 …txId || typeof exglCtxId !== 'number') {\n throw new Error(`Invalid EXGLContext id: ${String(ex…