/foundation/multimedia/image_effect/frameworks/native/render_environment/graphic/ |
H A D | gl_utils.cpp | 41 GLuint GLUtils::CreateTexture2D(GLsizei width, GLsizei height, GLsizei levels, GLenum internalFormat, GLint minFilter,
in CreateTexture2D() 57 unsigned int GLUtils::CreateFramebuffer(unsigned int textureId)
in CreateFramebuffer() 69 unsigned int GLUtils::CreateFramebufferWithTarget(unsigned int textureId, GLenum target)
in CreateFramebufferWithTarget() 81 void GLUtils::DeleteFboOnly(unsigned int fbo)
in DeleteFboOnly() 86 void GLUtils::DeleteTexture(unsigned int textureId)
in DeleteTexture() 94 GLuint GLUtils::CreateTexWithStorage(GLenum target, int levels, GLenum internalFormat,
in CreateTexWithStorage() 109 void GLUtils::CheckError(const char *file, int line)
in CheckError() 117 size_t GLUtils::GetInternalFormatPixelByteSize(GLenum internalFormat)
in GetInternalFormatPixelByteSize() 143 unsigned int GLUtils::LoadShader(const std::string &src, unsigned int shaderType)
in LoadShader() 165 unsigned int GLUtils [all...] |
H A D | render_frame_buffer.cpp | 28 fboId_ = GLUtils::CreateFramebuffer(texture_->GetName());
in RenderFrameBuffer() 29 GLUtils::CheckError(__FILE_NAME__, __LINE__);
in RenderFrameBuffer() 35 GLUtils::DeleteFboOnly(fboId_);
in ~RenderFrameBuffer() 48 GLUtils::CheckError(__FILE_NAME__, __LINE__);
in Resize()
|
H A D | render_texture.h | 66 name_ = GLUtils::CreateTexture2D(width_, height_, 1, internalFormat_, GL_LINEAR, GL_LINEAR,
75 GLUtils::DeleteTexture(name_);
97 return (width * height * GLUtils::GetInternalFormatPixelByteSize(tex->Format()));
in operator ()()
|
H A D | render_general_program.cpp | 35 program_ = GLUtils::CreateProgram(vss_, fss_);
in Init()
|
H A D | gl_utils.h | 27 class GLUtils {
class
|
/foundation/multimedia/image_effect/frameworks/native/render_environment/ |
H A D | render_environment.cpp | 179 GLuint tempFbo = GLUtils::CreateFramebuffer(output->GetName());
in DrawFlipTex() 182 GLUtils::DeleteFboOnly(tempFbo);
in DrawFlipTex() 233 GLuint tempFbo = GLUtils::CreateFramebuffer(renderTex->GetName());
in DrawBufferToTexture() 243 GLUtils::DeleteTexture(tex);
in DrawBufferToTexture() 244 GLUtils::DeleteFboOnly(tempFbo);
in DrawBufferToTexture() 281 GLuint tex = GLUtils::CreateTexWithStorage(GL_TEXTURE_2D, 1, GL_RGB, width, height);
in ConvertFromYUVToRGB() 362 GLUtils::CheckError(__FILE_NAME__, __LINE__);
in DrawFrameWithTransform() 387 GLUtils::CheckError(__FILE_NAME__, __LINE__);
in DrawFrame() 404 GLUtils::CheckError(__FILE_NAME__, __LINE__);
in ConvertTextureToBuffer() 417 EGLImageKHR img = GLUtils in ConvertYUV2RGBA() [all...] |
/foundation/multimedia/image_effect/frameworks/native/render_environment/core/ |
H A D | render_opengl_renderer.cpp | 44 GLUtils::CheckError(__FILE_NAME__, __LINE__);
in Draw() 62 GLUtils::CheckError(__FILE_NAME__, __LINE__);
in Draw() 127 GLUtils::CheckError(__FILE_NAME__, __LINE__);
in DrawOnScreenWithTransform() 142 GLUtils::CheckError(__FILE_NAME__, __LINE__);
in DrawOnScreen()
|
H A D | render_mesh.cpp | 65 GLUtils::CheckError(__FILE_NAME__, __LINE__);
in Bind()
|
H A D | algorithm_program.cpp | 99 GLUtils::CheckError(__FILE_NAME__, __LINE__);
in BindTexture()
|
/foundation/multimedia/image_effect/test/unittest/ |
H A D | TestRenderEnvironment.cpp | 98 size_t ret = GLUtils::GetInternalFormatPixelByteSize(internalFormat); in HWTEST_F() 102 ret = GLUtils::GetInternalFormatPixelByteSize(internalFormat); in HWTEST_F() 106 ret = GLUtils::GetInternalFormatPixelByteSize(internalFormat); in HWTEST_F() 110 ret = GLUtils::GetInternalFormatPixelByteSize(internalFormat); in HWTEST_F() 114 ret = GLUtils::GetInternalFormatPixelByteSize(internalFormat); in HWTEST_F()
|
/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/brightness/ |
H A D | gpu_brightness_algo.cpp | 66 GLUtils::DeleteFboOnly(fbo_); in Release() 73 fbo_ = GLUtils::CreateFramebuffer(); in Init()
|
/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/contrast/ |
H A D | gpu_contrast_algo.cpp | 67 GLUtils::DeleteFboOnly(fbo_); in Release() 74 fbo_ = GLUtils::CreateFramebuffer(); in Init()
|
/foundation/multimedia/image_effect/frameworks/native/effect/pipeline/filters/sink/ |
H A D | image_sink_filter.cpp | 510 EGLImageKHR img = GLUtils::CreateEGLImage(eglGetDisplay(EGL_DEFAULT_DISPLAY), in PushData() 512 GLuint tex = GLUtils::CreateTextureFromImage(img); in PushData() 517 GLUtils::DestroyImage(img); in PushData()
|
/foundation/multimedia/image_effect/frameworks/native/effect/base/ |
H A D | image_effect_inner.cpp | 774 int tex = GLUtils::CreateTextureFromSurfaceBuffer(buffer); in ConsumerBufferWithGPU()
|