Hi All,
I am new to opengl ES coding. I have written a sample code to convert yuv to rgb and display it.
Code is working fine but perfomance is very bad.I have written vertex shadder and framgement shadder for color conversion.
glTexImage2D() is taking total 54ms to load texture (Y, U & V data).
eglswapbuffer and glDrawElements is also taking around 20 ms.
OS: android
GPU: AMD z430
System platform: Imx51
Note:
I am getting print from eglCreateWindowSurface & eglCreateContext
“Color formats don’t match. Falling back to copy forward swap.”
“Color formats don’t match. Falling back to copy forward swap.”
Is it something color format mismatch is causing all this performace problem?
kindly let me know your views.
Thanks in Advance.
Regards,
Niral