|
Packit |
971217 |
/*
|
|
Packit |
971217 |
* GStreamer
|
|
Packit |
971217 |
* Copyright (C) 2012 Matthew Waters <ystreet00@gmail.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 |
* Cogl
|
|
Packit |
971217 |
*
|
|
Packit |
971217 |
* An object oriented GL/GLES Abstraction/Utility Layer
|
|
Packit |
971217 |
*
|
|
Packit |
971217 |
* Copyright (C) 2009, 2011 Intel Corporation.
|
|
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 Lesser 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 |
* Lesser General Public License for more details.
|
|
Packit |
971217 |
*
|
|
Packit |
971217 |
* You should have received a copy of the GNU Lesser General Public
|
|
Packit |
971217 |
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
Packit |
971217 |
*/
|
|
Packit |
971217 |
|
|
Packit |
971217 |
GST_GL_EXT_BEGIN (only_in_both_gles,
|
|
Packit |
971217 |
GST_GL_API_GLES1 |
|
|
Packit |
971217 |
GST_GL_API_GLES2,
|
|
Packit |
971217 |
255, 255,
|
|
Packit |
971217 |
1, 0,
|
|
Packit |
971217 |
"\0",
|
|
Packit |
971217 |
"\0")
|
|
Packit |
971217 |
GST_GL_EXT_FUNCTION (void, DepthRangef,
|
|
Packit |
971217 |
(GLfloat near_val, GLfloat far_val))
|
|
Packit |
971217 |
GST_GL_EXT_FUNCTION (void, ClearDepthf,
|
|
Packit |
971217 |
(GLclampf depth))
|
|
Packit |
971217 |
GST_GL_EXT_END ()
|
|
Packit |
971217 |
|
|
Packit |
971217 |
GST_GL_EXT_BEGIN (only_in_gles1,
|
|
Packit |
971217 |
GST_GL_API_GLES1,
|
|
Packit |
971217 |
255, 255,
|
|
Packit |
971217 |
1, 0,
|
|
Packit |
971217 |
"\0",
|
|
Packit |
971217 |
"\0")
|
|
Packit |
971217 |
GST_GL_EXT_FUNCTION (void, ClipPlanef, (GLenum plane, const GLfloat *equation))
|
|
Packit |
971217 |
GST_GL_EXT_END ()
|
|
Packit |
971217 |
|
|
Packit |
971217 |
GST_GL_EXT_BEGIN (gles2_only_api,
|
|
Packit |
971217 |
GST_GL_API_GLES2,
|
|
Packit |
971217 |
255, 255,
|
|
Packit |
971217 |
2, 0,
|
|
Packit |
971217 |
"\0",
|
|
Packit |
971217 |
"\0")
|
|
Packit |
971217 |
GST_GL_EXT_FUNCTION (void, ReleaseShaderCompiler, (void))
|
|
Packit |
971217 |
GST_GL_EXT_FUNCTION (void, GetShaderPrecisionFormat,
|
|
Packit |
971217 |
(GLenum shadertype,
|
|
Packit |
971217 |
GLenum precisiontype,
|
|
Packit |
971217 |
GLint* range,
|
|
Packit |
971217 |
GLint* precision))
|
|
Packit |
971217 |
GST_GL_EXT_FUNCTION (void, ShaderBinary,
|
|
Packit |
971217 |
(GLsizei n,
|
|
Packit |
971217 |
const GLuint* shaders,
|
|
Packit |
971217 |
GLenum binaryformat,
|
|
Packit |
971217 |
const GLvoid* binary,
|
|
Packit |
971217 |
GLsizei length))
|
|
Packit |
971217 |
GST_GL_EXT_END ()
|
|
Packit |
971217 |
|
|
Packit |
971217 |
GST_GL_EXT_BEGIN (IMG_multisampled_render_to_texture,
|
|
Packit |
971217 |
GST_GL_API_NONE,
|
|
Packit |
971217 |
255, 255,
|
|
Packit |
971217 |
255, 255, /* not in either GLES */
|
|
Packit |
971217 |
"\0",
|
|
Packit |
971217 |
"IMG_multisampled_render_to_texture\0")
|
|
Packit |
971217 |
GST_GL_EXT_FUNCTION (void, RenderbufferStorageMultisampleIMG,
|
|
Packit |
971217 |
(GLenum target,
|
|
Packit |
971217 |
GLsizei samples,
|
|
Packit |
971217 |
GLenum internal_format,
|
|
Packit |
971217 |
GLsizei width,
|
|
Packit |
971217 |
GLsizei height))
|
|
Packit |
971217 |
GST_GL_EXT_FUNCTION (void, FramebufferTexture2DMultisampleIMG,
|
|
Packit |
971217 |
(GLenum target,
|
|
Packit |
971217 |
GLenum attachment,
|
|
Packit |
971217 |
GLenum textarget,
|
|
Packit |
971217 |
GLuint texture,
|
|
Packit |
971217 |
GLint level,
|
|
Packit |
971217 |
GLsizei samples))
|
|
Packit |
971217 |
GST_GL_EXT_END ()
|