[Mesa-dev] Create texture2D from NV12
Marek Olšák
maraeo at gmail.com
Tue Mar 20 01:41:58 UTC 2018
The only way is to use GL_OES_EGL_image_external to load an NV12 image.
kmscube does that.
Marek
On Fri, Mar 16, 2018 at 4:10 AM, Zong, Wei <wei.zong at intel.com> wrote:
> Hello,
>
> May I ask a question? I got a NV12 image buffer and I want to render it
> with OpenGL. I know a method to do this is to bind Y/UV planes as two
> separate textures, then perform YUV to RGB conversion in fragment shader.
>
> But I want to know if Mesa provide APIs to create and bind a texture 2D
> image with NV12 format directly?
>
> Thanks,
> Zong Wei
>
>
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180319/a43217e4/attachment.html>
More information about the mesa-dev
mailing list