Load image via egl in Android native code

I have an image decoded into an array of pixel data.I need to render the image via EGL in android native code.Can somebody provide me a good example? I tried using glTexImage2D.But I get only a black screen.

Have a look at SurfaceView.cpp in google source. They use it with GL_TEXTURE_EXTERNAL_OES.

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