summaryrefslogtreecommitdiff
path: root/gst-libs/gst/gl/glprototypes/gles1opengl.h
blob: ad6230d5bcfec34fdd6fdf2c35da9e73312a0eb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
/*
 * GStreamer
 * Copyright (C) 2012 Matthew Waters <ystreet00@gmail.com>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
 * Boston, MA 02110-1301, USA.
 */
/*
 * Cogl
 *
 * An object oriented GL/GLES Abstraction/Utility Layer
 *
 * Copyright (C) 2009, 2011 Intel Corporation.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
 */

GST_GL_EXT_BEGIN (multitexture_part1, 1, 3,
                  GST_GL_API_GLES1,
                  "ARB\0",
                  "multitexture\0")
GST_GL_EXT_FUNCTION (void, ClientActiveTexture,
                     (GLenum                texture))
GST_GL_EXT_END ()

/* These are the core GL functions which are available when the API
   supports fixed-function (ie, GL and GLES1.1) */
GST_GL_EXT_BEGIN (fixed_function_core,
                  0, 0,
                  GST_GL_API_GLES1,
                  "\0",
                  "\0")
GST_GL_EXT_FUNCTION (void, AlphaFunc,
                     (GLenum func, GLclampf ref))
GST_GL_EXT_FUNCTION (void, Fogf,
                     (GLenum pname, GLfloat param))
GST_GL_EXT_FUNCTION (void, Fogfv,
                     (GLenum pname, const GLfloat *params))
GST_GL_EXT_FUNCTION (void, LoadMatrixf,
                     (const GLfloat *m))
GST_GL_EXT_FUNCTION (void, Materialfv,
                     (GLenum face, GLenum pname, const GLfloat *params))
GST_GL_EXT_FUNCTION (void, PointSize,
                     (GLfloat size))
GST_GL_EXT_FUNCTION (void, TexEnvfv,
                     (GLenum target, GLenum pname, const GLfloat *params))
GST_GL_EXT_FUNCTION (void, Color4ub,
                     (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha))
GST_GL_EXT_FUNCTION (void, ColorPointer,
                     (GLint size,
                      GLenum type,
                      GLsizei stride,
                      const GLvoid *pointer))
GST_GL_EXT_FUNCTION (void, DisableClientState,
                     (GLenum array))
GST_GL_EXT_FUNCTION (void, EnableClientState,
                     (GLenum array))
GST_GL_EXT_FUNCTION (void, LoadIdentity,
                     (void))
GST_GL_EXT_FUNCTION (void, MatrixMode,
                     (GLenum mode))
GST_GL_EXT_FUNCTION (void, NormalPointer,
                     (GLenum type, GLsizei stride, const GLvoid *pointer))
GST_GL_EXT_FUNCTION (void, TexCoordPointer,
                     (GLint size,
                      GLenum type,
                      GLsizei stride,
                      const GLvoid *pointer))
GST_GL_EXT_FUNCTION (void, TexEnvi,
                     (GLenum target,
                      GLenum pname,
                      GLint param))
GST_GL_EXT_FUNCTION (void, VertexPointer,
                     (GLint size,
                      GLenum type,
                      GLsizei stride,
                      const GLvoid *pointer))
GST_GL_EXT_FUNCTION (void, PushMatrix,
                     (void))
GST_GL_EXT_FUNCTION (void, PopMatrix,
                     (void))
GST_GL_EXT_END ()