IMX OpenGL shader issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX OpenGL shader issue

571 Views
xw108
Contributor I

We are integrating a post processing plugin based on codec2 in IMX8 using OpenGL. In OpenGL shader we need to sample the texture in YUV. In other platform we are achieving this with the help of "GL_EXT_YUV_target" extension.

In IMX8 it is showing "GL_EXT_YUV_target" is not supported. so the shader will internally convert YUV to RGB and we can sample only in RGB. is this correct? If so, in IMX8 do we have a mechanism to sample the texture in YUV itself?

1 Reply

545 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport
Hi @xw108 ,
 
I hope you are doing well.
 
GL_EXT_YUV_target extension is not supported by i.MX8 GPU.
It can only render RGB data.
 
One can refer to 16.4.1.2.7 Fragment Processing and Render Targets in i.MX 8QuadMax Applications Processor Reference Manual for more information.
 
Please refer to i.MX Graphics User's Guide for openGL documentation in i.MX.
 
Thanks & Regards,
Sanket Parekh
0 Kudos
Reply