| 1 | /* |
| 2 | * GStreamer |
| 3 | * Copyright (C) 2015 Matthew Waters <matthew@centricular.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 | #ifndef __GST_GL_SHADER_STRINGS_H__ |
| 22 | #define __GST_GL_SHADER_STRINGS_H__ |
| 23 | |
| 24 | #include <gst/gst.h> |
| 25 | #include <gst/gl/gl-prelude.h> |
| 26 | #include <gst/gl/gl.h> |
| 27 | |
| 28 | G_BEGIN_DECLS |
| 29 | |
| 30 | GST_GL_API |
| 31 | const gchar *gst_gl_shader_string_fragment_highp_precision; |
| 32 | GST_GL_API |
| 33 | const gchar *gst_gl_shader_string_fragment_mediump_precision; |
| 34 | |
| 35 | GST_GL_API |
| 36 | const gchar *gst_gl_shader_string_vertex_default; |
| 37 | GST_GL_DEPRECATED_FOR(gst_gl_shader_string_fragment_get_default) |
| 38 | const gchar *gst_gl_shader_string_fragment_default; |
| 39 | |
| 40 | GST_GL_API |
| 41 | const gchar *gst_gl_shader_string_vertex_mat4_texture_transform; |
| 42 | GST_GL_API |
| 43 | const gchar *gst_gl_shader_string_vertex_mat4_vertex_transform; |
| 44 | GST_GL_DEPRECATED_FOR(gst_gl_shader_string_fragment_external_oes_get_default) |
| 45 | const gchar *gst_gl_shader_string_fragment_external_oes_default; |
| 46 | |
| 47 | GST_GL_API |
| 48 | const gchar * gst_gl_shader_string_get_highest_precision (GstGLContext * context, |
| 49 | GstGLSLVersion version, |
| 50 | GstGLSLProfile profile); |
| 51 | |
| 52 | GST_GL_API |
| 53 | gchar * gst_gl_shader_string_fragment_get_default (GstGLContext * context, |
| 54 | GstGLSLVersion version, |
| 55 | GstGLSLProfile profile); |
| 56 | GST_GL_API |
| 57 | gchar * gst_gl_shader_string_fragment_external_oes_get_default (GstGLContext * context, |
| 58 | GstGLSLVersion version, |
| 59 | GstGLSLProfile profile); |
| 60 | |
| 61 | G_END_DECLS |
| 62 | |
| 63 | #endif /* __GST_GL_SHADER_STRINGS_H__ */ |
| 64 | |