mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
glprototypes: add some (un)map buffer variants for GL/GLES
This commit is contained in:
parent
2833e8c63a
commit
230d19e172
1 changed files with 11 additions and 1 deletions
|
@ -298,6 +298,14 @@ GST_GL_EXT_BEGIN (map_vbos,
|
|||
GST_GL_EXT_FUNCTION (void *, MapBuffer,
|
||||
(GLenum target,
|
||||
GLenum access))
|
||||
GST_GL_EXT_END ()
|
||||
|
||||
GST_GL_EXT_BEGIN (unmap_buffer,
|
||||
GST_GL_API_OPENGL | GST_GL_API_OPENGL3 | GST_GL_API_GLES2,
|
||||
1, 5,
|
||||
3, 0,
|
||||
"ARB\0OES\0",
|
||||
"vertex_buffer_object\0mapbuffer\0")
|
||||
GST_GL_EXT_FUNCTION (GLboolean, UnmapBuffer,
|
||||
(GLenum target))
|
||||
GST_GL_EXT_END ()
|
||||
|
@ -305,10 +313,12 @@ GST_GL_EXT_END ()
|
|||
GST_GL_EXT_BEGIN (gl3,
|
||||
GST_GL_API_OPENGL | GST_GL_API_OPENGL3 |
|
||||
GST_GL_API_GLES2,
|
||||
3, 1,
|
||||
3, 0,
|
||||
3, 0,
|
||||
"\0",
|
||||
"\0")
|
||||
GST_GL_EXT_FUNCTION (const GLubyte*, GetStringi,
|
||||
(GLenum name, GLint index))
|
||||
GST_GL_EXT_FUNCTION (void *, MapBufferRange,
|
||||
(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access))
|
||||
GST_GL_EXT_END ()
|
||||
|
|
Loading…
Reference in a new issue