Blame gst-libs/gst/gl/glprototypes/opengl.h

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
/* These are the core GL functions which are only available in big
Packit 971217
   GL */
Packit 971217
GST_GL_EXT_BEGIN (only_in_big_gl,
Packit 971217
                  GST_GL_API_OPENGL | GST_GL_API_OPENGL3,
Packit 971217
                  1, 0,
Packit 971217
                  255, 255, /* not in GLES */
Packit 971217
                  "\0",
Packit 971217
                  "\0")
Packit 971217
GST_GL_EXT_FUNCTION (void, GetTexLevelParameteriv,
Packit 971217
                     (GLenum target, GLint level,
Packit 971217
                      GLenum pname, GLint *params))
Packit 971217
GST_GL_EXT_FUNCTION (void, GetTexImage,
Packit 971217
                     (GLenum target, GLint level,
Packit 971217
                      GLenum format, GLenum type,
Packit 971217
                      GLvoid *pixels))
Packit 971217
GST_GL_EXT_FUNCTION (void, DepthRange,
Packit 971217
                     (double near_val, double far_val))
Packit 971217
GST_GL_EXT_FUNCTION (void, DrawBuffer,
Packit 971217
                     (GLenum mode))
Packit 971217
GST_GL_EXT_FUNCTION (void, ClearDepth,
Packit 971217
                     (double depth))
Packit 971217
GST_GL_EXT_END ()
Packit 971217
Packit 971217
GST_GL_EXT_BEGIN (only_in_big_gl_compat,
Packit 971217
                  GST_GL_API_OPENGL,
Packit 971217
                  1, 0,
Packit 971217
                  255, 255, /* not in GLES */
Packit 971217
                  "\0",
Packit 971217
                  "\0")
Packit 971217
GST_GL_EXT_FUNCTION (void, ClipPlane,
Packit 971217
                     (GLenum plane, const double *equation))
Packit 971217
GST_GL_EXT_END ()