| 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 | * Cogl |
| 22 | * |
| 23 | * An object oriented GL/GLES Abstraction/Utility Layer |
| 24 | * |
| 25 | * Copyright (C) 2009 Intel Corporation. |
| 26 | * |
| 27 | * This library is free software; you can redistribute it and/or |
| 28 | * modify it under the terms of the GNU Lesser General Public |
| 29 | * License as published by the Free Software Foundation; either |
| 30 | * version 2 of the License, or (at your option) any later version. |
| 31 | * |
| 32 | * This library is distributed in the hope that it will be useful, |
| 33 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 34 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 35 | * Lesser General Public License for more details. |
| 36 | * |
| 37 | * You should have received a copy of the GNU Lesser General Public |
| 38 | * License along with this library. If not, see <http://www.gnu.org/licenses/>. |
| 39 | * |
| 40 | * |
| 41 | */ |
| 42 | |
| 43 | #ifndef __GST_GL_FEATURE_H__ |
| 44 | #define __GST_GL_FEATURE_H__ |
| 45 | |
| 46 | #include <gst/gst.h> |
| 47 | |
| 48 | #include <gst/gl/gstgl_fwd.h> |
| 49 | |
| 50 | G_BEGIN_DECLS |
| 51 | |
| 52 | #define GST_GL_CHECK_GL_VERSION(driver_major, driver_minor, \ |
| 53 | target_major, target_minor) \ |
| 54 | ((driver_major) > (target_major) || \ |
| 55 | ((driver_major) == (target_major) && (driver_minor) >= (target_minor))) |
| 56 | |
| 57 | GST_GL_API |
| 58 | gboolean gst_gl_check_extension (const char *name, const gchar * ext); |
| 59 | |
| 60 | G_END_DECLS |
| 61 | |
| 62 | #endif /* __GST_GL_FEATURE_H__ */ |
| 63 | |