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/* Original files and function definitions courtesy of cogl 22 * 23 * Changes: 24 * - Namespace COGL -> GST_GL 25 * - remove gl from each function (i.e. glTexImage2D -> TexImage2D) 26 **/ 27 28/* The files in this folder are included multiple times with different 29 * definitions for these macros. The macros are given the following arguments: 30 * 31 * GST_GL_EXT_BEGIN: 32 * 33 * @name: a unique symbol name for this feature 34 * 35 * @min_gl_major: the major part of the minimum GL version where these 36 * functions are available in core, or 255 if it isn't available in 37 * any version. 38 * @min_gl_minor: the minor part of the minimum GL version where these 39 * functions are available in core, or 255 if it isn't available in 40 * any version. 41 * 42 * @gles_availability: flags to specify which versions of GLES the 43 * functions are available in. Should be a combination of 44 * GST_GL_API_GLES and GST_GL_API_GLES2. 45 * 46 * @extension_suffixes: A zero-separated list of suffixes in a 47 * string. These are appended to the extension name to get a complete 48 * extension name to try. The suffix is also appended to all of the 49 * function names. The suffix can optionally include a ':' to specify 50 * an alternate suffix for the function names. 51 * 52 * @extension_names: A list of extension names to try. If any of these 53 * extensions match then it will be used. 54 */ 55