Home
last modified time | relevance | path

Searched refs:webGlProgram (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_program.cpp34 unique_ptr<WebGLProgram> webGlProgram = make_unique<WebGLProgram>(); in Constructor() local
35 if (!NClass::SetEntityFor<WebGLProgram>(env, funcArg.GetThisVar(), move(webGlProgram))) { in Constructor()
H A Dwebgl_rendering_context_base_impl.cpp324 WebGLProgram* webGlProgram = nullptr; in CreateProgram() local
326 if (webGlProgram == nullptr) { in CreateProgram()
334 webGlProgram->SetProgramId(programId); in CreateProgram()
543 if (webGlProgram == nullptr) { in DeleteProgram()
926 if (webGlProgram == nullptr) { in GetProgramParameter()
930 programId = webGlProgram->GetProgramId(); in GetProgramParameter()
972 if (webGlProgram != nullptr) { in GetAttachedShaders()
973 programId = webGlProgram->GetProgramId(); in GetAttachedShaders()
993 if (webGlProgram == nullptr) { in GetUniformLocation()
1026 if (webGlProgram == nullptr) { in GetAttribLocation()
[all …]