Home
last modified time | relevance | path

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

/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_shader_precision_format.cpp89 …unique_ptr<WebGLShaderPrecisionFormat> webGLShaderPrecisionFormat = make_unique<WebGLShaderPrecisi… in Constructor() local
91 env, funcArg.GetThisVar(), move(webGLShaderPrecisionFormat))) { in Constructor()
H A Dwebgl_rendering_context_base_impl.cpp690 WebGLShaderPrecisionFormat* webGLShaderPrecisionFormat = nullptr; in GetShaderPrecisionFormat() local
692 WebGLShaderPrecisionFormat::CreateObjectInstance(env, &webGLShaderPrecisionFormat).val_; in GetShaderPrecisionFormat()
693 if (webGLShaderPrecisionFormat == nullptr) { in GetShaderPrecisionFormat()
702 webGLShaderPrecisionFormat->SetShaderPrecisionFormatRangeMin(range[0]); in GetShaderPrecisionFormat()
703 webGLShaderPrecisionFormat->SetShaderPrecisionFormatRangeMax(range[1]); in GetShaderPrecisionFormat()
704 webGLShaderPrecisionFormat->SetShaderPrecisionFormatPrecision(precision); in GetShaderPrecisionFormat()