Home
last modified time | relevance | path

Searched refs:program_ (Results 1 - 14 of 14) sorted by relevance

/foundation/multimedia/image_effect/frameworks/native/render_environment/graphic/
H A Drender_program.cpp23 RenderProgram::RenderProgram(RenderContext *context) : program_(0), context_(context) {} in RenderProgram()
27 CHECK_AND_RETURN_LOG(program_ != 0, "RenderProgram SetUniform failed!, name=%{public}s, program=%{public}d", in SetUniform()
28 name.c_str(), program_); in SetUniform()
29 GLint location = glGetUniformLocation(program_, name.c_str()); in SetUniform()
36 CHECK_AND_RETURN_LOG(program_ != 0, "RenderProgram SetUniform failed!, name=%{public}s, program=%{public}d", in SetUniform()
37 name.c_str(), program_); in SetUniform()
38 GLint location = glGetUniformLocation(program_, name.c_str()); in SetUniform()
45 CHECK_AND_RETURN_LOG(program_ != 0, "RenderProgram SetUniform failed!, name=%{public}s, program=%{public}d", in SetUniform()
46 name.c_str(), program_); in SetUniform()
47 GLint location = glGetUniformLocation(program_, nam in SetUniform()
[all...]
H A Drender_general_program.cpp35 program_ = GLUtils::CreateProgram(vss_, fss_); in Init()
37 return program_ <= 0 ? false : true; in Init()
43 glDeleteProgram(program_); in Release()
44 program_ = 0; in Release()
H A Drender_program.h43 unsigned int program_; member in OHOS::Media::Effect::RenderProgram
/foundation/graphic/graphic_2d/rosen/modules/effect/effectChain/src/
H A Dalgo_filter.cpp48 program_ = std::make_shared<Program>(); in CreateProgram()
49 program_->Compile(vertexString, fragmentString); in CreateProgram()
54 if (program_ == nullptr) { in Use()
58 program_->UseProgram(); in Use()
H A Dvertical_blur_filter.cpp44 weightID_ = glGetUniformLocation(program_->programID_, "weight"); in LoadFilterParams()
45 offsetID_ = glGetUniformLocation(program_->programID_, "offset"); in LoadFilterParams()
H A Dhorizontal_blur_filter.cpp46 weightID_ = glGetUniformLocation(program_->programID_, "weight"); in LoadFilterParams()
47 offsetID_ = glGetUniformLocation(program_->programID_, "offset"); in LoadFilterParams()
H A Dsaturation_filter.cpp37 saturationID_ = glGetUniformLocation(program_->programID_, "saturation"); in LoadFilterParams()
H A Dbrightness_filter.cpp37 brightnessID_ = glGetUniformLocation(program_->programID_, "brightness"); in LoadFilterParams()
H A Dcontrast_filter.cpp37 contrastID_ = glGetUniformLocation(program_->programID_, "contrast"); in LoadFilterParams()
/foundation/graphic/graphic_2d/rosen/samples/opengl/test_eglCreateWindowSurface/entry/src/main/cpp/render/
H A Degl_core.cpp87 program_ = CreateProgram(VERTEX_SHADER, FRAGMENT_SHADER); in CreateEnvironment()
88 if (program_ == PROGRAM_ERROR) { in CreateEnvironment()
241 glUseProgram(program_); in PrepareDraw()
243 return glGetAttribLocation(program_, "a_position"); in PrepareDraw()
H A Degl_core.h46 GLuint program_ = 0; member in OHOS::EGLCore
/foundation/graphic/graphic_2d/rosen/modules/effect/effectChain/include/
H A Dalgo_filter.h41 std::shared_ptr<Program> program_ = nullptr; member in OHOS::Rosen::AlgoFilter
/foundation/ability/idl_tool/util/
H A Doptions.h177 String program_; member in OHOS::Idl::Options
H A Doptions.cpp28 program_ = argv[0]; in Parse()

Completed in 4 milliseconds