This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

glReadPixels

Note: This was originally posted on 9th March 2012 at http://forums.arm.com

Hi all,

i try to render scene in an off screen  way, controlling the location of my pixels (the pointer is fixed by myself).
It seems that MALI400 is not supporting eglCreatePixmapSurface, interface that would allows me to create a  surface that will use pixels in the location i want.

As it is not working i have to use the API glReadPixels which is very very slow (compare to other GPU).

So i'm wondering if there is a reason for such bad perf for ReadPixels and if someone knows a way with MALI to render a scene at place (pixel buffer address) you want.

Thanks for your help.

BR

Seb
Parents
  • Note: This was originally posted on 13th June 2012 at http://forums.arm.com

    Hi Pete,
    Thanks for your timely reply.

    We have following enviroment:

    1) OMX HW decoder

    Graphic buffer in decoder is dequeued from one Anativewindows. The Anativewindows is get from one surfaceview.

    2) Opengl or es render

    set in another GLsurfaceview.

    3) After HW decoding, we can get NV12 format decoded result.Can we use one graphicBuffer from decoder to produce one  EGLImageKHR by using eglCreateImageKHR function, and then bind it to surface, if the graphicBuffer is not new from surface of render?

    thx.

    regards,

    guangx

Reply
  • Note: This was originally posted on 13th June 2012 at http://forums.arm.com

    Hi Pete,
    Thanks for your timely reply.

    We have following enviroment:

    1) OMX HW decoder

    Graphic buffer in decoder is dequeued from one Anativewindows. The Anativewindows is get from one surfaceview.

    2) Opengl or es render

    set in another GLsurfaceview.

    3) After HW decoding, we can get NV12 format decoded result.Can we use one graphicBuffer from decoder to produce one  EGLImageKHR by using eglCreateImageKHR function, and then bind it to surface, if the graphicBuffer is not new from surface of render?

    thx.

    regards,

    guangx

Children
No data