Home
last modified time | relevance | path

Searched refs:EXGLContextId (Results 1 – 13 of 13) sorted by relevance

/expo/packages/expo-gl/common/
H A DEXGLNativeApi.h23 typedef unsigned int EXGLContextId; typedef
29 EXGLContextId EXGLContextCreate();
39 void EXGLContextPrepareWorklet(EXGLContextId exglCtxId);
42 bool EXGLContextNeedsRedraw(EXGLContextId exglCtxId);
45 void EXGLContextDrawEnded(EXGLContextId exglCtxId);
49 void EXGLContextDestroy(EXGLContextId exglCtxId);
52 void EXGLContextFlush(EXGLContextId exglCtxId);
56 void EXGLContextSetDefaultFramebuffer(EXGLContextId exglCtxId, GLint framebuffer);
59 EXGLObjectId EXGLContextCreateObject(EXGLContextId exglCtxId);
62 void EXGLContextDestroyObject(EXGLContextId exglCtxId, EXGLObjectId exglObjId);
[all …]
H A DEXGLNativeApi.cpp7 EXGLContextId EXGLContextCreate() { in EXGLContextCreate()
13 EXGLContextId exglCtxId, in EXGLContextPrepare()
21 void EXGLContextPrepareWorklet(EXGLContextId exglCtxId) { in EXGLContextPrepareWorklet()
28 bool EXGLContextNeedsRedraw(EXGLContextId exglCtxId) { in EXGLContextNeedsRedraw()
36 void EXGLContextDrawEnded(EXGLContextId exglCtxId) { in EXGLContextDrawEnded()
43 void EXGLContextDestroy(EXGLContextId exglCtxId) { in EXGLContextDestroy()
47 void EXGLContextFlush(EXGLContextId exglCtxId) { in EXGLContextFlush()
54 void EXGLContextSetDefaultFramebuffer(EXGLContextId exglCtxId, GLint framebuffer) { in EXGLContextSetDefaultFramebuffer()
61 EXGLObjectId EXGLContextCreateObject(EXGLContextId exglCtxId) { in EXGLContextCreateObject()
69 void EXGLContextDestroyObject(EXGLContextId exglCtxId, EXGLObjectId exglObjId) { in EXGLContextDestroyObject()
[all …]
H A DEXGLContextManager.cpp13 std::unordered_map<EXGLContextId, ContextState> contextMap;
15 EXGLContextId nextId = 1;
38 ContextWithLock ContextGet(EXGLContextId id) { in ContextGet()
48 EXGLContextId ContextCreate() { in ContextCreate()
50 if (manager.nextId >= std::numeric_limits<EXGLContextId>::max()) { in ContextCreate()
56 EXGLContextId ctxId = manager.nextId++; in ContextCreate()
65 void ContextDestroy(EXGLContextId id) { in ContextDestroy()
H A DEXGLContextManager.h11 EXGLContextId ContextCreate();
12 ContextWithLock ContextGet(EXGLContextId id);
13 void ContextDestroy(EXGLContextId id);
H A DEXGLNativeContext.h52 EXGLContext(EXGLContextId ctxId) : ctxId(ctxId) {} in EXGLContext()
120 EXGLContextId ctxId;
H A DEXWebGLMethods.cpp43 return ContextGet(static_cast<EXGLContextId>(exglCtxId)); in getContext()
/expo/packages/expo-gl/ios/
H A DEXGLObject.h8 @property (nonatomic, assign) EXGLContextId exglCtxId;
H A DEXGLView.h12 - (EXGLContextId)exglCtxId;
H A DEXGLContext.h32 @property (nonatomic, assign) EXGLContextId contextId;
H A DEXGLCameraObject.mm26 EXGLContextId exglCtxId = [glContext contextId];
H A DEXGLView.mm76 - (EXGLContextId)exglCtxId
87 EXGLContextId exglCtxId = _glContext.contextId;
/expo/packages/expo-gl/src/
H A DGLView.tsx210 // Get the GL interface from an EXGLContextId
/expo/packages/expo-gl/build/
H A DGLView.js.map1 …anager.unregister?.(exglCtxId);\n}\n\n// Get the GL interface from an EXGLContextId\nconst getGl =…