Open shutaozhenzhen opened 1 month ago
OES_EGL_image_external defines the TEXTURE_EXTERNAL_OES
texture target. Any EGLImage
can be bound to this target. See the EGL image extensions for which those which let you create an RGB or RGBA EGLImage, e.g. EGL_KHR_gl_image.
OES_EGL_image_external defines the
TEXTURE_EXTERNAL_OES
texture target. AnyEGLImage
can be bound to this target. See the EGL image extensions for which those which let you create an RGB or RGBA EGLImage, e.g. EGL_KHR_gl_image.
yes, but it seems they are defined as sampler. Framebuffer do not contain in them
@stonesthrow Maybe you want to comment here?
GL_EXT_YUV_target - talks about rendering (only YUV), but also sampling details.
GL_OES_EGL_image_external - talks about making EGLImage into texture TEXTURE_2D and TEXTURE_EXTERNAL. But only discusses sampling.
TEXTURE_2D already enables RGBA rendering image_external allows for new formats (RGBA and YUV) of EGLImages to texture - sampling. YUV_target is newer and builds on the image_external to allow for a mechanism for YUV rendering.
In
EXT_YUV_target
, it says:So which extension allow TEXTURE_EXTERNAL_OES target with RGB(and RGBA) color format as the render target? I searched the project, can not find infomation.
I'm now work in Mali G52 with
EXT_YUV_target
andEGL_EXT_image_dma_buf_import.txt
, which allow external texture like RA24, and allow bind to framebuffer, write by glClear or shader. But I can not find which extension allow this. OnlyEXT_YUV_target
allow bind TEXTURE_EXTERNAL_OES to framebuffer, but do not allow RGB.Is it better to provide another extension to ensure this operation?