Blame gst-libs/gst/gl/glprototypes/sync.h

Packit 971217
/*
Packit 971217
 * GStreamer
Packit 971217
 * Copyright (C) 2014-2015 Matthew Waters <matthew@centricular.com>
Packit 971217
 *
Packit 971217
 * This library is free software; you can redistribute it and/or
Packit 971217
 * modify it under the terms of the GNU Library General Public
Packit 971217
 * License as published by the Free Software Foundation; either
Packit 971217
 * version 2 of the License, or (at your option) any later version.
Packit 971217
 *
Packit 971217
 * This library is distributed in the hope that it will be useful,
Packit 971217
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 971217
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 971217
 * Library General Public License for more details.
Packit 971217
 *
Packit 971217
 * You should have received a copy of the GNU Library General Public
Packit 971217
 * License along with this library; if not, write to the
Packit 971217
 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Packit 971217
 * Boston, MA 02110-1301, USA.
Packit 971217
 */
Packit 971217
Packit 971217
GST_GL_EXT_BEGIN (sync,
Packit 971217
                  GST_GL_API_OPENGL3 | GST_GL_API_GLES2,
Packit 971217
                  3, 2,
Packit 971217
                  3, 0,
Packit 971217
                  "APPLE\0",
Packit 971217
                  "sync\0")
Packit 971217
GST_GL_EXT_FUNCTION (GLsync, FenceSync,
Packit 971217
                     (GLenum condition,
Packit 971217
                      GLbitfield flags))
Packit 971217
GST_GL_EXT_FUNCTION (GLboolean, IsSync,
Packit 971217
                     (GLsync sync))
Packit 971217
GST_GL_EXT_FUNCTION (void, DeleteSync,
Packit 971217
                     (GLsync sync))
Packit 971217
GST_GL_EXT_FUNCTION (GLenum, ClientWaitSync,
Packit 971217
                     (GLsync sync,
Packit 971217
                      GLbitfield flags,
Packit 971217
                      GLuint64 timeout))
Packit 971217
GST_GL_EXT_FUNCTION (void, WaitSync,
Packit 971217
                     (GLsync sync,
Packit 971217
                      GLbitfield flags,
Packit 971217
                      GLuint64 timeout))
Packit 971217
GST_GL_EXT_FUNCTION (void, GetSynciv,
Packit 971217
                     (GLsync sync,
Packit 971217
                      GLenum flags,
Packit 971217
                      GLuint64 timeout))
Packit 971217
GST_GL_EXT_END ()