Home
last modified time | relevance | path

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

/foundation/multimedia/image_effect/frameworks/native/render_environment/graphic/
H A Dgl_utils.cpp41 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 Drender_frame_buffer.cpp28 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 Drender_texture.h66 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 Drender_general_program.cpp35 program_ = GLUtils::CreateProgram(vss_, fss_); in Init()
H A Dgl_utils.h27 class GLUtils { class
/foundation/multimedia/image_effect/frameworks/native/render_environment/
H A Drender_environment.cpp179 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 Drender_opengl_renderer.cpp44 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 Drender_mesh.cpp65 GLUtils::CheckError(__FILE_NAME__, __LINE__); in Bind()
H A Dalgorithm_program.cpp99 GLUtils::CheckError(__FILE_NAME__, __LINE__); in BindTexture()
/foundation/multimedia/image_effect/test/unittest/
H A DTestRenderEnvironment.cpp98 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 Dgpu_brightness_algo.cpp66 GLUtils::DeleteFboOnly(fbo_); in Release()
73 fbo_ = GLUtils::CreateFramebuffer(); in Init()
/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/contrast/
H A Dgpu_contrast_algo.cpp67 GLUtils::DeleteFboOnly(fbo_); in Release()
74 fbo_ = GLUtils::CreateFramebuffer(); in Init()
/foundation/multimedia/image_effect/frameworks/native/effect/pipeline/filters/sink/
H A Dimage_sink_filter.cpp510 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 Dimage_effect_inner.cpp774 int tex = GLUtils::CreateTextureFromSurfaceBuffer(buffer); in ConsumerBufferWithGPU()

Completed in 10 milliseconds