1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3<head> 4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 5<title>OpenGL debugging: GStreamer Base Plugins 1.0 Library Reference Manual</title> 6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 7<link rel="home" href="index.html" title="GStreamer Base Plugins 1.0 Library Reference Manual"> 8<link rel="up" href="gl.html" title="OpenGL Integration Library"> 9<link rel="prev" href="GstGLWindow.html" title="GstGLWindow"> 10<link rel="next" href="gst-plugins-base-libs-OpenGL-Formats.html" title="GstGLFormat"> 11<meta name="generator" content="GTK-Doc V1.28 (XML mode)"> 12<link rel="stylesheet" href="style.css" type="text/css"> 13</head> 14<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 15<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle"> 16<td width="100%" align="left" class="shortcuts"> 17<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> 18 <a href="#gst-plugins-base-libs-OpenGL-debugging.description" class="shortcut">Description</a></span> 19</td> 20<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> 21<td><a accesskey="u" href="gl.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> 22<td><a accesskey="p" href="GstGLWindow.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> 23<td><a accesskey="n" href="gst-plugins-base-libs-OpenGL-Formats.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> 24</tr></table> 25<div class="refentry"> 26<a name="gst-plugins-base-libs-OpenGL-debugging"></a><div class="titlepage"></div> 27<div class="refnamediv"><table width="100%"><tr> 28<td valign="top"> 29<h2><span class="refentrytitle"><a name="gst-plugins-base-libs-OpenGL-debugging.top_of_page"></a>OpenGL debugging</span></h2> 30<p>OpenGL debugging — helper routines for dealing with OpenGL debugging</p> 31</td> 32<td class="gallery_image" valign="top" align="right"></td> 33</tr></table></div> 34<div class="refsect1"> 35<a name="gst-plugins-base-libs-OpenGL-debugging.functions"></a><h2>Functions</h2> 36<div class="informaltable"><table class="informaltable" width="100%" border="0"> 37<colgroup> 38<col width="150px" class="functions_return"> 39<col class="functions_name"> 40</colgroup> 41<tbody> 42<tr> 43<td class="function_type"> 44<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 45</td> 46<td class="function_name"> 47<span class="c_punctuation">(</span><a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#GstGLAsyncDebugLogGetMessage" title="GstGLAsyncDebugLogGetMessage ()">*GstGLAsyncDebugLogGetMessage</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> 48</td> 49</tr> 50<tr> 51<td class="function_type"> 52<a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#GstGLAsyncDebug" title="GstGLAsyncDebug"><span class="returnvalue">GstGLAsyncDebug</span></a> * 53</td> 54<td class="function_name"> 55<a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#gst-gl-async-debug-new" title="gst_gl_async_debug_new ()">gst_gl_async_debug_new</a> <span class="c_punctuation">()</span> 56</td> 57</tr> 58<tr> 59<td class="function_type"> 60<span class="returnvalue">void</span> 61</td> 62<td class="function_name"> 63<a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#gst-gl-async-debug-free" title="gst_gl_async_debug_free ()">gst_gl_async_debug_free</a> <span class="c_punctuation">()</span> 64</td> 65</tr> 66<tr> 67<td class="function_type"> 68<span class="returnvalue">void</span> 69</td> 70<td class="function_name"> 71<a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#gst-gl-async-debug-init" title="gst_gl_async_debug_init ()">gst_gl_async_debug_init</a> <span class="c_punctuation">()</span> 72</td> 73</tr> 74<tr> 75<td class="function_type"> 76<span class="returnvalue">void</span> 77</td> 78<td class="function_name"> 79<a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#gst-gl-async-debug-unset" title="gst_gl_async_debug_unset ()">gst_gl_async_debug_unset</a> <span class="c_punctuation">()</span> 80</td> 81</tr> 82<tr> 83<td class="function_type"> 84<span class="returnvalue">void</span> 85</td> 86<td class="function_name"> 87<a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#gst-gl-async-debug-freeze" title="gst_gl_async_debug_freeze ()">gst_gl_async_debug_freeze</a> <span class="c_punctuation">()</span> 88</td> 89</tr> 90<tr> 91<td class="function_type"> 92<span class="returnvalue">void</span> 93</td> 94<td class="function_name"> 95<a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#gst-gl-async-debug-thaw" title="gst_gl_async_debug_thaw ()">gst_gl_async_debug_thaw</a> <span class="c_punctuation">()</span> 96</td> 97</tr> 98<tr> 99<td class="function_type"> 100<span class="returnvalue">void</span> 101</td> 102<td class="function_name"> 103<a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#gst-gl-async-debug-output-log-msg" title="gst_gl_async_debug_output_log_msg ()">gst_gl_async_debug_output_log_msg</a> <span class="c_punctuation">()</span> 104</td> 105</tr> 106<tr> 107<td class="function_type"> 108<span class="returnvalue">void</span> 109</td> 110<td class="function_name"> 111<a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#gst-gl-async-debug-store-log-msg" title="gst_gl_async_debug_store_log_msg ()">gst_gl_async_debug_store_log_msg</a> <span class="c_punctuation">()</span> 112</td> 113</tr> 114<tr> 115<td class="function_type"> 116<span class="returnvalue">void</span> 117</td> 118<td class="function_name"> 119<a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#gst-gl-async-debug-store-log-msg-valist" title="gst_gl_async_debug_store_log_msg_valist ()">gst_gl_async_debug_store_log_msg_valist</a> <span class="c_punctuation">()</span> 120</td> 121</tr> 122<tr> 123<td class="define_keyword">#define</td> 124<td class="function_name"> 125<a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#GST-GL-ASYNC-CAT-LEVEL-LOG-valist" title="GST_GL_ASYNC_CAT_LEVEL_LOG_valist()">GST_GL_ASYNC_CAT_LEVEL_LOG_valist</a><span class="c_punctuation">()</span> 126</td> 127</tr> 128<tr> 129<td class="define_keyword">#define</td> 130<td class="function_name"> 131<a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#GST-GL-ASYNC-CAT-LEVEL-LOG:CAPS" title="GST_GL_ASYNC_CAT_LEVEL_LOG()">GST_GL_ASYNC_CAT_LEVEL_LOG</a><span class="c_punctuation">()</span> 132</td> 133</tr> 134<tr> 135<td class="function_type"> 136<span class="returnvalue">void</span> 137</td> 138<td class="function_name"> 139<a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#gst-gl-insert-debug-marker" title="gst_gl_insert_debug_marker ()">gst_gl_insert_debug_marker</a> <span class="c_punctuation">()</span> 140</td> 141</tr> 142</tbody> 143</table></div> 144</div> 145<div class="refsect1"> 146<a name="gst-plugins-base-libs-OpenGL-debugging.other"></a><h2>Types and Values</h2> 147<div class="informaltable"><table class="informaltable" width="100%" border="0"> 148<colgroup> 149<col width="150px" class="name"> 150<col class="description"> 151</colgroup> 152<tbody><tr> 153<td class="datatype_keyword"> </td> 154<td class="function_name"><a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#GstGLAsyncDebug" title="GstGLAsyncDebug">GstGLAsyncDebug</a></td> 155</tr></tbody> 156</table></div> 157</div> 158<div class="refsect1"> 159<a name="gst-plugins-base-libs-OpenGL-debugging.includes"></a><h2>Includes</h2> 160<pre class="synopsis">#include <gst/gl/gl.h> 161</pre> 162</div> 163<div class="refsect1"> 164<a name="gst-plugins-base-libs-OpenGL-debugging.description"></a><h2>Description</h2> 165</div> 166<div class="refsect1"> 167<a name="gst-plugins-base-libs-OpenGL-debugging.functions_details"></a><h2>Functions</h2> 168<div class="refsect2"> 169<a name="GstGLAsyncDebugLogGetMessage"></a><h3>GstGLAsyncDebugLogGetMessage ()</h3> 170<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 171<span class="c_punctuation">(</span>*GstGLAsyncDebugLogGetMessage<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre> 172</div> 173<hr> 174<div class="refsect2"> 175<a name="gst-gl-async-debug-new"></a><h3>gst_gl_async_debug_new ()</h3> 176<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#GstGLAsyncDebug" title="GstGLAsyncDebug"><span class="returnvalue">GstGLAsyncDebug</span></a> * 177gst_gl_async_debug_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> 178<p>Free with <a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#gst-gl-async-debug-free" title="gst_gl_async_debug_free ()"><code class="function">gst_gl_async_debug_free()</code></a></p> 179<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p> 180<div class="refsect3"> 181<a name="gst-gl-async-debug-new.returns"></a><h4>Returns</h4> 182<p> a new <a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#GstGLAsyncDebug" title="GstGLAsyncDebug"><span class="type">GstGLAsyncDebug</span></a></p> 183</div> 184<p class="since">Since: <a class="link" href="ix08.html#api-index-1.8">1.8</a></p> 185</div> 186<hr> 187<div class="refsect2"> 188<a name="gst-gl-async-debug-free"></a><h3>gst_gl_async_debug_free ()</h3> 189<pre class="programlisting"><span class="returnvalue">void</span> 190gst_gl_async_debug_free (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#GstGLAsyncDebug" title="GstGLAsyncDebug"><span class="type">GstGLAsyncDebug</span></a> *ad</code></em>);</pre> 191<p>Frees <em class="parameter"><code>ad</code></em> 192</p> 193<div class="refsect3"> 194<a name="gst-gl-async-debug-free.parameters"></a><h4>Parameters</h4> 195<div class="informaltable"><table class="informaltable" width="100%" border="0"> 196<colgroup> 197<col width="150px" class="parameters_name"> 198<col class="parameters_description"> 199<col width="200px" class="parameters_annotations"> 200</colgroup> 201<tbody><tr> 202<td class="parameter_name"><p>ad</p></td> 203<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#GstGLAsyncDebug" title="GstGLAsyncDebug"><span class="type">GstGLAsyncDebug</span></a></p></td> 204<td class="parameter_annotations"> </td> 205</tr></tbody> 206</table></div> 207</div> 208<p class="since">Since: <a class="link" href="ix08.html#api-index-1.8">1.8</a></p> 209</div> 210<hr> 211<div class="refsect2"> 212<a name="gst-gl-async-debug-init"></a><h3>gst_gl_async_debug_init ()</h3> 213<pre class="programlisting"><span class="returnvalue">void</span> 214gst_gl_async_debug_init (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#GstGLAsyncDebug" title="GstGLAsyncDebug"><span class="type">GstGLAsyncDebug</span></a> *ad</code></em>);</pre> 215<p>Initialize <em class="parameter"><code>ad</code></em> 216. Intended for use with <a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#GstGLAsyncDebug" title="GstGLAsyncDebug"><span class="type">GstGLAsyncDebug</span></a>'s that are embedded 217in other structs.</p> 218<div class="refsect3"> 219<a name="gst-gl-async-debug-init.parameters"></a><h4>Parameters</h4> 220<div class="informaltable"><table class="informaltable" width="100%" border="0"> 221<colgroup> 222<col width="150px" class="parameters_name"> 223<col class="parameters_description"> 224<col width="200px" class="parameters_annotations"> 225</colgroup> 226<tbody><tr> 227<td class="parameter_name"><p>ad</p></td> 228<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#GstGLAsyncDebug" title="GstGLAsyncDebug"><span class="type">GstGLAsyncDebug</span></a></p></td> 229<td class="parameter_annotations"> </td> 230</tr></tbody> 231</table></div> 232</div> 233<p class="since">Since: <a class="link" href="ix08.html#api-index-1.8">1.8</a></p> 234</div> 235<hr> 236<div class="refsect2"> 237<a name="gst-gl-async-debug-unset"></a><h3>gst_gl_async_debug_unset ()</h3> 238<pre class="programlisting"><span class="returnvalue">void</span> 239gst_gl_async_debug_unset (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#GstGLAsyncDebug" title="GstGLAsyncDebug"><span class="type">GstGLAsyncDebug</span></a> *ad</code></em>);</pre> 240<p>Unset any dynamically allocated data. Intended for use with 241<a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#GstGLAsyncDebug" title="GstGLAsyncDebug"><span class="type">GstGLAsyncDebug</span></a>'s that are embedded in other structs.</p> 242<div class="refsect3"> 243<a name="gst-gl-async-debug-unset.parameters"></a><h4>Parameters</h4> 244<div class="informaltable"><table class="informaltable" width="100%" border="0"> 245<colgroup> 246<col width="150px" class="parameters_name"> 247<col class="parameters_description"> 248<col width="200px" class="parameters_annotations"> 249</colgroup> 250<tbody><tr> 251<td class="parameter_name"><p>ad</p></td> 252<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#GstGLAsyncDebug" title="GstGLAsyncDebug"><span class="type">GstGLAsyncDebug</span></a></p></td> 253<td class="parameter_annotations"> </td> 254</tr></tbody> 255</table></div> 256</div> 257</div> 258<hr> 259<div class="refsect2"> 260<a name="gst-gl-async-debug-freeze"></a><h3>gst_gl_async_debug_freeze ()</h3> 261<pre class="programlisting"><span class="returnvalue">void</span> 262gst_gl_async_debug_freeze (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#GstGLAsyncDebug" title="GstGLAsyncDebug"><span class="type">GstGLAsyncDebug</span></a> *ad</code></em>);</pre> 263<p>freeze the debug output. While frozen, any call to 264<a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#gst-gl-async-debug-output-log-msg" title="gst_gl_async_debug_output_log_msg ()"><code class="function">gst_gl_async_debug_output_log_msg()</code></a> will not output any messages but 265subsequent calls to <a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#gst-gl-async-debug-store-log-msg" title="gst_gl_async_debug_store_log_msg ()"><code class="function">gst_gl_async_debug_store_log_msg()</code></a> will overwrite previous 266messages.</p> 267<div class="refsect3"> 268<a name="gst-gl-async-debug-freeze.parameters"></a><h4>Parameters</h4> 269<div class="informaltable"><table class="informaltable" width="100%" border="0"> 270<colgroup> 271<col width="150px" class="parameters_name"> 272<col class="parameters_description"> 273<col width="200px" class="parameters_annotations"> 274</colgroup> 275<tbody><tr> 276<td class="parameter_name"><p>ad</p></td> 277<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#GstGLAsyncDebug" title="GstGLAsyncDebug"><span class="type">GstGLAsyncDebug</span></a></p></td> 278<td class="parameter_annotations"> </td> 279</tr></tbody> 280</table></div> 281</div> 282<p class="since">Since: <a class="link" href="ix08.html#api-index-1.8">1.8</a></p> 283</div> 284<hr> 285<div class="refsect2"> 286<a name="gst-gl-async-debug-thaw"></a><h3>gst_gl_async_debug_thaw ()</h3> 287<pre class="programlisting"><span class="returnvalue">void</span> 288gst_gl_async_debug_thaw (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#GstGLAsyncDebug" title="GstGLAsyncDebug"><span class="type">GstGLAsyncDebug</span></a> *ad</code></em>);</pre> 289<p>unfreeze the debug output. See <a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#gst-gl-async-debug-freeze" title="gst_gl_async_debug_freeze ()"><code class="function">gst_gl_async_debug_freeze()</code></a> for what freezing means</p> 290<div class="refsect3"> 291<a name="gst-gl-async-debug-thaw.parameters"></a><h4>Parameters</h4> 292<div class="informaltable"><table class="informaltable" width="100%" border="0"> 293<colgroup> 294<col width="150px" class="parameters_name"> 295<col class="parameters_description"> 296<col width="200px" class="parameters_annotations"> 297</colgroup> 298<tbody><tr> 299<td class="parameter_name"><p>ad</p></td> 300<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#GstGLAsyncDebug" title="GstGLAsyncDebug"><span class="type">GstGLAsyncDebug</span></a></p></td> 301<td class="parameter_annotations"> </td> 302</tr></tbody> 303</table></div> 304</div> 305<p class="since">Since: <a class="link" href="ix08.html#api-index-1.8">1.8</a></p> 306</div> 307<hr> 308<div class="refsect2"> 309<a name="gst-gl-async-debug-output-log-msg"></a><h3>gst_gl_async_debug_output_log_msg ()</h3> 310<pre class="programlisting"><span class="returnvalue">void</span> 311gst_gl_async_debug_output_log_msg (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#GstGLAsyncDebug" title="GstGLAsyncDebug"><span class="type">GstGLAsyncDebug</span></a> *ad</code></em>);</pre> 312<p>Outputs a previously stored debug message.</p> 313<div class="refsect3"> 314<a name="gst-gl-async-debug-output-log-msg.parameters"></a><h4>Parameters</h4> 315<div class="informaltable"><table class="informaltable" width="100%" border="0"> 316<colgroup> 317<col width="150px" class="parameters_name"> 318<col class="parameters_description"> 319<col width="200px" class="parameters_annotations"> 320</colgroup> 321<tbody><tr> 322<td class="parameter_name"><p>ad</p></td> 323<td class="parameter_description"><p>the <a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#GstGLAsyncDebug" title="GstGLAsyncDebug"><span class="type">GstGLAsyncDebug</span></a> to store the message in</p></td> 324<td class="parameter_annotations"> </td> 325</tr></tbody> 326</table></div> 327</div> 328</div> 329<hr> 330<div class="refsect2"> 331<a name="gst-gl-async-debug-store-log-msg"></a><h3>gst_gl_async_debug_store_log_msg ()</h3> 332<pre class="programlisting"><span class="returnvalue">void</span> 333gst_gl_async_debug_store_log_msg (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#GstGLAsyncDebug" title="GstGLAsyncDebug"><span class="type">GstGLAsyncDebug</span></a> *ad</code></em>, 334 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/gstreamer-GstInfo.html#GstDebugCategory"><span class="type">GstDebugCategory</span></a> *cat</code></em>, 335 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/gstreamer-GstInfo.html#GstDebugLevel"><span class="type">GstDebugLevel</span></a> level</code></em>, 336 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file</code></em>, 337 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *function</code></em>, 338 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> line</code></em>, 339 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> *object</code></em>, 340 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *format</code></em>, 341 <em class="parameter"><code>...</code></em>);</pre> 342<p>Stores a debug message for later output by <a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#gst-gl-async-debug-output-log-msg" title="gst_gl_async_debug_output_log_msg ()"><code class="function">gst_gl_async_debug_output_log_msg()</code></a></p> 343<div class="refsect3"> 344<a name="gst-gl-async-debug-store-log-msg.parameters"></a><h4>Parameters</h4> 345<div class="informaltable"><table class="informaltable" width="100%" border="0"> 346<colgroup> 347<col width="150px" class="parameters_name"> 348<col class="parameters_description"> 349<col width="200px" class="parameters_annotations"> 350</colgroup> 351<tbody> 352<tr> 353<td class="parameter_name"><p>ad</p></td> 354<td class="parameter_description"><p>the <a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#GstGLAsyncDebug" title="GstGLAsyncDebug"><span class="type">GstGLAsyncDebug</span></a> to store the message in</p></td> 355<td class="parameter_annotations"> </td> 356</tr> 357<tr> 358<td class="parameter_name"><p>cat</p></td> 359<td class="parameter_description"><p>the <a href="/usr/share/gtk-doc/html/gstreamer-1.0/gstreamer-GstInfo.html#GstDebugCategory"><span class="type">GstDebugCategory</span></a> to output the message in</p></td> 360<td class="parameter_annotations"> </td> 361</tr> 362<tr> 363<td class="parameter_name"><p>level</p></td> 364<td class="parameter_description"><p>the <span class="type">GstLevel</span></p></td> 365<td class="parameter_annotations"> </td> 366</tr> 367<tr> 368<td class="parameter_name"><p>file</p></td> 369<td class="parameter_description"><p>the file where the debug message originates from</p></td> 370<td class="parameter_annotations"> </td> 371</tr> 372<tr> 373<td class="parameter_name"><p>function</p></td> 374<td class="parameter_description"><p>the function where the debug message originates from</p></td> 375<td class="parameter_annotations"> </td> 376</tr> 377<tr> 378<td class="parameter_name"><p>line</p></td> 379<td class="parameter_description"><p>the line in <em class="parameter"><code>file</code></em> 380where the debug message originates from</p></td> 381<td class="parameter_annotations"> </td> 382</tr> 383<tr> 384<td class="parameter_name"><p>object</p></td> 385<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> to associate with the debug message. </p></td> 386<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td> 387</tr> 388<tr> 389<td class="parameter_name"><p>format</p></td> 390<td class="parameter_description"><p>a printf style format string</p></td> 391<td class="parameter_annotations"> </td> 392</tr> 393<tr> 394<td class="parameter_name"><p>...</p></td> 395<td class="parameter_description"><p>the list of arguments for <em class="parameter"><code>format</code></em> 396</p></td> 397<td class="parameter_annotations"> </td> 398</tr> 399</tbody> 400</table></div> 401</div> 402<p class="since">Since: <a class="link" href="ix08.html#api-index-1.8">1.8</a></p> 403</div> 404<hr> 405<div class="refsect2"> 406<a name="gst-gl-async-debug-store-log-msg-valist"></a><h3>gst_gl_async_debug_store_log_msg_valist ()</h3> 407<pre class="programlisting"><span class="returnvalue">void</span> 408gst_gl_async_debug_store_log_msg_valist 409 (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#GstGLAsyncDebug" title="GstGLAsyncDebug"><span class="type">GstGLAsyncDebug</span></a> *ad</code></em>, 410 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/gstreamer-GstInfo.html#GstDebugCategory"><span class="type">GstDebugCategory</span></a> *cat</code></em>, 411 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/gstreamer-GstInfo.html#GstDebugLevel"><span class="type">GstDebugLevel</span></a> level</code></em>, 412 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *file</code></em>, 413 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *function</code></em>, 414 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> line</code></em>, 415 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> *object</code></em>, 416 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *format</code></em>, 417 <em class="parameter"><code><span class="type">va_list</span> varargs</code></em>);</pre> 418<p>Stores a debug message for later output by <a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#gst-gl-async-debug-output-log-msg" title="gst_gl_async_debug_output_log_msg ()"><code class="function">gst_gl_async_debug_output_log_msg()</code></a></p> 419<div class="refsect3"> 420<a name="gst-gl-async-debug-store-log-msg-valist.parameters"></a><h4>Parameters</h4> 421<div class="informaltable"><table class="informaltable" width="100%" border="0"> 422<colgroup> 423<col width="150px" class="parameters_name"> 424<col class="parameters_description"> 425<col width="200px" class="parameters_annotations"> 426</colgroup> 427<tbody> 428<tr> 429<td class="parameter_name"><p>ad</p></td> 430<td class="parameter_description"><p>the <a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#GstGLAsyncDebug" title="GstGLAsyncDebug"><span class="type">GstGLAsyncDebug</span></a> to store the message in</p></td> 431<td class="parameter_annotations"> </td> 432</tr> 433<tr> 434<td class="parameter_name"><p>cat</p></td> 435<td class="parameter_description"><p>the <a href="/usr/share/gtk-doc/html/gstreamer-1.0/gstreamer-GstInfo.html#GstDebugCategory"><span class="type">GstDebugCategory</span></a> to output the message in</p></td> 436<td class="parameter_annotations"> </td> 437</tr> 438<tr> 439<td class="parameter_name"><p>level</p></td> 440<td class="parameter_description"><p>the <span class="type">GstLevel</span></p></td> 441<td class="parameter_annotations"> </td> 442</tr> 443<tr> 444<td class="parameter_name"><p>file</p></td> 445<td class="parameter_description"><p>the file where the debug message originates from</p></td> 446<td class="parameter_annotations"> </td> 447</tr> 448<tr> 449<td class="parameter_name"><p>function</p></td> 450<td class="parameter_description"><p>the function where the debug message originates from</p></td> 451<td class="parameter_annotations"> </td> 452</tr> 453<tr> 454<td class="parameter_name"><p>line</p></td> 455<td class="parameter_description"><p>the line in <em class="parameter"><code>file</code></em> 456where the debug message originates from</p></td> 457<td class="parameter_annotations"> </td> 458</tr> 459<tr> 460<td class="parameter_name"><p>object</p></td> 461<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> to associate with the debug message. </p></td> 462<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td> 463</tr> 464<tr> 465<td class="parameter_name"><p>format</p></td> 466<td class="parameter_description"><p>a printf style format string</p></td> 467<td class="parameter_annotations"> </td> 468</tr> 469<tr> 470<td class="parameter_name"><p>varargs</p></td> 471<td class="parameter_description"><p>the list of arguments for <em class="parameter"><code>format</code></em> 472</p></td> 473<td class="parameter_annotations"> </td> 474</tr> 475</tbody> 476</table></div> 477</div> 478<p class="since">Since: <a class="link" href="ix08.html#api-index-1.8">1.8</a></p> 479</div> 480<hr> 481<div class="refsect2"> 482<a name="GST-GL-ASYNC-CAT-LEVEL-LOG-valist"></a><h3>GST_GL_ASYNC_CAT_LEVEL_LOG_valist()</h3> 483<pre class="programlisting">#define GST_GL_ASYNC_CAT_LEVEL_LOG_valist(ad,cat,level,object,format,varargs)</pre> 484<p>Stores a debug message in <em class="parameter"><code>ad</code></em> 485 for later output</p> 486<div class="refsect3"> 487<a name="GST-GL-ASYNC-CAT-LEVEL-LOG-valist.parameters"></a><h4>Parameters</h4> 488<div class="informaltable"><table class="informaltable" width="100%" border="0"> 489<colgroup> 490<col width="150px" class="parameters_name"> 491<col class="parameters_description"> 492<col width="200px" class="parameters_annotations"> 493</colgroup> 494<tbody> 495<tr> 496<td class="parameter_name"><p>ad</p></td> 497<td class="parameter_description"><p>the <a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#GstGLAsyncDebug" title="GstGLAsyncDebug"><span class="type">GstGLAsyncDebug</span></a> to store the message in</p></td> 498<td class="parameter_annotations"> </td> 499</tr> 500<tr> 501<td class="parameter_name"><p>cat</p></td> 502<td class="parameter_description"><p>the <a href="/usr/share/gtk-doc/html/gstreamer-1.0/gstreamer-GstInfo.html#GstDebugCategory"><span class="type">GstDebugCategory</span></a> to output the message in</p></td> 503<td class="parameter_annotations"> </td> 504</tr> 505<tr> 506<td class="parameter_name"><p>level</p></td> 507<td class="parameter_description"><p>the <span class="type">GstLevel</span></p></td> 508<td class="parameter_annotations"> </td> 509</tr> 510<tr> 511<td class="parameter_name"><p>object</p></td> 512<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> to associate with the debug message. </p></td> 513<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td> 514</tr> 515<tr> 516<td class="parameter_name"><p>format</p></td> 517<td class="parameter_description"><p>a printf style format string</p></td> 518<td class="parameter_annotations"> </td> 519</tr> 520<tr> 521<td class="parameter_name"><p>varargs</p></td> 522<td class="parameter_description"><p>the list of arguments for <em class="parameter"><code>format</code></em> 523</p></td> 524<td class="parameter_annotations"> </td> 525</tr> 526</tbody> 527</table></div> 528</div> 529</div> 530<hr> 531<div class="refsect2"> 532<a name="GST-GL-ASYNC-CAT-LEVEL-LOG:CAPS"></a><h3>GST_GL_ASYNC_CAT_LEVEL_LOG()</h3> 533<pre class="programlisting">#define GST_GL_ASYNC_CAT_LEVEL_LOG(ad,cat,level,object,format,...)</pre> 534<p>Stores a debug message in <em class="parameter"><code>ad</code></em> 535 for later output</p> 536<div class="refsect3"> 537<a name="GST-GL-ASYNC-CAT-LEVEL-LOG.parameters"></a><h4>Parameters</h4> 538<div class="informaltable"><table class="informaltable" width="100%" border="0"> 539<colgroup> 540<col width="150px" class="parameters_name"> 541<col class="parameters_description"> 542<col width="200px" class="parameters_annotations"> 543</colgroup> 544<tbody> 545<tr> 546<td class="parameter_name"><p>ad</p></td> 547<td class="parameter_description"><p>the <a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#GstGLAsyncDebug" title="GstGLAsyncDebug"><span class="type">GstGLAsyncDebug</span></a> to store the message in</p></td> 548<td class="parameter_annotations"> </td> 549</tr> 550<tr> 551<td class="parameter_name"><p>cat</p></td> 552<td class="parameter_description"><p>the <a href="/usr/share/gtk-doc/html/gstreamer-1.0/gstreamer-GstInfo.html#GstDebugCategory"><span class="type">GstDebugCategory</span></a> to output the message in</p></td> 553<td class="parameter_annotations"> </td> 554</tr> 555<tr> 556<td class="parameter_name"><p>level</p></td> 557<td class="parameter_description"><p>the <span class="type">GstLevel</span></p></td> 558<td class="parameter_annotations"> </td> 559</tr> 560<tr> 561<td class="parameter_name"><p>object</p></td> 562<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> to associate with the debug message. </p></td> 563<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td> 564</tr> 565<tr> 566<td class="parameter_name"><p>format</p></td> 567<td class="parameter_description"><p>a printf style format string</p></td> 568<td class="parameter_annotations"> </td> 569</tr> 570<tr> 571<td class="parameter_name"><p>...</p></td> 572<td class="parameter_description"><p>the list of arguments for <em class="parameter"><code>format</code></em> 573</p></td> 574<td class="parameter_annotations"> </td> 575</tr> 576</tbody> 577</table></div> 578</div> 579</div> 580<hr> 581<div class="refsect2"> 582<a name="gst-gl-insert-debug-marker"></a><h3>gst_gl_insert_debug_marker ()</h3> 583<pre class="programlisting"><span class="returnvalue">void</span> 584gst_gl_insert_debug_marker (<em class="parameter"><code><a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a> *context</code></em>, 585 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *format</code></em>, 586 <em class="parameter"><code>...</code></em>);</pre> 587<p>Inserts a marker into a GL debug stream. Requires the 'gldebugmarker' 588debug category to be at least <a href="/usr/share/gtk-doc/html/gstreamer-1.0/gstreamer-GstInfo.html#GST-LEVEL-FIXME:CAPS"><code class="literal">GST_LEVEL_FIXME</code></a>.</p> 589<div class="refsect3"> 590<a name="gst-gl-insert-debug-marker.parameters"></a><h4>Parameters</h4> 591<div class="informaltable"><table class="informaltable" width="100%" border="0"> 592<colgroup> 593<col width="150px" class="parameters_name"> 594<col class="parameters_description"> 595<col width="200px" class="parameters_annotations"> 596</colgroup> 597<tbody> 598<tr> 599<td class="parameter_name"><p>context</p></td> 600<td class="parameter_description"><p>a <a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a></p></td> 601<td class="parameter_annotations"> </td> 602</tr> 603<tr> 604<td class="parameter_name"><p>format</p></td> 605<td class="parameter_description"><p>a printf-style format string</p></td> 606<td class="parameter_annotations"> </td> 607</tr> 608<tr> 609<td class="parameter_name"><p>...</p></td> 610<td class="parameter_description"><p>arguments form <em class="parameter"><code>format</code></em> 611</p></td> 612<td class="parameter_annotations"> </td> 613</tr> 614</tbody> 615</table></div> 616</div> 617<p class="since">Since: <a class="link" href="ix08.html#api-index-1.8">1.8</a></p> 618</div> 619</div> 620<div class="refsect1"> 621<a name="gst-plugins-base-libs-OpenGL-debugging.other_details"></a><h2>Types and Values</h2> 622<div class="refsect2"> 623<a name="GstGLAsyncDebug"></a><h3>GstGLAsyncDebug</h3> 624<pre class="programlisting">typedef struct { 625} GstGLAsyncDebug; 626</pre> 627<p><a class="link" href="gst-plugins-base-libs-OpenGL-debugging.html#GstGLAsyncDebug" title="GstGLAsyncDebug"><span class="type">GstGLAsyncDebug</span></a> an opaque structure and should only be accessed through the 628provided API.</p> 629</div> 630</div> 631<div class="refsect1"> 632<a name="gst-plugins-base-libs-OpenGL-debugging.see-also"></a><h2>See Also</h2> 633<p><a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a></p> 634</div> 635</div> 636<div class="footer"> 637<hr>Generated by GTK-Doc V1.28</div> 638</body> 639</html>