|
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 (blending,
|
|
Packit |
971217 |
GST_GL_API_OPENGL | GST_GL_API_OPENGL3 |
|
|
Packit |
971217 |
GST_GL_API_GLES2,
|
|
Packit |
971217 |
1, 2,
|
|
Packit |
971217 |
2, 0,
|
|
Packit |
971217 |
"\0",
|
|
Packit |
971217 |
"\0")
|
|
Packit |
971217 |
GST_GL_EXT_FUNCTION (void, BlendEquation,
|
|
Packit |
971217 |
(GLenum mode))
|
|
Packit |
971217 |
GST_GL_EXT_FUNCTION (void, BlendColor,
|
|
Packit |
971217 |
(GLclampf red,
|
|
Packit |
971217 |
GLclampf green,
|
|
Packit |
971217 |
GLclampf blue,
|
|
Packit |
971217 |
GLclampf alpha))
|
|
Packit |
971217 |
GST_GL_EXT_END ()
|
|
Packit |
971217 |
|
|
Packit |
971217 |
/* Optional, declared in 1.4 or GLES 1.2 */
|
|
Packit |
971217 |
GST_GL_EXT_BEGIN (blend_func_separate,
|
|
Packit |
971217 |
GST_GL_API_OPENGL | GST_GL_API_OPENGL3 |
|
|
Packit |
971217 |
GST_GL_API_GLES2,
|
|
Packit |
971217 |
1, 4,
|
|
Packit |
971217 |
2, 0,
|
|
Packit |
971217 |
"EXT\0",
|
|
Packit |
971217 |
"blend_func_separate\0")
|
|
Packit |
971217 |
GST_GL_EXT_FUNCTION (void, BlendFuncSeparate,
|
|
Packit |
971217 |
(GLenum srcRGB,
|
|
Packit |
971217 |
GLenum dstRGB,
|
|
Packit |
971217 |
GLenum srcAlpha,
|
|
Packit |
971217 |
GLenum dstAlpha))
|
|
Packit |
971217 |
GST_GL_EXT_END ()
|
|
Packit |
971217 |
|
|
Packit |
971217 |
/* Optional, declared in 2.0 */
|
|
Packit |
971217 |
GST_GL_EXT_BEGIN (blend_equation_separate,
|
|
Packit |
971217 |
GST_GL_API_OPENGL | GST_GL_API_OPENGL3 |
|
|
Packit |
971217 |
GST_GL_API_GLES2,
|
|
Packit |
971217 |
2, 0,
|
|
Packit |
971217 |
2, 0,
|
|
Packit |
971217 |
"EXT\0",
|
|
Packit |
971217 |
"blend_equation_separate\0")
|
|
Packit |
971217 |
GST_GL_EXT_FUNCTION (void, BlendEquationSeparate,
|
|
Packit |
971217 |
(GLenum modeRGB,
|
|
Packit |
971217 |
GLenum modeAlpha))
|
|
Packit |
971217 |
GST_GL_EXT_END ()
|
|
Packit |
971217 |
|
|
Packit |
971217 |
/* GL and GLES 2.0 apis */
|
|
Packit |
971217 |
GST_GL_EXT_BEGIN (two_point_zero_api,
|
|
Packit |
971217 |
GST_GL_API_OPENGL | GST_GL_API_OPENGL3 |
|
|
Packit |
971217 |
GST_GL_API_GLES2,
|
|
Packit |
971217 |
2, 0,
|
|
Packit |
971217 |
2, 0,
|
|
Packit |
971217 |
"\0",
|
|
Packit |
971217 |
"\0")
|
|
Packit |
971217 |
GST_GL_EXT_FUNCTION (void, StencilFuncSeparate,
|
|
Packit |
971217 |
(GLenum face, GLenum func, GLint ref, GLuint mask))
|
|
Packit |
971217 |
GST_GL_EXT_FUNCTION (void, StencilMaskSeparate,
|
|
Packit |
971217 |
(GLenum face, GLuint mask))
|
|
Packit |
971217 |
GST_GL_EXT_FUNCTION (void, StencilOpSeparate,
|
|
Packit |
971217 |
(GLenum face, GLenum fail, GLenum zfail, GLenum zpass))
|
|
Packit |
971217 |
GST_GL_EXT_END ()
|