glproto: include function definitions for GL_APPLE_sync

Provides a performance improvement on iOS where we were falling back to glFinish
on settting sync points.
This commit is contained in:
Matthew Waters 2015-12-08 16:35:45 +11:00
parent 9cfe04de92
commit 44c5985edd

View file

@ -1,6 +1,6 @@
/* /*
* GStreamer * GStreamer
* Copyright (C) 2014 Matthew Waters <matthew@centricular.com> * Copyright (C) 2014-2015 Matthew Waters <matthew@centricular.com>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public * modify it under the terms of the GNU Library General Public
@ -22,8 +22,8 @@ GST_GL_EXT_BEGIN (sync,
GST_GL_API_OPENGL3, GST_GL_API_OPENGL3,
3, 2, 3, 2,
3, 0, 3, 0,
"", "APPLE",
"") "sync")
GST_GL_EXT_FUNCTION (GLsync, FenceSync, GST_GL_EXT_FUNCTION (GLsync, FenceSync,
(GLenum condition, (GLenum condition,
GLbitfield flags)) GLbitfield flags))