[Mesa-dev] help:read data out from Pixel buffer surface

InjuredWolf 731116215 at qq.com
Tue Aug 4 19:42:11 PDT 2015

background:having android apps run on X11 on base 
mesa OES lib: libgles1-mesa-dev libgles2-mesa-dev libosmesa6-dev

what to do:
render all surfaces to program memory.

1) glMapBuffer  returns NULL.OES_mapbuffer seemed not work.
though the extension was available.

2) GL_READ_ONLY , GL_PIXEL_PACK_BUFFER were defined in GL/glext.h or GL/glew.h, they were not found in GLES2/gl2.h gl2ext/h
did that mean  it was not suported in libgles2-mesa?

3)if the code was to be ported to Windows, would OSMesa available in windows?

Please advice how to get the pixels  of any surface in RGBA format


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150805/d161d9d4/attachment.html>

More information about the mesa-dev mailing list