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
28G_BEGIN_DECLS
29
30GST_GL_API
31const gchar *gst_gl_shader_string_fragment_highp_precision;
32GST_GL_API
33const gchar *gst_gl_shader_string_fragment_mediump_precision;
34
35GST_GL_API
36const gchar *gst_gl_shader_string_vertex_default;
37GST_GL_API G_DEPRECATED_FOR(gst_gl_shader_string_fragment_get_default)
38const gchar *gst_gl_shader_string_fragment_default;
39
40GST_GL_API
41const gchar *gst_gl_shader_string_vertex_mat4_texture_transform;
42GST_GL_API
43const gchar *gst_gl_shader_string_vertex_mat4_vertex_transform;
44GST_GL_API G_DEPRECATED_FOR(gst_gl_shader_string_fragment_external_oes_get_default)
45const gchar *gst_gl_shader_string_fragment_external_oes_default;
46
47GST_GL_API
48const gchar * gst_gl_shader_string_get_highest_precision (GstGLContext * context,
49 GstGLSLVersion version,
50 GstGLSLProfile profile);
51
52GST_GL_API
53gchar * gst_gl_shader_string_fragment_get_default (GstGLContext * context,
54 GstGLSLVersion version,
55 GstGLSLProfile profile);
56GST_GL_API
57gchar * gst_gl_shader_string_fragment_external_oes_get_default (GstGLContext * context,
58 GstGLSLVersion version,
59 GstGLSLProfile profile);
60
61G_END_DECLS
62
63#endif /* __GST_GL_SHADER_STRINGS_H__ */
64

source code of include/gstreamer-1.0/gst/gl/gstglshaderstrings.h