[Mesa-dev] help: mesa GL_OES_mapbuffer

Ilia Mirkin imirkin at alum.mit.edu
Sun Aug 2 17:59:17 PDT 2015


https://www.khronos.org/registry/gles/extensions/OES/OES_mapbuffer.txt

    This extension adds to the vertex buffer object functionality supported
    by OpenGL ES 1.1 or ES 2.0 by allowing the entire data storage of a
    buffer object to be mapped into the client's address space.

So this only applies to buffer objects (i.e. things created with
glGenBuffers). It should thus work with a buffer later (or earlier)
bound as a PBO (i.e. GL_PIXEL_PACK_BUFFER/GL_PIXEL_UNPACK_BUFFER), but
not with a texture or renderbuffer.

You might be interested in http://docs.gl/es3/glBindBuffer

Hope this helps,

  -ilia

On Sat, Aug 1, 2015 at 9:02 PM, 凶恶的狼 <731116215 at qq.com> wrote:
> it did not work.
>
> off screen rendering might be a walkaround, but would it work for pixel
> buffer surface?
>
>
> thanks.
> hilbert
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>


More information about the mesa-dev mailing list