Home
last modified time | relevance | path

Searched refs:shaderType (Results 1 - 6 of 6) sorted by relevance

/foundation/multimedia/image_effect/frameworks/native/render_environment/graphic/
H A Dgl_utils.h41 static unsigned int LoadShader(const std::string &src, unsigned int shaderType);
H A Dgl_utils.cpp143 unsigned int GLUtils::LoadShader(const std::string &src, unsigned int shaderType) in LoadShader() argument
146 unsigned int shader = glCreateShader(shaderType); in LoadShader()
/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/test/
H A Dopengl_wrapper_native_test.cpp85 static GLuint CreateShader(const char *source, GLenum shaderType) in CreateShader() argument
90 shader = glCreateShader(shaderType); in CreateShader()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_rendering_context_base_impl.cpp675 napi_env env, GLenum shaderType, GLenum precisionType) in GetShaderPrecisionFormat()
677 LOGD("WebGL getShaderPrecisionFormat shaderType %{public}u precisionType %{public}u", shaderType, precisionType); in GetShaderPrecisionFormat()
679 if (!CheckShaderType(env, shaderType, index)) { in GetShaderPrecisionFormat()
694 LOGE("WebGL getShaderPrecisionFormat fail oshaderType %{public}u", shaderType); in GetShaderPrecisionFormat()
700 glGetShaderPrecisionFormat(shaderType, precisionType, range, &precision); in GetShaderPrecisionFormat()
674 GetShaderPrecisionFormat( napi_env env, GLenum shaderType, GLenum precisionType) GetShaderPrecisionFormat() argument
H A Dwebgl_rendering_context_base.cpp2738 GLenum shaderType = 0; in GetShaderPrecisionFormat() local
2739 tie(succ, shaderType) = NVal(env, funcArg[NARG_POS::FIRST]).ToGLenum(); in GetShaderPrecisionFormat()
2743 LOGD("WebGL getShaderPrecisionFormat shaderType %{public}u", shaderType); in GetShaderPrecisionFormat()
2751 context->GetWebGLRenderingContextImpl().GetShaderPrecisionFormat(env, shaderType, precisionType); in GetShaderPrecisionFormat()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/context/
H A Dwebgl_rendering_context_base_impl.h176 napi_value GetShaderPrecisionFormat(napi_env env, GLenum shaderType, GLenum precisionType);

Completed in 12 milliseconds