Lines Matching refs:EXWebGLClass
44 runtime, EXWebGLClass::WebGL2RenderingContext, {static_cast<double>(ctx->ctxId)}) in createWebGLRenderer()
47 runtime, EXWebGLClass::WebGLRenderingContext, {static_cast<double>(ctx->ctxId)}) in createWebGLRenderer()
68 EXWebGLClass webglClass, in createWebGLObject()
81 std::string getConstructorName(EXWebGLClass value) { in getConstructorName()
83 case EXWebGLClass::WebGLRenderingContext: in getConstructorName()
85 case EXWebGLClass::WebGL2RenderingContext: in getConstructorName()
87 case EXWebGLClass::WebGLObject: in getConstructorName()
89 case EXWebGLClass::WebGLBuffer: in getConstructorName()
91 case EXWebGLClass::WebGLFramebuffer: in getConstructorName()
93 case EXWebGLClass::WebGLProgram: in getConstructorName()
95 case EXWebGLClass::WebGLRenderbuffer: in getConstructorName()
97 case EXWebGLClass::WebGLShader: in getConstructorName()
99 case EXWebGLClass::WebGLTexture: in getConstructorName()
101 case EXWebGLClass::WebGLUniformLocation: in getConstructorName()
103 case EXWebGLClass::WebGLActiveInfo: in getConstructorName()
105 case EXWebGLClass::WebGLShaderPrecisionFormat: in getConstructorName()
107 case EXWebGLClass::WebGLQuery: in getConstructorName()
109 case EXWebGLClass::WebGLSampler: in getConstructorName()
111 case EXWebGLClass::WebGLSync: in getConstructorName()
113 case EXWebGLClass::WebGLTransformFeedback: in getConstructorName()
115 case EXWebGLClass::WebGLVertexArrayObject: in getConstructorName()
122 EXWebGLClass webglClass, in attachClass()
123 std::function<void(EXWebGLClass webglClass)> installPrototypes) { in attachClass()
178 auto inheritFromJsObject = [&runtime](EXWebGLClass classEnum) { in ensurePrototypes()
186 inheritFromJsObject(EXWebGLClass::WebGLRenderingContext); in ensurePrototypes()
189 ….getProperty(runtime, jsi::PropNameID::forUtf8(runtime, getConstructorName(EXWebGLClass::WebGLRend… in ensurePrototypes()
198 inheritFromJsObject(EXWebGLClass::WebGL2RenderingContext); in ensurePrototypes()
201 ….getProperty(runtime, jsi::PropNameID::forUtf8(runtime, getConstructorName(EXWebGLClass::WebGL2Ren… in ensurePrototypes()
209 inheritFromJsObject(EXWebGLClass::WebGLObject); in ensurePrototypes()
215 jsi::PropNameID::forUtf8(runtime, getConstructorName(EXWebGLClass::WebGLObject))) in ensurePrototypes()
217 auto inheritFromWebGLObject = [&runtime, &webglObjectClass](EXWebGLClass classEnum) { in ensurePrototypes()
224 inheritFromWebGLObject(EXWebGLClass::WebGLBuffer); in ensurePrototypes()
225 inheritFromWebGLObject(EXWebGLClass::WebGLFramebuffer); in ensurePrototypes()
226 inheritFromWebGLObject(EXWebGLClass::WebGLProgram); in ensurePrototypes()
227 inheritFromWebGLObject(EXWebGLClass::WebGLRenderbuffer); in ensurePrototypes()
228 inheritFromWebGLObject(EXWebGLClass::WebGLShader); in ensurePrototypes()
229 inheritFromWebGLObject(EXWebGLClass::WebGLTexture); in ensurePrototypes()
230 inheritFromJsObject(EXWebGLClass::WebGLUniformLocation); in ensurePrototypes()
231 inheritFromJsObject(EXWebGLClass::WebGLActiveInfo); in ensurePrototypes()
232 inheritFromJsObject(EXWebGLClass::WebGLShaderPrecisionFormat); in ensurePrototypes()
233 inheritFromWebGLObject(EXWebGLClass::WebGLQuery); in ensurePrototypes()
234 inheritFromWebGLObject(EXWebGLClass::WebGLSampler); in ensurePrototypes()
235 inheritFromWebGLObject(EXWebGLClass::WebGLSync); in ensurePrototypes()
236 inheritFromWebGLObject(EXWebGLClass::WebGLTransformFeedback); in ensurePrototypes()
237 inheritFromWebGLObject(EXWebGLClass::WebGLVertexArrayObject); in ensurePrototypes()