Searched refs:shaderType (Results 1 - 6 of 6) sorted by relevance
/foundation/multimedia/image_effect/frameworks/native/render_environment/graphic/ |
H A D | gl_utils.h | 41 static unsigned int LoadShader(const std::string &src, unsigned int shaderType);
|
H A D | gl_utils.cpp | 143 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 D | opengl_wrapper_native_test.cpp | 85 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 D | webgl_rendering_context_base_impl.cpp | 675 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 D | webgl_rendering_context_base.cpp | 2738 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 D | webgl_rendering_context_base_impl.h | 176 napi_value GetShaderPrecisionFormat(napi_env env, GLenum shaderType, GLenum precisionType);
|
Completed in 12 milliseconds