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.
problems:
1) glMapBuffer returns NULL.OES_mapbuffer seemed not work.
though the extension was available.
2) GL_READ_ONLY ,
the original code worked because it was called after
result = eglMakeCurrent(display, surface, surface, context);
I wanted to use OSMesa.
After I changed the call to OSMesaMakeCurrent.glGetString() returned NULL.
Please advise.
thanks
h___