Home
last modified time | relevance | path

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

/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_query.cpp32 unique_ptr<WebGLQuery> webGlQuery = make_unique<WebGLQuery>(); in Constructor() local
33 if (!NClass::SetEntityFor<WebGLQuery>(env, funcArg.GetThisVar(), move(webGlQuery))) { in Constructor()
H A Dwebgl2_rendering_context_impl.cpp60 WebGLQuery* webGlQuery = nullptr; in CreateQuery() local
62 if (webGlQuery == nullptr) { in CreateQuery()
68 webGlQuery->SetQuery(queryId); in CreateQuery()
78 if (webGlQuery == nullptr) { in DeleteQuery()
81 queryId = webGlQuery->GetQuery(); in DeleteQuery()
100 if (webGlQuery == nullptr) { in IsQuery()
103 queryId = webGlQuery->GetQuery(); in IsQuery()
135 if (webGlQuery == nullptr) { in BeginQuery()
141 if (webGlQuery->GetTarget() && webGlQuery->GetTarget() != target) { in BeginQuery()
158 webGlQuery->SetTarget(target); in BeginQuery()
[all …]