/foundation/multimedia/image_effect/frameworks/native/render_environment/graphic/ |
H A D | render_program.cpp | 23 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 D | render_general_program.cpp | 35 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 D | render_program.h | 43 unsigned int program_;
member in OHOS::Media::Effect::RenderProgram
|
/foundation/graphic/graphic_2d/rosen/modules/effect/effectChain/src/ |
H A D | algo_filter.cpp | 48 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 D | vertical_blur_filter.cpp | 44 weightID_ = glGetUniformLocation(program_->programID_, "weight");
in LoadFilterParams() 45 offsetID_ = glGetUniformLocation(program_->programID_, "offset");
in LoadFilterParams()
|
H A D | horizontal_blur_filter.cpp | 46 weightID_ = glGetUniformLocation(program_->programID_, "weight");
in LoadFilterParams() 47 offsetID_ = glGetUniformLocation(program_->programID_, "offset");
in LoadFilterParams()
|
H A D | saturation_filter.cpp | 37 saturationID_ = glGetUniformLocation(program_->programID_, "saturation");
in LoadFilterParams()
|
H A D | brightness_filter.cpp | 37 brightnessID_ = glGetUniformLocation(program_->programID_, "brightness");
in LoadFilterParams()
|
H A D | contrast_filter.cpp | 37 contrastID_ = glGetUniformLocation(program_->programID_, "contrast");
in LoadFilterParams()
|
/foundation/graphic/graphic_2d/rosen/samples/opengl/test_eglCreateWindowSurface/entry/src/main/cpp/render/ |
H A D | egl_core.cpp | 87 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 D | egl_core.h | 46 GLuint program_ = 0;
member in OHOS::EGLCore
|
/foundation/graphic/graphic_2d/rosen/modules/effect/effectChain/include/ |
H A D | algo_filter.h | 41 std::shared_ptr<Program> program_ = nullptr;
member in OHOS::Rosen::AlgoFilter
|
/foundation/ability/idl_tool/util/ |
H A D | options.h | 177 String program_; member in OHOS::Idl::Options
|
H A D | options.cpp | 28 program_ = argv[0]; in Parse()
|