I have a OpenGL ES 2.0 QNX application that uses camera input, makes some processing and renders something to screen.
All my shaders take GL_TEXTURE_EXTERNAL_OES texture from the camera as input and it's format is YUV422.
I want to test my application on the target platform (QNX) using RGB images in png format.
The question is: how can I create GL_TEXTURE_EXTERNAL_OES texture from RGB image to emulate the input from the camera for my application?