mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +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
|
||||
#define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117
|
||||
#endif
|
||||
|
||||
#ifndef GL_SYNC_FLUSH_COMMANDS_BIT
|
||||
#define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001
|
||||
#endif
|
||||
#ifndef GL_TIMEOUT_EXPIRED
|
||||
#define GL_TIMEOUT_EXPIRED 0x911B
|
||||
#endif
|
||||
|
||||
GstGLSyncMeta *
|
||||
gst_buffer_add_gl_sync_meta (GstGLContext * context, GstBuffer * buffer)
|
||||
|
|
Loading…
Reference in a new issue