Home
last modified time | relevance | path

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

/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dmodule.cpp100 WebGLRenderingContext *webGlRenderingContext = in Export() local
102 if (webGlRenderingContext == nullptr) { in Export()
103 webGlRenderingContext = new (std::nothrow) WebGLRenderingContext(env, exports); in Export()
104 if (webGlRenderingContext == nullptr) { in Export()
107 ObjectManager::GetInstance().AddWebGLObject(false, idStr, webGlRenderingContext); in Export()
109 if (!webGlRenderingContext->SetWebGLContextAttributes(vec) || !webGlRenderingContext->Export(env, exports)) { in Export()

Completed in 1 milliseconds