[Mesa-dev] Create texture2D from NV12

Zong, Wei wei.zong at intel.com
Fri Mar 16 08:10:41 UTC 2018


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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180316/cdd50967/attachment.html>


More information about the mesa-dev mailing list