Home
last modified time | relevance | path

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

/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_rendering_context_basic_base.cpp165 …string highPerformance = GetContextAttr(vec[i], "powerPreference", 18, 16); // 18 16 powerPreferen… in SetWebGLContextAttributes() local
166 if (highPerformance == "high-performance") { in SetWebGLContextAttributes()
167 webGlContextAttributes_->powerPreference_ = highPerformance; in SetWebGLContextAttributes()