Home
last modified time | relevance | path

Searched refs:webGl2RenderingContext (Results 1 - 1 of 1) sorted by relevance

/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dmodule.cpp87 WebGL2RenderingContext *webGl2RenderingContext = in Export() local
89 if (webGl2RenderingContext == nullptr) { in Export()
90 webGl2RenderingContext = new (std::nothrow) WebGL2RenderingContext(env, exports); in Export()
91 if (webGl2RenderingContext == nullptr) { in Export()
94 ObjectManager::GetInstance().AddWebGLObject(true, idStr, webGl2RenderingContext); in Export()
96 if (!webGl2RenderingContext->SetWebGLContextAttributes(vec) || !webGl2RenderingContext->Export(env, exports)) { in Export()

Completed in 1 milliseconds