mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-09 05:11:53 +00:00
glsyncmeta: add compat definition for gles2
This commit is contained in:
parent
e36c27cd46
commit
21e95ef9fd
1 changed files with 3 additions and 1 deletions
|
@ -31,10 +31,12 @@ GST_DEBUG_CATEGORY (GST_CAT_DEFAULT);
|
||||||
#ifndef GL_SYNC_GPU_COMMANDS_COMPLETE
|
#ifndef GL_SYNC_GPU_COMMANDS_COMPLETE
|
||||||
#define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117
|
#define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef GL_SYNC_FLUSH_COMMANDS_BIT
|
#ifndef GL_SYNC_FLUSH_COMMANDS_BIT
|
||||||
#define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001
|
#define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef GL_TIMEOUT_EXPIRED
|
||||||
|
#define GL_TIMEOUT_EXPIRED 0x911B
|
||||||
|
#endif
|
||||||
|
|
||||||
GstGLSyncMeta *
|
GstGLSyncMeta *
|
||||||
gst_buffer_add_gl_sync_meta (GstGLContext * context, GstBuffer * buffer)
|
gst_buffer_add_gl_sync_meta (GstGLContext * context, GstBuffer * buffer)
|
||||||
|
|
Loading…
Reference in a new issue