GraphicBuffer memory attached as a texture to FBO not getting updated in IMX6Q?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

GraphicBuffer memory attached as a texture to FBO not getting updated in IMX6Q?

863 Views
abhishekm
Contributor I

I am facing the following issue on IMX6Q(Android 4.3JB):

EGLimage of a GraphicBuffer memory is attached to an OpenGL texture and the texture is attached to an OpenGL FrameBufferObject as a Color Attachment. Render to texture is being used for off-screen rendering.

This approach is being used in order to avoid glreadpixels.

I find that upon using glreadpixels, the rendered frame is being obtained. But, the provided GraphicBuffers are not getting updated at all.

I always get a black image upon dumping the contents of the GraphicBuffers to a file.

I have attached the test code. I am trying to display an image on screen using openGL in the test code.

Any help on this issue would be very valuable.

Labels (3)
0 Kudos
0 Replies