4f08e3cf6e
GLES has an extension called GL_OES_mapbuffer to support mapping buffer objects but only for writing. Cogl now has two new feature flags to advertise whether mapping for reading and writing is supported. Under OpenGL, these features are always set if the VBO extension is advertised and under GLES only the write flag is set if the GL_OES_mapbuffer extension is advertised. |
||
---|---|---|
.. | ||
cogl-context-driver-gl.c | ||
cogl-context-driver-gl.h | ||
cogl-feature-functions-gl.h | ||
cogl-gl.c | ||
cogl-texture-driver-gl.c |