Home
last modified time | relevance | path

Searched refs:webGLActiveInfo (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_active_info.cpp36 WebGLActiveInfo* webGLActiveInfo = nullptr; in GetWebGLActiveInfo() local
42 return webGLActiveInfo; in GetWebGLActiveInfo()
47 WebGLActiveInfo* webGLActiveInfo = GetWebGLActiveInfo(env, info); in GetActiveName() local
48 if (webGLActiveInfo == nullptr) { in GetActiveName()
52 std::string name = webGLActiveInfo->GetActiveName(); in GetActiveName()
59 WebGLActiveInfo* webGLActiveInfo = GetWebGLActiveInfo(env, info); in GetActiveSize() local
60 if (webGLActiveInfo == nullptr) { in GetActiveSize()
64 int size = webGLActiveInfo->GetActiveSize(); in GetActiveSize()
72 WebGLActiveInfo* webGLActiveInfo = GetWebGLActiveInfo(env, info); in GetActiveType() local
73 if (webGLActiveInfo == nullptr) { in GetActiveType()
[all …]
H A Dwebgl2_rendering_context_impl.cpp627 WebGLActiveInfo* webGLActiveInfo = nullptr; in GetTransformFeedbackVarying() local
628 napi_value objActiveInfo = WebGLActiveInfo::CreateObjectInstance(env, &webGLActiveInfo).val_; in GetTransformFeedbackVarying()
629 if (webGLActiveInfo == nullptr) { in GetTransformFeedbackVarying()
645 webGLActiveInfo->SetActiveName(name, WEBGL_ACTIVE_INFO_NAME_MAX_LENGTH); in GetTransformFeedbackVarying()
646 webGLActiveInfo->SetActiveSize(size); in GetTransformFeedbackVarying()
647 webGLActiveInfo->SetActiveType(type); in GetTransformFeedbackVarying()
H A Dwebgl_rendering_context_base.cpp2394 WebGLActiveInfo* webGLActiveInfo = nullptr; in CreateWebGLActiveInfo() local
2395 napi_value objActiveInfo = WebGLActiveInfo::CreateObjectInstance(env, &webGLActiveInfo).val_; in CreateWebGLActiveInfo()
2396 if (webGLActiveInfo == nullptr) { in CreateWebGLActiveInfo()
2403 webGLActiveInfo->SetActiveName(name, WEBGL_ACTIVE_INFO_NAME_MAX_LENGTH); in CreateWebGLActiveInfo()
2404 webGLActiveInfo->SetActiveType(type); in CreateWebGLActiveInfo()
2405 webGLActiveInfo->SetActiveSize(size); in CreateWebGLActiveInfo()