glTexImage2D() slowing down performance on android

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

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.