blob: 73522907ba5a6f2c33ee8c3139092ce092dc6f62 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GstGLSL: GStreamer Bad Plugins 1.0 Library Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="GStreamer Bad Plugins 1.0 Library Reference Manual">
<link rel="up" href="gl.html" title="OpenGL Helper Library">
<link rel="prev" href="GstGLShader.html" title="GstGLShader">
<link rel="next" href=".html" title="GstGLSLStage">
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#gst-plugins-bad-libs-GstGLSL.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="gl.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GstGLShader.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href=".html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="gst-plugins-bad-libs-GstGLSL"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="gst-plugins-bad-libs-GstGLSL.top_of_page"></a>GstGLSL</span></h2>
<p>GstGLSL — helpers for dealing with OpenGL shaders</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="gst-plugins-bad-libs-GstGLSL.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glibglib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-bad-libs-GstGLSL.html#gst-glsl-error-quark" title="gst_glsl_error_quark ()">gst_glsl_error_quark</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gst-plugins-bad-libs-GstGLSL.html#GstGLSLProfile" title="enum GstGLSLProfile"><span class="returnvalue">GstGLSLProfile</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-bad-libs-GstGLSL.html#gst-glsl-profile-from-string" title="gst_glsl_profile_from_string ()">gst_glsl_profile_from_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-bad-libs-GstGLSL.html#gst-glsl-profile-to-string" title="gst_glsl_profile_to_string ()">gst_glsl_profile_to_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gst-plugins-bad-libs-GstGLSL.html#GstGLSLVersion" title="enum GstGLSLVersion"><span class="returnvalue">GstGLSLVersion</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-bad-libs-GstGLSL.html#gst-glsl-version-from-string" title="gst_glsl_version_from_string ()">gst_glsl_version_from_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-bad-libs-GstGLSL.html#gst-glsl-version-to-string" title="gst_glsl_version_to_string ()">gst_glsl_version_to_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-bad-libs-GstGLSL.html#gst-glsl-version-profile-from-string" title="gst_glsl_version_profile_from_string ()">gst_glsl_version_profile_from_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-bad-libs-GstGLSL.html#gst-glsl-version-profile-to-string" title="gst_glsl_version_profile_to_string ()">gst_glsl_version_profile_to_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-bad-libs-GstGLSL.html#gst-glsl-string-get-version-profile" title="gst_glsl_string_get_version_profile ()">gst_glsl_string_get_version_profile</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-bad-libs-GstGLSL.html#gst-gl-context-supports-glsl-profile-version" title="gst_gl_context_supports_glsl_profile_version ()">gst_gl_context_supports_glsl_profile_version</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gst-plugins-bad-libs-GstGLSL.html#GstGLSLVersion" title="enum GstGLSLVersion"><span class="returnvalue">GstGLSLVersion</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-bad-libs-GstGLSL.html#gst-gl-version-to-glsl-version" title="gst_gl_version_to_glsl_version ()">gst_gl_version_to_glsl_version</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="gst-plugins-bad-libs-GstGLSL.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-bad-libs-GstGLSL.html#GST-GLSL-ERROR:CAPS" title="GST_GLSL_ERROR">GST_GLSL_ERROR</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="gst-plugins-bad-libs-GstGLSL.html#GstGLSLError" title="enum GstGLSLError">GstGLSLError</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="gst-plugins-bad-libs-GstGLSL.html#GstGLSLProfile" title="enum GstGLSLProfile">GstGLSLProfile</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="gst-plugins-bad-libs-GstGLSL.html#GstGLSLVersion" title="enum GstGLSLVersion">GstGLSLVersion</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="gst-plugins-bad-libs-GstGLSL.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="gst-plugins-bad-libs-GstGLSL.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gst-glsl-error-quark"></a><h3>gst_glsl_error_quark ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>
gst_glsl_error_quark (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gst-glsl-profile-from-string"></a><h3>gst_glsl_profile_from_string ()</h3>
<pre class="programlisting"><a class="link" href="gst-plugins-bad-libs-GstGLSL.html#GstGLSLProfile" title="enum GstGLSLProfile"><span class="returnvalue">GstGLSLProfile</span></a>
gst_glsl_profile_from_string (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gst-glsl-profile-to-string"></a><h3>gst_glsl_profile_to_string ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gst_glsl_profile_to_string (<em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-GstGLSL.html#GstGLSLProfile" title="enum GstGLSLProfile"><span class="type">GstGLSLProfile</span></a> profile</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gst-glsl-version-from-string"></a><h3>gst_glsl_version_from_string ()</h3>
<pre class="programlisting"><a class="link" href="gst-plugins-bad-libs-GstGLSL.html#GstGLSLVersion" title="enum GstGLSLVersion"><span class="returnvalue">GstGLSLVersion</span></a>
gst_glsl_version_from_string (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gst-glsl-version-to-string"></a><h3>gst_glsl_version_to_string ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gst_glsl_version_to_string (<em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-GstGLSL.html#GstGLSLVersion" title="enum GstGLSLVersion"><span class="type">GstGLSLVersion</span></a> version</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gst-glsl-version-profile-from-string"></a><h3>gst_glsl_version_profile_from_string ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gst_glsl_version_profile_from_string (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *string</code></em>,
<em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-GstGLSL.html#GstGLSLVersion" title="enum GstGLSLVersion"><span class="type">GstGLSLVersion</span></a> *version</code></em>,
<em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-GstGLSL.html#GstGLSLProfile" title="enum GstGLSLProfile"><span class="type">GstGLSLProfile</span></a> *profile</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gst-glsl-version-profile-to-string"></a><h3>gst_glsl_version_profile_to_string ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gst_glsl_version_profile_to_string (<em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-GstGLSL.html#GstGLSLVersion" title="enum GstGLSLVersion"><span class="type">GstGLSLVersion</span></a> version</code></em>,
<em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-GstGLSL.html#GstGLSLProfile" title="enum GstGLSLProfile"><span class="type">GstGLSLProfile</span></a> profile</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gst-glsl-string-get-version-profile"></a><h3>gst_glsl_string_get_version_profile ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gst_glsl_string_get_version_profile (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *s</code></em>,
<em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-GstGLSL.html#GstGLSLVersion" title="enum GstGLSLVersion"><span class="type">GstGLSLVersion</span></a> *version</code></em>,
<em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-GstGLSL.html#GstGLSLProfile" title="enum GstGLSLProfile"><span class="type">GstGLSLProfile</span></a> *profile</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gst-gl-context-supports-glsl-profile-version"></a><h3>gst_gl_context_supports_glsl_profile_version ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gst_gl_context_supports_glsl_profile_version
(<em class="parameter"><code><a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a> *context</code></em>,
<em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-GstGLSL.html#GstGLSLVersion" title="enum GstGLSLVersion"><span class="type">GstGLSLVersion</span></a> version</code></em>,
<em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-GstGLSL.html#GstGLSLProfile" title="enum GstGLSLProfile"><span class="type">GstGLSLProfile</span></a> profile</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gst-gl-version-to-glsl-version"></a><h3>gst_gl_version_to_glsl_version ()</h3>
<pre class="programlisting"><a class="link" href="gst-plugins-bad-libs-GstGLSL.html#GstGLSLVersion" title="enum GstGLSLVersion"><span class="returnvalue">GstGLSLVersion</span></a>
gst_gl_version_to_glsl_version (<em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-GstGLAPI.html#GstGLAPI" title="enum GstGLAPI"><span class="type">GstGLAPI</span></a> gl_api</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gint"><span class="type">gint</span></a> maj</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gint"><span class="type">gint</span></a> min</code></em>);</pre>
</div>
</div>
<div class="refsect1">
<a name="gst-plugins-bad-libs-GstGLSL.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GST-GLSL-ERROR:CAPS"></a><h3>GST_GLSL_ERROR</h3>
<pre class="programlisting">#define GST_GLSL_ERROR (gst_glsl_error_quark ())
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GstGLSLError"></a><h3>enum GstGLSLError</h3>
<div class="refsect3">
<a name="GstGLSLError.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GST-GLSL-ERROR-COMPILE:CAPS"></a>GST_GLSL_ERROR_COMPILE</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-GLSL-ERROR-LINK:CAPS"></a>GST_GLSL_ERROR_LINK</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-GLSL-ERROR-PROGRAM:CAPS"></a>GST_GLSL_ERROR_PROGRAM</p></td>
<td> </td>
<td> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GstGLSLProfile"></a><h3>enum GstGLSLProfile</h3>
<div class="refsect3">
<a name="GstGLSLProfile.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GST-GLSL-PROFILE-NONE:CAPS"></a>GST_GLSL_PROFILE_NONE</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-GLSL-PROFILE-ES:CAPS"></a>GST_GLSL_PROFILE_ES</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-GLSL-PROFILE-CORE:CAPS"></a>GST_GLSL_PROFILE_CORE</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-GLSL-PROFILE-COMPATIBILITY:CAPS"></a>GST_GLSL_PROFILE_COMPATIBILITY</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-GLSL-PROFILE-ANY:CAPS"></a>GST_GLSL_PROFILE_ANY</p></td>
<td> </td>
<td> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GstGLSLVersion"></a><h3>enum GstGLSLVersion</h3>
<div class="refsect3">
<a name="GstGLSLVersion.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GST-GLSL-VERSION-NONE:CAPS"></a>GST_GLSL_VERSION_NONE</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-GLSL-VERSION-100:CAPS"></a>GST_GLSL_VERSION_100</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-GLSL-VERSION-110:CAPS"></a>GST_GLSL_VERSION_110</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-GLSL-VERSION-120:CAPS"></a>GST_GLSL_VERSION_120</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-GLSL-VERSION-130:CAPS"></a>GST_GLSL_VERSION_130</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-GLSL-VERSION-140:CAPS"></a>GST_GLSL_VERSION_140</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-GLSL-VERSION-150:CAPS"></a>GST_GLSL_VERSION_150</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-GLSL-VERSION-300:CAPS"></a>GST_GLSL_VERSION_300</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-GLSL-VERSION-310:CAPS"></a>GST_GLSL_VERSION_310</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-GLSL-VERSION-320:CAPS"></a>GST_GLSL_VERSION_320</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-GLSL-VERSION-330:CAPS"></a>GST_GLSL_VERSION_330</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-GLSL-VERSION-400:CAPS"></a>GST_GLSL_VERSION_400</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-GLSL-VERSION-410:CAPS"></a>GST_GLSL_VERSION_410</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-GLSL-VERSION-420:CAPS"></a>GST_GLSL_VERSION_420</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-GLSL-VERSION-430:CAPS"></a>GST_GLSL_VERSION_430</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-GLSL-VERSION-440:CAPS"></a>GST_GLSL_VERSION_440</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-GLSL-VERSION-450:CAPS"></a>GST_GLSL_VERSION_450</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-GLSL-VERSION-ANY:CAPS"></a>GST_GLSL_VERSION_ANY</p></td>
<td> </td>
<td> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="gst-plugins-bad-libs-GstGLSL.see-also"></a><h2>See Also</h2>
<p><a class="link" href=".html#GstGLSLStage"><span class="type">GstGLSLStage</span></a>, <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.25</div>
</body>
</html>