1 /*
2  * GStreamer
3  * Copyright (C) 2012 Matthew Waters <ystreet00@gmail.com>
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Library General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Library General Public License for more details.
14  *
15  * You should have received a copy of the GNU Library General Public
16  * License along with this library; if not, write to the
17  * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
18  * Boston, MA 02110-1301, USA.
19  */
20 /*
21  * Cogl
22  *
23  * An object oriented GL/GLES Abstraction/Utility Layer
24  *
25  * Copyright (C) 2009, 2011 Intel Corporation.
26  *
27  * This library is free software; you can redistribute it and/or
28  * modify it under the terms of the GNU Lesser General Public
29  * License as published by the Free Software Foundation; either
30  * version 2 of the License, or (at your option) any later version.
31  *
32  * This library is distributed in the hope that it will be useful,
33  * but WITHOUT ANY WARRANTY; without even the implied warranty of
34  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
35  * Lesser General Public License for more details.
36  *
37  * You should have received a copy of the GNU Lesser General Public
38  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
39  */
40 
41 /* These are the core GL functions which are only available in big
42    GL */
43 GST_GL_EXT_BEGIN (only_in_big_gl,
44                   GST_GL_API_OPENGL | GST_GL_API_OPENGL3,
45                   1, 0,
46                   255, 255, /* not in GLES */
47                   "\0",
48                   "\0")
49 GST_GL_EXT_FUNCTION (void, GetTexLevelParameteriv,
50                      (GLenum target, GLint level,
51                       GLenum pname, GLint *params))
52 GST_GL_EXT_FUNCTION (void, GetTexImage,
53                      (GLenum target, GLint level,
54                       GLenum format, GLenum type,
55                       GLvoid *pixels))
56 GST_GL_EXT_FUNCTION (void, DepthRange,
57                      (double near_val, double far_val))
58 GST_GL_EXT_FUNCTION (void, DrawBuffer,
59                      (GLenum mode))
60 GST_GL_EXT_FUNCTION (void, ClearDepth,
61                      (double depth))
62 GST_GL_EXT_END ()
63 
64 GST_GL_EXT_BEGIN (only_in_big_gl_compat,
65                   GST_GL_API_OPENGL,
66                   1, 0,
67                   255, 255, /* not in GLES */
68                   "\0",
69                   "\0")
70 GST_GL_EXT_FUNCTION (void, ClipPlane,
71                      (GLenum plane, const double *equation))
72 GST_GL_EXT_END ()
73