Home
last modified time | relevance | path

Searched refs:textureTarget (Results 1 - 7 of 7) sorted by relevance

/foundation/graphic/graphic_2d/interfaces/inner_api/surface/
H A Dnative_image.h83 * @param textureTarget Indicates the Opengl ES target.
89 OH_NativeImage* OH_NativeImage_Create(uint32_t textureId, uint32_t textureTarget);
/foundation/graphic/graphic_2d/frameworks/surfaceimage/src/
H A Dnative_image.cpp31 OH_NativeImage* OH_NativeImage_Create(uint32_t textureId, uint32_t textureTarget) in OH_NativeImage_Create() argument
33 OHOS::sptr<OHOS::SurfaceImage> surfaceImage = new SurfaceImage(textureId, textureTarget); in OH_NativeImage_Create()
H A Dsurface_image.cpp46 SurfaceImage::SurfaceImage(uint32_t textureId, uint32_t textureTarget) in SurfaceImage() argument
49 textureTarget_(textureTarget), in SurfaceImage()
161 BLOGE("glBindTexture failed, textureTarget:%{public}d, textureId_:%{public}d, error:%{public}d," in AttachContext()
168 BLOGE("glEGLImageTargetTexture2DOES failed, textureTarget:%{public}d, error:%{public}d" in AttachContext()
192 BLOGE("glBindTexture failed, textureTarget:%{public}d, textureId:%{public}d, error:%{public}d" in DetachContext()
340 BLOGE("glBindTexture failed, textureTarget:%{public}d, textureId_:%{public}d, error:%{public}d" in UpdateEGLImageAndTexture()
348 BLOGE("glEGLImageTargetTexture2DOES failed, textureTarget:%{public}d, error:%{public}d" in UpdateEGLImageAndTexture()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_framebuffer.cpp101 bool WebGLFramebuffer::AddAttachment(GLenum target, GLenum attachment, GLuint id, GLenum textureTarget, GLint level) in AddAttachment() argument
108 attachment, id, textureTarget, level); in AddAttachment()
114 attachmentObject->target = textureTarget; in AddAttachment()
H A Dwebgl_rendering_context_base_impl.cpp879 napi_env env, GLenum target, GLenum attachment, GLenum textureTarget, napi_value texture, GLint level) in FrameBufferTexture2D()
881 LOGD("WebGL framebufferTexture2D target %{public}u %{public}u %{public}u", target, attachment, textureTarget); in FrameBufferTexture2D()
887 if (CheckTextureLevel(textureTarget, level)) { in FrameBufferTexture2D()
895 if (!CheckTexture2DTarget(env, textureTarget)) { in FrameBufferTexture2D()
896 SET_ERROR_WITH_LOG(WebGLRenderingContextBase::INVALID_ENUM, "invalid textureTarget"); in FrameBufferTexture2D()
910 frameBuffer->AddAttachment(target, attachment, static_cast<GLuint>(textureId), textureTarget, level); in FrameBufferTexture2D()
913 glFramebufferTexture2D(target, GL_DEPTH_ATTACHMENT, textureTarget, static_cast<GLuint>(textureId), level); in FrameBufferTexture2D()
914 glFramebufferTexture2D(target, GL_STENCIL_ATTACHMENT, textureTarget, static_cast<GLuint>(textureId), level); in FrameBufferTexture2D()
916 glFramebufferTexture2D(target, attachment, textureTarget, static_cast<GLuint>(textureId), level); in FrameBufferTexture2D()
878 FrameBufferTexture2D( napi_env env, GLenum target, GLenum attachment, GLenum textureTarget, napi_value texture, GLint level) FrameBufferTexture2D() argument
/foundation/graphic/graphic_2d/frameworks/surfaceimage/include/
H A Dsurface_image.h44 SurfaceImage(uint32_t textureId, uint32_t textureTarget = GL_TEXTURE_EXTERNAL_OES);
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/webgl/
H A Dwebgl_framebuffer.h115 bool AddAttachment(GLenum target, GLenum attachment, GLuint id, GLenum textureTarget, GLint level);

Completed in 8 milliseconds