wut/gx2_2debug_8h_source.html

227 lines
36 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>wut: /home/runner/work/wut/wut/include/gx2/debug.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">wut<span id="projectnumber">&#160;v1.9.1</span>
</div>
<div id="projectbrief">Wii U Toolchain</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function() { init_codefold(0); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_64fe89c4a61f5742775721f1d8222d0c.html">gx2</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">debug.h</div></div>
</div><!--header-->
<div class="contents">
<a href="gx2_2debug_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#include &lt;<a class="code" href="wut_8h.html">wut.h</a>&gt;</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="preprocessor">#include &quot;<a class="code" href="gx2r_2surface_8h.html">surface.h</a>&quot;</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span> </div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> </div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"><a class="line" href="group__gx2__debug.html#gabfcc08b8614628fae95cf4775cf91752"> 15</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="structGX2DebugCaptureInterface.html">GX2DebugCaptureInterface</a> <a class="code hl_struct" href="structGX2DebugCaptureInterface.html">GX2DebugCaptureInterface</a>;</div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> </div>
<div class="foldopen" id="foldopen00017" data-start="{" data-end="};">
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"><a class="line" href="group__gx2__debug.html#ga13750166e96ff226d8183225ea3b4679"> 17</a></span><span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code hl_enumeration" href="group__gx2__debug.html#ga13750166e96ff226d8183225ea3b4679">GX2DebugCaptureInterfaceVersion</a></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span>{</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"><a class="line" href="group__gx2__debug.html#gga13750166e96ff226d8183225ea3b4679a1aceebb070441ffa42f5d1a3ed015504"> 19</a></span> <a class="code hl_enumvalue" href="group__gx2__debug.html#gga13750166e96ff226d8183225ea3b4679a1aceebb070441ffa42f5d1a3ed015504">GX2_DEBUG_CAPTURE_INTERFACE_VERSION</a> = 1,</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"><a class="line" href="group__gx2__debug.html#gacd8e3424dae961f310271c11d06eb486"> 20</a></span>} <a class="code hl_enumeration" href="group__gx2__debug.html#ga13750166e96ff226d8183225ea3b4679">GX2DebugCaptureInterfaceVersion</a>;</div>
</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> </div>
<div class="foldopen" id="foldopen00023" data-start="{" data-end="};">
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="group__gx2__debug.html#ga2d14451517a0f5ee0657435081bbe01b"> 23</a></span><span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code hl_enumeration" href="group__gx2__debug.html#ga2d14451517a0f5ee0657435081bbe01b">GX2DebugCaptureStartFlags</a></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span>{</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"><a class="line" href="group__gx2__debug.html#gga2d14451517a0f5ee0657435081bbe01ba298a91e9d3d4bc9656b085d6bafe95b9"> 26</a></span> <a class="code hl_enumvalue" href="group__gx2__debug.html#gga2d14451517a0f5ee0657435081bbe01ba298a91e9d3d4bc9656b085d6bafe95b9">GX2_DEBUG_CAPTURE_START_FLAGS_NONE</a> = 0,</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> </div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="group__gx2__debug.html#gga2d14451517a0f5ee0657435081bbe01babb83924403f19c795ee92ec5eea51efe"> 29</a></span> <a class="code hl_enumvalue" href="group__gx2__debug.html#gga2d14451517a0f5ee0657435081bbe01babb83924403f19c795ee92ec5eea51efe">GX2_DEBUG_CAPTURE_START_FLAGS_DISABLE_GX2DRAWDONE</a> = 1,</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="group__gx2__debug.html#ga9a387b56d8943e1bb69a857096800377"> 30</a></span>} <a class="code hl_enumeration" href="group__gx2__debug.html#ga2d14451517a0f5ee0657435081bbe01b">GX2DebugCaptureStartFlags</a>;</div>
</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> </div>
<div class="foldopen" id="foldopen00033" data-start="{" data-end="};">
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="group__gx2__debug.html#gaaaeb82ee28c72bd7d22c0425626e35e4"> 33</a></span><span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code hl_enumeration" href="group__gx2__debug.html#gaaaeb82ee28c72bd7d22c0425626e35e4">GX2DebugCaptureEndFlags</a></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span>{</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"><a class="line" href="group__gx2__debug.html#ggaaaeb82ee28c72bd7d22c0425626e35e4a13c1d5c232a8b7e88a07d1873c456f66"> 36</a></span> <a class="code hl_enumvalue" href="group__gx2__debug.html#ggaaaeb82ee28c72bd7d22c0425626e35e4a13c1d5c232a8b7e88a07d1873c456f66">GX2_DEBUG_CAPTURE_END_FLAGS_NONE</a> = 0,</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> </div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"><a class="line" href="group__gx2__debug.html#ggaaaeb82ee28c72bd7d22c0425626e35e4ada316251b32404b3632751ebd4fc57b6"> 39</a></span> <a class="code hl_enumvalue" href="group__gx2__debug.html#ggaaaeb82ee28c72bd7d22c0425626e35e4ada316251b32404b3632751ebd4fc57b6">GX2_DEBUG_CAPTURE_END_FLAGS_DISABLE_GX2FLUSH</a> = 1,</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="group__gx2__debug.html#gaefc6ecef69ddaf0ad880088ae377ab96"> 40</a></span>} <a class="code hl_enumeration" href="group__gx2__debug.html#gaaaeb82ee28c72bd7d22c0425626e35e4">GX2DebugCaptureEndFlags</a>;</div>
</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> </div>
<div class="foldopen" id="foldopen00042" data-start="{" data-end="};">
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="structGX2DebugCaptureInterface.html"> 42</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structGX2DebugCaptureInterface.html">GX2DebugCaptureInterface</a></div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span>{</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="structGX2DebugCaptureInterface.html#acd99bb05ca015e7d74448acb1deba7ca"> 45</a></span> uint32_t <a class="code hl_variable" href="structGX2DebugCaptureInterface.html#acd99bb05ca015e7d74448acb1deba7ca">version</a>;</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> </div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"><a class="line" href="structGX2DebugCaptureInterface.html#afdd52ac850766c51c16e85f0a9a65d27"> 48</a></span> void (*<a class="code hl_variable" href="structGX2DebugCaptureInterface.html#afdd52ac850766c51c16e85f0a9a65d27">onShutdown</a>)();</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> </div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"><a class="line" href="structGX2DebugCaptureInterface.html#ac553cbbb1ead51f0325bd2395a72ff34"> 51</a></span> void (*<a class="code hl_variable" href="structGX2DebugCaptureInterface.html#ac553cbbb1ead51f0325bd2395a72ff34">setAllocator</a>)();</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> </div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"><a class="line" href="structGX2DebugCaptureInterface.html#a7522f6441e19fb80cdb4b21da744fafb"> 55</a></span> void (*<a class="code hl_variable" href="structGX2DebugCaptureInterface.html#a7522f6441e19fb80cdb4b21da744fafb">onCaptureStart</a>)(<span class="keyword">const</span> <span class="keywordtype">char</span> *filename);</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> </div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"><a class="line" href="structGX2DebugCaptureInterface.html#a1619e28c113273e87bf2339bcd1c5b94"> 58</a></span> void (*<a class="code hl_variable" href="structGX2DebugCaptureInterface.html#a1619e28c113273e87bf2339bcd1c5b94">onCaptureEnd</a>)();</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> </div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"><a class="line" href="structGX2DebugCaptureInterface.html#a0ad1a11f9b97259ab856807f1a5f5c49"> 61</a></span> <a class="code hl_typedef" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a> (*<a class="code hl_variable" href="structGX2DebugCaptureInterface.html#a0ad1a11f9b97259ab856807f1a5f5c49">isCaptureEnabled</a>)();</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> </div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"><a class="line" href="structGX2DebugCaptureInterface.html#a8e670e5f59c71a4799069540f606a80d"> 64</a></span> void (*<a class="code hl_variable" href="structGX2DebugCaptureInterface.html#a8e670e5f59c71a4799069540f606a80d">onAlloc</a>)(<span class="keywordtype">void</span> *ptr, uint32_t size, uint32_t align);</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> </div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"><a class="line" href="structGX2DebugCaptureInterface.html#a68eb0161d4aad36e15c76dd1e30d4ef5"> 67</a></span> void (*<a class="code hl_variable" href="structGX2DebugCaptureInterface.html#a68eb0161d4aad36e15c76dd1e30d4ef5">onFree</a>)(<span class="keywordtype">void</span> *ptr);</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> </div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"><a class="line" href="structGX2DebugCaptureInterface.html#aa6e1c45ba923a88daa34e7c47489be57"> 70</a></span> void (*<a class="code hl_variable" href="structGX2DebugCaptureInterface.html#aa6e1c45ba923a88daa34e7c47489be57">onUnknownMemory</a>)(<span class="keywordtype">void</span> *ptr, uint32_t size);</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> </div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"><a class="line" href="structGX2DebugCaptureInterface.html#ab4e11ccf77aff665312b7998d06358a8"> 73</a></span> void (*<a class="code hl_variable" href="structGX2DebugCaptureInterface.html#ab4e11ccf77aff665312b7998d06358a8">setOutputSurface</a>)(<a class="code hl_struct" href="group__gx2__surface.html#structGX2Surface">GX2Surface</a> *surface);</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> </div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"><a class="line" href="structGX2DebugCaptureInterface.html#af2b47e53aa2504d49c12ead678e71d48"> 76</a></span> void (*<a class="code hl_variable" href="structGX2DebugCaptureInterface.html#af2b47e53aa2504d49c12ead678e71d48">onSwapScanBuffers</a>)(<a class="code hl_struct" href="group__gx2__surface.html#structGX2Surface">GX2Surface</a> *surface);</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> </div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"><a class="line" href="structGX2DebugCaptureInterface.html#ae1b811e21e2714b747df75c48c7d06ab"> 81</a></span> void (*<a class="code hl_variable" href="structGX2DebugCaptureInterface.html#ae1b811e21e2714b747df75c48c7d06ab">submitToRing</a>)(<span class="keywordtype">void</span> *unk1,</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> uint32_t unk2,</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> uint32_t *unk3,</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> uint64_t *outSubmitTimestamp);</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span>};</div>
</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span>WUT_CHECK_OFFSET(<a class="code hl_struct" href="structGX2DebugCaptureInterface.html">GX2DebugCaptureInterface</a>, 0x00, version);</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span>WUT_CHECK_OFFSET(<a class="code hl_struct" href="structGX2DebugCaptureInterface.html">GX2DebugCaptureInterface</a>, 0x04, onShutdown);</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span>WUT_CHECK_OFFSET(<a class="code hl_struct" href="structGX2DebugCaptureInterface.html">GX2DebugCaptureInterface</a>, 0x08, setAllocator);</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span>WUT_CHECK_OFFSET(<a class="code hl_struct" href="structGX2DebugCaptureInterface.html">GX2DebugCaptureInterface</a>, 0x0C, onCaptureStart);</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span>WUT_CHECK_OFFSET(<a class="code hl_struct" href="structGX2DebugCaptureInterface.html">GX2DebugCaptureInterface</a>, 0x10, onCaptureEnd);</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span>WUT_CHECK_OFFSET(<a class="code hl_struct" href="structGX2DebugCaptureInterface.html">GX2DebugCaptureInterface</a>, 0x14, isCaptureEnabled);</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span>WUT_CHECK_OFFSET(<a class="code hl_struct" href="structGX2DebugCaptureInterface.html">GX2DebugCaptureInterface</a>, 0x18, onAlloc);</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span>WUT_CHECK_OFFSET(<a class="code hl_struct" href="structGX2DebugCaptureInterface.html">GX2DebugCaptureInterface</a>, 0x1C, onFree);</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span>WUT_CHECK_OFFSET(<a class="code hl_struct" href="structGX2DebugCaptureInterface.html">GX2DebugCaptureInterface</a>, 0x20, onUnknownMemory);</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span>WUT_CHECK_OFFSET(<a class="code hl_struct" href="structGX2DebugCaptureInterface.html">GX2DebugCaptureInterface</a>, 0x24, setOutputSurface);</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span>WUT_CHECK_OFFSET(<a class="code hl_struct" href="structGX2DebugCaptureInterface.html">GX2DebugCaptureInterface</a>, 0x28, onSwapScanBuffers);</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span>WUT_CHECK_OFFSET(<a class="code hl_struct" href="structGX2DebugCaptureInterface.html">GX2DebugCaptureInterface</a>, 0x2C, submitToRing);</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span>WUT_CHECK_SIZE(<a class="code hl_struct" href="structGX2DebugCaptureInterface.html">GX2DebugCaptureInterface</a>, 0x30);</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> </div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span><a class="code hl_typedef" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a></div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"><a class="line" href="group__gx2__debug.html#ga2cb9b55fecfb05eea4a17dbd8ff737c8"> 101</a></span><a class="code hl_function" href="group__gx2__debug.html#ga2cb9b55fecfb05eea4a17dbd8ff737c8">_GX2DebugSetCaptureInterface</a>(<a class="code hl_struct" href="structGX2DebugCaptureInterface.html">GX2DebugCaptureInterface</a> *interface);</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> </div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> </div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span><span class="keywordtype">void</span></div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"><a class="line" href="group__gx2__debug.html#ga191ec5ee3f351be76e04d9496e92ed64"> 120</a></span><a class="code hl_function" href="group__gx2__debug.html#ga191ec5ee3f351be76e04d9496e92ed64">GX2DebugCaptureStart</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *filename,</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> <a class="code hl_enumeration" href="group__gx2__debug.html#ga2d14451517a0f5ee0657435081bbe01b">GX2DebugCaptureStartFlags</a> flags);</div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> </div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> </div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span><span class="keywordtype">void</span></div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"><a class="line" href="group__gx2__debug.html#ga61eddc8c56303be08f8c8ab757956975"> 131</a></span><a class="code hl_function" href="group__gx2__debug.html#ga61eddc8c56303be08f8c8ab757956975">GX2DebugCaptureEnd</a>(<a class="code hl_enumeration" href="group__gx2__debug.html#gaaaeb82ee28c72bd7d22c0425626e35e4">GX2DebugCaptureEndFlags</a> flags);</div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> </div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> </div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span><span class="keywordtype">void</span></div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"><a class="line" href="group__gx2__debug.html#gae0fd17485d316fc71ad25b1deda6d90c"> 143</a></span><a class="code hl_function" href="group__gx2__debug.html#gae0fd17485d316fc71ad25b1deda6d90c">GX2DebugCaptureFrame</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *filename);</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> </div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> </div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span><span class="keywordtype">void</span></div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"><a class="line" href="group__gx2__debug.html#ga64f51604a706365372fbed2dfc619229"> 155</a></span><a class="code hl_function" href="group__gx2__debug.html#ga64f51604a706365372fbed2dfc619229">GX2DebugCaptureFrames</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *filename,</div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> uint32_t count);</div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> </div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span><span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span>}</div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span> </div>
<div class="ttc" id="agroup__gx2__debug_html_ga13750166e96ff226d8183225ea3b4679"><div class="ttname"><a href="group__gx2__debug.html#ga13750166e96ff226d8183225ea3b4679">GX2DebugCaptureInterfaceVersion</a></div><div class="ttdeci">GX2DebugCaptureInterfaceVersion</div><div class="ttdef"><b>Definition</b> <a href="gx2_2debug_8h_source.html#l00017">debug.h:18</a></div></div>
<div class="ttc" id="agroup__gx2__debug_html_ga191ec5ee3f351be76e04d9496e92ed64"><div class="ttname"><a href="group__gx2__debug.html#ga191ec5ee3f351be76e04d9496e92ed64">GX2DebugCaptureStart</a></div><div class="ttdeci">void GX2DebugCaptureStart(const char *filename, GX2DebugCaptureStartFlags flags)</div><div class="ttdoc">Starts a debug capture.</div></div>
<div class="ttc" id="agroup__gx2__debug_html_ga2cb9b55fecfb05eea4a17dbd8ff737c8"><div class="ttname"><a href="group__gx2__debug.html#ga2cb9b55fecfb05eea4a17dbd8ff737c8">_GX2DebugSetCaptureInterface</a></div><div class="ttdeci">BOOL _GX2DebugSetCaptureInterface(GX2DebugCaptureInterface *interface)</div></div>
<div class="ttc" id="agroup__gx2__debug_html_ga2d14451517a0f5ee0657435081bbe01b"><div class="ttname"><a href="group__gx2__debug.html#ga2d14451517a0f5ee0657435081bbe01b">GX2DebugCaptureStartFlags</a></div><div class="ttdeci">GX2DebugCaptureStartFlags</div><div class="ttdoc">Options for GX2DebugCaptureStart.</div><div class="ttdef"><b>Definition</b> <a href="gx2_2debug_8h_source.html#l00023">debug.h:24</a></div></div>
<div class="ttc" id="agroup__gx2__debug_html_ga61eddc8c56303be08f8c8ab757956975"><div class="ttname"><a href="group__gx2__debug.html#ga61eddc8c56303be08f8c8ab757956975">GX2DebugCaptureEnd</a></div><div class="ttdeci">void GX2DebugCaptureEnd(GX2DebugCaptureEndFlags flags)</div><div class="ttdoc">Ends a debug capture.</div></div>
<div class="ttc" id="agroup__gx2__debug_html_ga64f51604a706365372fbed2dfc619229"><div class="ttname"><a href="group__gx2__debug.html#ga64f51604a706365372fbed2dfc619229">GX2DebugCaptureFrames</a></div><div class="ttdeci">void GX2DebugCaptureFrames(const char *filename, uint32_t count)</div><div class="ttdoc">Will capture count frames.</div></div>
<div class="ttc" id="agroup__gx2__debug_html_gaaaeb82ee28c72bd7d22c0425626e35e4"><div class="ttname"><a href="group__gx2__debug.html#gaaaeb82ee28c72bd7d22c0425626e35e4">GX2DebugCaptureEndFlags</a></div><div class="ttdeci">GX2DebugCaptureEndFlags</div><div class="ttdoc">Options for GX2DebugCaptureEnd.</div><div class="ttdef"><b>Definition</b> <a href="gx2_2debug_8h_source.html#l00033">debug.h:34</a></div></div>
<div class="ttc" id="agroup__gx2__debug_html_gae0fd17485d316fc71ad25b1deda6d90c"><div class="ttname"><a href="group__gx2__debug.html#gae0fd17485d316fc71ad25b1deda6d90c">GX2DebugCaptureFrame</a></div><div class="ttdeci">void GX2DebugCaptureFrame(const char *filename)</div><div class="ttdoc">Will capture the next frame.</div></div>
<div class="ttc" id="agroup__gx2__debug_html_gga13750166e96ff226d8183225ea3b4679a1aceebb070441ffa42f5d1a3ed015504"><div class="ttname"><a href="group__gx2__debug.html#gga13750166e96ff226d8183225ea3b4679a1aceebb070441ffa42f5d1a3ed015504">GX2_DEBUG_CAPTURE_INTERFACE_VERSION</a></div><div class="ttdeci">@ GX2_DEBUG_CAPTURE_INTERFACE_VERSION</div><div class="ttdef"><b>Definition</b> <a href="gx2_2debug_8h_source.html#l00019">debug.h:19</a></div></div>
<div class="ttc" id="agroup__gx2__debug_html_gga2d14451517a0f5ee0657435081bbe01ba298a91e9d3d4bc9656b085d6bafe95b9"><div class="ttname"><a href="group__gx2__debug.html#gga2d14451517a0f5ee0657435081bbe01ba298a91e9d3d4bc9656b085d6bafe95b9">GX2_DEBUG_CAPTURE_START_FLAGS_NONE</a></div><div class="ttdeci">@ GX2_DEBUG_CAPTURE_START_FLAGS_NONE</div><div class="ttdoc">When set GX2DebugCaptureStart will call GX2DrawDone before the capture is started.</div><div class="ttdef"><b>Definition</b> <a href="gx2_2debug_8h_source.html#l00026">debug.h:26</a></div></div>
<div class="ttc" id="agroup__gx2__debug_html_gga2d14451517a0f5ee0657435081bbe01babb83924403f19c795ee92ec5eea51efe"><div class="ttname"><a href="group__gx2__debug.html#gga2d14451517a0f5ee0657435081bbe01babb83924403f19c795ee92ec5eea51efe">GX2_DEBUG_CAPTURE_START_FLAGS_DISABLE_GX2DRAWDONE</a></div><div class="ttdeci">@ GX2_DEBUG_CAPTURE_START_FLAGS_DISABLE_GX2DRAWDONE</div><div class="ttdoc">When set GX2DebugCaptureStart will NOT call GX2DrawDone.</div><div class="ttdef"><b>Definition</b> <a href="gx2_2debug_8h_source.html#l00029">debug.h:29</a></div></div>
<div class="ttc" id="agroup__gx2__debug_html_ggaaaeb82ee28c72bd7d22c0425626e35e4a13c1d5c232a8b7e88a07d1873c456f66"><div class="ttname"><a href="group__gx2__debug.html#ggaaaeb82ee28c72bd7d22c0425626e35e4a13c1d5c232a8b7e88a07d1873c456f66">GX2_DEBUG_CAPTURE_END_FLAGS_NONE</a></div><div class="ttdeci">@ GX2_DEBUG_CAPTURE_END_FLAGS_NONE</div><div class="ttdoc">When set GX2DebugCaptureEnd will call GX2Flush before the capture is completed.</div><div class="ttdef"><b>Definition</b> <a href="gx2_2debug_8h_source.html#l00036">debug.h:36</a></div></div>
<div class="ttc" id="agroup__gx2__debug_html_ggaaaeb82ee28c72bd7d22c0425626e35e4ada316251b32404b3632751ebd4fc57b6"><div class="ttname"><a href="group__gx2__debug.html#ggaaaeb82ee28c72bd7d22c0425626e35e4ada316251b32404b3632751ebd4fc57b6">GX2_DEBUG_CAPTURE_END_FLAGS_DISABLE_GX2FLUSH</a></div><div class="ttdeci">@ GX2_DEBUG_CAPTURE_END_FLAGS_DISABLE_GX2FLUSH</div><div class="ttdoc">When set GX2DebugCaptureEnd will NOT call GX2Flush.</div><div class="ttdef"><b>Definition</b> <a href="gx2_2debug_8h_source.html#l00039">debug.h:39</a></div></div>
<div class="ttc" id="agroup__gx2__surface_html_structGX2Surface"><div class="ttname"><a href="group__gx2__surface.html#structGX2Surface">GX2Surface</a></div><div class="ttdef"><b>Definition</b> <a href="gx2_2surface_8h_source.html#l00022">surface.h:23</a></div></div>
<div class="ttc" id="agx2r_2surface_8h_html"><div class="ttname"><a href="gx2r_2surface_8h.html">surface.h</a></div></div>
<div class="ttc" id="astructGX2DebugCaptureInterface_html"><div class="ttname"><a href="structGX2DebugCaptureInterface.html">GX2DebugCaptureInterface</a></div><div class="ttdef"><b>Definition</b> <a href="gx2_2debug_8h_source.html#l00042">debug.h:43</a></div></div>
<div class="ttc" id="astructGX2DebugCaptureInterface_html_a0ad1a11f9b97259ab856807f1a5f5c49"><div class="ttname"><a href="structGX2DebugCaptureInterface.html#a0ad1a11f9b97259ab856807f1a5f5c49">GX2DebugCaptureInterface::isCaptureEnabled</a></div><div class="ttdeci">BOOL(* isCaptureEnabled)()</div><div class="ttdoc">Check if capture is enabled.</div><div class="ttdef"><b>Definition</b> <a href="gx2_2debug_8h_source.html#l00061">debug.h:61</a></div></div>
<div class="ttc" id="astructGX2DebugCaptureInterface_html_a1619e28c113273e87bf2339bcd1c5b94"><div class="ttname"><a href="structGX2DebugCaptureInterface.html#a1619e28c113273e87bf2339bcd1c5b94">GX2DebugCaptureInterface::onCaptureEnd</a></div><div class="ttdeci">void(* onCaptureEnd)()</div><div class="ttdoc">Called from GX2DebugCaptureEnd.</div><div class="ttdef"><b>Definition</b> <a href="gx2_2debug_8h_source.html#l00058">debug.h:58</a></div></div>
<div class="ttc" id="astructGX2DebugCaptureInterface_html_a68eb0161d4aad36e15c76dd1e30d4ef5"><div class="ttname"><a href="structGX2DebugCaptureInterface.html#a68eb0161d4aad36e15c76dd1e30d4ef5">GX2DebugCaptureInterface::onFree</a></div><div class="ttdeci">void(* onFree)(void *ptr)</div><div class="ttdoc">Called when GX2 memory is freed.</div><div class="ttdef"><b>Definition</b> <a href="gx2_2debug_8h_source.html#l00067">debug.h:67</a></div></div>
<div class="ttc" id="astructGX2DebugCaptureInterface_html_a7522f6441e19fb80cdb4b21da744fafb"><div class="ttname"><a href="structGX2DebugCaptureInterface.html#a7522f6441e19fb80cdb4b21da744fafb">GX2DebugCaptureInterface::onCaptureStart</a></div><div class="ttdeci">void(* onCaptureStart)(const char *filename)</div><div class="ttdoc">Called from GX2DebugCaptureStart, the filename is first argument passed in to GX2DebugCaptureStart.</div><div class="ttdef"><b>Definition</b> <a href="gx2_2debug_8h_source.html#l00055">debug.h:55</a></div></div>
<div class="ttc" id="astructGX2DebugCaptureInterface_html_a8e670e5f59c71a4799069540f606a80d"><div class="ttname"><a href="structGX2DebugCaptureInterface.html#a8e670e5f59c71a4799069540f606a80d">GX2DebugCaptureInterface::onAlloc</a></div><div class="ttdeci">void(* onAlloc)(void *ptr, uint32_t size, uint32_t align)</div><div class="ttdoc">Called when GX2 memory is allocated.</div><div class="ttdef"><b>Definition</b> <a href="gx2_2debug_8h_source.html#l00064">debug.h:64</a></div></div>
<div class="ttc" id="astructGX2DebugCaptureInterface_html_aa6e1c45ba923a88daa34e7c47489be57"><div class="ttname"><a href="structGX2DebugCaptureInterface.html#aa6e1c45ba923a88daa34e7c47489be57">GX2DebugCaptureInterface::onUnknownMemory</a></div><div class="ttdeci">void(* onUnknownMemory)(void *ptr, uint32_t size)</div><div class="ttdoc">UNKNOWN: Called when something happens with some memory.</div><div class="ttdef"><b>Definition</b> <a href="gx2_2debug_8h_source.html#l00070">debug.h:70</a></div></div>
<div class="ttc" id="astructGX2DebugCaptureInterface_html_ab4e11ccf77aff665312b7998d06358a8"><div class="ttname"><a href="structGX2DebugCaptureInterface.html#ab4e11ccf77aff665312b7998d06358a8">GX2DebugCaptureInterface::setOutputSurface</a></div><div class="ttdeci">void(* setOutputSurface)(GX2Surface *surface)</div><div class="ttdoc">Called from GX2DebugCaptureStart with the TV scan buffer.</div><div class="ttdef"><b>Definition</b> <a href="gx2_2debug_8h_source.html#l00073">debug.h:73</a></div></div>
<div class="ttc" id="astructGX2DebugCaptureInterface_html_ac553cbbb1ead51f0325bd2395a72ff34"><div class="ttname"><a href="structGX2DebugCaptureInterface.html#ac553cbbb1ead51f0325bd2395a72ff34">GX2DebugCaptureInterface::setAllocator</a></div><div class="ttdeci">void(* setAllocator)()</div><div class="ttdoc">Called from GX2DebugSetCaptureInterface with the default gx2 allocators.</div><div class="ttdef"><b>Definition</b> <a href="gx2_2debug_8h_source.html#l00051">debug.h:51</a></div></div>
<div class="ttc" id="astructGX2DebugCaptureInterface_html_acd99bb05ca015e7d74448acb1deba7ca"><div class="ttname"><a href="structGX2DebugCaptureInterface.html#acd99bb05ca015e7d74448acb1deba7ca">GX2DebugCaptureInterface::version</a></div><div class="ttdeci">uint32_t version</div><div class="ttdoc">Must be set to GX2_DEBUG_CAPTURE_INTERFACE_VERSION.</div><div class="ttdef"><b>Definition</b> <a href="gx2_2debug_8h_source.html#l00045">debug.h:45</a></div></div>
<div class="ttc" id="astructGX2DebugCaptureInterface_html_ae1b811e21e2714b747df75c48c7d06ab"><div class="ttname"><a href="structGX2DebugCaptureInterface.html#ae1b811e21e2714b747df75c48c7d06ab">GX2DebugCaptureInterface::submitToRing</a></div><div class="ttdeci">void(* submitToRing)(void *unk1, uint32_t unk2, uint32_t *unk3, uint64_t *outSubmitTimestamp)</div><div class="ttdoc">Called when a command buffer is ready to be submitted to ring buffer.</div><div class="ttdef"><b>Definition</b> <a href="gx2_2debug_8h_source.html#l00081">debug.h:81</a></div></div>
<div class="ttc" id="astructGX2DebugCaptureInterface_html_af2b47e53aa2504d49c12ead678e71d48"><div class="ttname"><a href="structGX2DebugCaptureInterface.html#af2b47e53aa2504d49c12ead678e71d48">GX2DebugCaptureInterface::onSwapScanBuffers</a></div><div class="ttdeci">void(* onSwapScanBuffers)(GX2Surface *surface)</div><div class="ttdoc">Called from GX2SwapScanBuffers with the TV scan buffer.</div><div class="ttdef"><b>Definition</b> <a href="gx2_2debug_8h_source.html#l00076">debug.h:76</a></div></div>
<div class="ttc" id="astructGX2DebugCaptureInterface_html_afdd52ac850766c51c16e85f0a9a65d27"><div class="ttname"><a href="structGX2DebugCaptureInterface.html#afdd52ac850766c51c16e85f0a9a65d27">GX2DebugCaptureInterface::onShutdown</a></div><div class="ttdeci">void(* onShutdown)()</div><div class="ttdoc">Called from GX2Shutdown.</div><div class="ttdef"><b>Definition</b> <a href="gx2_2debug_8h_source.html#l00048">debug.h:48</a></div></div>
<div class="ttc" id="awut_8h_html"><div class="ttname"><a href="wut_8h.html">wut.h</a></div></div>
<div class="ttc" id="awut__types_8h_html_a975dbe9e4396bf9e0064ce01827fa372"><div class="ttname"><a href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a></div><div class="ttdeci">int32_t BOOL</div><div class="ttdef"><b>Definition</b> <a href="wut__types_8h_source.html#l00007">wut_types.h:7</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>