Bitmap Input to eglCreateImageKHR as Graphic Buffer

Hi,

Is there a way to pass bitmap as input to eglCreateImageKHR as Graphic Buffer?
If yes, can someone help me on this?
Any sample code would be useful.

Regards,
shathie

Have you tried with pixmap surface. First create pixmap buffer, copy bitmap data to that buffer using glCopyBuffers() and you can then pass target NativePixmap to eglCreateImageKHR() .
Actually i didn’t try it. Hope it will work.

This article will help:

http://software.intel.com/en-us/articles/using-opengl-es-to-accelerate-apps-with-legacy-2d-guis

Regards, Clay

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