<!DOCTYPE html>
<html lang='en'>
<head>
<title>app-templates - [Deprecated] For versions &gt;= Guppy use the CMake module instead.</title>
<meta name='generator' content='cgit '/>
<meta name='robots' content='noindex, nofollow'/>
<link rel='stylesheet' type='text/css' href='/cgit-data/cgit.css'/>
<link rel='shortcut icon' href='/favicon.ico'/>
<link rel='alternate' title='Atom feed' href='http://git.automotivelinux.org/apps/app-templates/atom/examples/html5/app/Frontend/index.html?h=halibut_8.0.2' type='application/atom+xml'/>
<link rel='vcs-git' href='https://git.automotivelinux.org/apps/app-templates' title='app-templates Git repository'/>
<link rel='vcs-git' href='https://gerrit.automotivelinux.org/gerrit/apps/app-templates' title='app-templates Git repository'/>
</head>
<body>
<div id="lfcollabprojects-header">
  <div class="gray-diagonal">
    <div class="header-inner">
      <a
        id="lfcollabprojects-logo"
        href="http://collabprojects.linuxfoundation.org"
        >Linux Foundation Collaborative Projects</a
      >
    </div>
  </div>
</div>
<div id='cgit'><table id='header'>
<tr>
<td class='logo' rowspan='2'><a href='/'><img src='/cgit-data/cgit.png' alt='cgit logo'/></a></td>
<td class='main'><a href='/'>index</a> : <a title='app-templates' href='/apps/app-templates/'>app-templates</a></td><td class='form'><form method='get'>
<input type='hidden' name='id' value='d87906a9406c9739f9fa217b6c1d3e76a4b51fa6'/><select name='h' onchange='this.form.submit();'>
<option value='dab'>dab</option>
<option value='eel'>eel</option>
<option value='flounder'>flounder</option>
<option value='guppy'>guppy</option>
<option value='halibut'>halibut</option>
<option value='icefish'>icefish</option>
<option value='jellyfish'>jellyfish</option>
<option value='koi'>koi</option>
<option value='lamprey'>lamprey</option>
<option value='marlin'>marlin</option>
<option value='master'>master</option>
<option value='needlefish'>needlefish</option>
<option value='octopus'>octopus</option>
<option value='pike'>pike</option>
<option value='quillback'>quillback</option>
<option value='ricefish'>ricefish</option>
<option value='salmon'>salmon</option>
<option value='sandbox/claneys/testset-Selection'>sandbox/claneys/testset-Selection</option>
<option value='sandbox/ruke47/xdg-launcher'>sandbox/ruke47/xdg-launcher</option>
<option value='sandbox/sdesneux/4a_master'>sandbox/sdesneux/4a_master</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>[Deprecated] For versions &gt;= Guppy use the CMake module instead.</td><td class='sub right'>Grokmirror user</td></tr></table>
<table class='tabs'><tr><td>
<a href='/apps/app-templates/about/?h=halibut_8.0.2'>about</a><a href='/apps/app-templates/?h=halibut_8.0.2'>summary</a><a href='/apps/app-templates/refs/?h=halibut_8.0.2&amp;id=d87906a9406c9739f9fa217b6c1d3e76a4b51fa6'>refs</a><a href='/apps/app-templates/log/examples/html5/app/Frontend/index.html?h=halibut_8.0.2'>log</a><a href='/apps/app-templates/tree/examples/html5/app/Frontend/index.html?h=halibut_8.0.2&amp;id=d87906a9406c9739f9fa217b6c1d3e76a4b51fa6'>tree</a><a class='active' href='/apps/app-templates/commit/examples/html5/app/Frontend/index.html?h=halibut_8.0.2&amp;id=d87906a9406c9739f9fa217b6c1d3e76a4b51fa6'>commit</a><a href='/apps/app-templates/diff/examples/html5/app/Frontend/index.html?h=halibut_8.0.2&amp;id=d87906a9406c9739f9fa217b6c1d3e76a4b51fa6'>diff</a><a href='/apps/app-templates/stats/examples/html5/app/Frontend/index.html?h=halibut_8.0.2'>stats</a></td><td class='form'><form class='right' method='get' action='/apps/app-templates/log/examples/html5/app/Frontend/index.html'>
<input type='hidden' name='h' value='halibut_8.0.2'/><input type='hidden' name='id' value='d87906a9406c9739f9fa217b6c1d3e76a4b51fa6'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/apps/app-templates/commit/?h=halibut_8.0.2&amp;id=d87906a9406c9739f9fa217b6c1d3e76a4b51fa6'>root</a>/<a href='/apps/app-templates/commit/examples?h=halibut_8.0.2&amp;id=d87906a9406c9739f9fa217b6c1d3e76a4b51fa6'>examples</a>/<a href='/apps/app-templates/commit/examples/html5?h=halibut_8.0.2&amp;id=d87906a9406c9739f9fa217b6c1d3e76a4b51fa6'>html5</a>/<a href='/apps/app-templates/commit/examples/html5/app?h=halibut_8.0.2&amp;id=d87906a9406c9739f9fa217b6c1d3e76a4b51fa6'>app</a>/<a href='/apps/app-templates/commit/examples/html5/app/Frontend?h=halibut_8.0.2&amp;id=d87906a9406c9739f9fa217b6c1d3e76a4b51fa6'>Frontend</a>/<a href='/apps/app-templates/commit/examples/html5/app/Frontend/index.html?h=halibut_8.0.2&amp;id=d87906a9406c9739f9fa217b6c1d3e76a4b51fa6'>index.html</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='h' value='halibut_8.0.2'/><input type='hidden' name='id' value='d87906a9406c9739f9fa217b6c1d3e76a4b51fa6'/><table><tr><td colspan='2'/></tr><tr><td class='label'>context:</td><td class='ctrl'><select name='context' onchange='this.form.submit();'><option value='1'>1</option><option value='2'>2</option><option value='3' selected='selected'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option><option value='7'>7</option><option value='8'>8</option><option value='9'>9</option><option value='10'>10</option><option value='15'>15</option><option value='20'>20</option><option value='25'>25</option><option value='30'>30</option><option value='35'>35</option><option value='40'>40</option></select></td></tr><tr><td class='label'>space:</td><td class='ctrl'><select name='ignorews' onchange='this.form.submit();'><option value='0' selected='selected'>include</option><option value='1'>ignore</option></select></td></tr><tr><td class='label'>mode:</td><td class='ctrl'><select name='dt' onchange='this.form.submit();'><option value='0' selected='selected'>unified</option><option value='1'>ssdiff</option><option value='2'>stat only</option></select></td></tr><tr><td/><td class='ctrl'><noscript><input type='submit' value='reload'/></noscript></td></tr></table></form></div><table summary='commit info' class='commit-info'>
<tr><th>author</th><td><span class='libravatar'><img class='inline' src='//seccdn.libravatar.org/avatar/82fd463e22a3d6002a0fb648ca8460d5?s=13&amp;d=retro' /><img class='onhover' src='//seccdn.libravatar.org/avatar/82fd463e22a3d6002a0fb648ca8460d5?s=128&amp;d=retro' /></span>Sebastien Douheret &lt;sebastien.douheret@iot.bzh&gt;</td><td class='right'>2019-06-27 17:55:48 +0200</td></tr>
<tr><th>committer</th><td><span class='libravatar'><img class='inline' src='//seccdn.libravatar.org/avatar/82fd463e22a3d6002a0fb648ca8460d5?s=13&amp;d=retro' /><img class='onhover' src='//seccdn.libravatar.org/avatar/82fd463e22a3d6002a0fb648ca8460d5?s=128&amp;d=retro' /></span>Sebastien Douheret &lt;sebastien.douheret@iot.bzh&gt;</td><td class='right'>2019-06-27 17:55:48 +0200</td></tr>
<tr><th>commit</th><td colspan='2' class='sha1'><a href='/apps/app-templates/commit/examples/html5/app/Frontend/index.html?h=halibut_8.0.2&amp;id=d87906a9406c9739f9fa217b6c1d3e76a4b51fa6'>d87906a9406c9739f9fa217b6c1d3e76a4b51fa6</a> (<a href='/apps/app-templates/patch/examples/html5/app/Frontend/index.html?id=d87906a9406c9739f9fa217b6c1d3e76a4b51fa6'>patch</a>)</td></tr>
<tr><th>tree</th><td colspan='2' class='sha1'><a href='/apps/app-templates/tree/?h=halibut_8.0.2&amp;id=d87906a9406c9739f9fa217b6c1d3e76a4b51fa6'>ef00ea20605e8d7405c8234ccdc603f0c4b916ab</a> /<a href='/apps/app-templates/tree/examples/html5/app/Frontend/index.html?h=halibut_8.0.2&amp;id=d87906a9406c9739f9fa217b6c1d3e76a4b51fa6'>examples/html5/app/Frontend/index.html</a></td></tr>
<tr><th>parent</th><td colspan='2' class='sha1'><a href='/apps/app-templates/commit/examples/html5/app/Frontend/index.html?h=halibut_8.0.2&amp;id=77cef644f9a3abd582179f4ebfdd090b62ea66a9'>77cef644f9a3abd582179f4ebfdd090b62ea66a9</a> (<a href='/apps/app-templates/diff/examples/html5/app/Frontend/index.html?h=halibut_8.0.2&amp;id=d87906a9406c9739f9fa217b6c1d3e76a4b51fa6&amp;id2=77cef644f9a3abd582179f4ebfdd090b62ea66a9'>diff</a>)</td></tr></table>
<div class='commit-subject'>Update docs with deprecated message<span class='decoration'><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=needlefish_13.93.0'>needlefish_13.93.0</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=needlefish/13.93.0'>needlefish/13.93.0</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=marlin_12.93.0'>marlin_12.93.0</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=marlin_12.92.0'>marlin_12.92.0</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=marlin_12.91.0'>marlin_12.91.0</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=marlin_12.90.1'>marlin_12.90.1</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=marlin_12.90.0'>marlin_12.90.0</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=marlin/12.93.0'>marlin/12.93.0</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=marlin/12.92.0'>marlin/12.92.0</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=marlin/12.91.0'>marlin/12.91.0</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=marlin/12.90.1'>marlin/12.90.1</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=marlin/12.90.0'>marlin/12.90.0</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=lamprey_11.92.0'>lamprey_11.92.0</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=lamprey_11.91.0'>lamprey_11.91.0</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=lamprey/11.92.0'>lamprey/11.92.0</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=lamprey/11.91.0'>lamprey/11.91.0</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=koi_10.93.0'>koi_10.93.0</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=koi_10.92.0'>koi_10.92.0</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=koi_10.91.0'>koi_10.91.0</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=koi/10.93.0'>koi/10.93.0</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=koi/10.92.0'>koi/10.92.0</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=koi/10.91.0'>koi/10.91.0</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=jellyfish_9.99.4'>jellyfish_9.99.4</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=jellyfish_9.99.3'>jellyfish_9.99.3</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=jellyfish_9.99.2'>jellyfish_9.99.2</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=jellyfish_9.99.1'>jellyfish_9.99.1</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=jellyfish/9.99.4'>jellyfish/9.99.4</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=jellyfish/9.99.3'>jellyfish/9.99.3</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=jellyfish/9.99.2'>jellyfish/9.99.2</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=jellyfish/9.99.1'>jellyfish/9.99.1</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=icefish_8.99.5'>icefish_8.99.5</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=icefish_8.99.4'>icefish_8.99.4</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=icefish_8.99.3'>icefish_8.99.3</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=icefish_8.99.2'>icefish_8.99.2</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=icefish_8.99.1'>icefish_8.99.1</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=icefish/8.99.5'>icefish/8.99.5</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=icefish/8.99.4'>icefish/8.99.4</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=icefish/8.99.3'>icefish/8.99.3</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=icefish/8.99.2'>icefish/8.99.2</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=icefish/8.99.1'>icefish/8.99.1</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=halibut_8.0.6'>halibut_8.0.6</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=halibut_8.0.5'>halibut_8.0.5</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=halibut_8.0.4'>halibut_8.0.4</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=halibut_8.0.3'>halibut_8.0.3</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=halibut_8.0.2'>halibut_8.0.2</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=halibut_8.0.1'>halibut_8.0.1</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=halibut_8.0.0'>halibut_8.0.0</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=halibut_7.99.3'>halibut_7.99.3</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=halibut_7.99.2'>halibut_7.99.2</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=halibut/8.0.6'>halibut/8.0.6</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=halibut/8.0.5'>halibut/8.0.5</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=halibut/8.0.4'>halibut/8.0.4</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=halibut/8.0.3'>halibut/8.0.3</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=halibut/8.0.2'>halibut/8.0.2</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=halibut/8.0.1'>halibut/8.0.1</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=halibut/8.0.0'>halibut/8.0.0</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=halibut/7.99.3'>halibut/7.99.3</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=halibut/7.99.2'>halibut/7.99.2</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=9.99.4'>9.99.4</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=9.99.3'>9.99.3</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=9.99.2'>9.99.2</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=9.99.1'>9.99.1</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=8.99.5'>8.99.5</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=8.99.4'>8.99.4</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=8.99.3'>8.99.3</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=8.99.2'>8.99.2</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=8.99.1'>8.99.1</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=8.0.6'>8.0.6</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=8.0.5'>8.0.5</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=8.0.4'>8.0.4</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=8.0.3'>8.0.3</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=8.0.2'>8.0.2</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=8.0.1'>8.0.1</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=8.0.0'>8.0.0</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=7.99.3'>7.99.3</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=7.99.2'>7.99.2</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=13.93.0'>13.93.0</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=12.93.0'>12.93.0</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=12.92.0'>12.92.0</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=12.91.0'>12.91.0</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=12.90.1'>12.90.1</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=12.90.0'>12.90.0</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=11.92.0'>11.92.0</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=11.91.0'>11.91.0</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=10.93.0'>10.93.0</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=10.92.0'>10.92.0</a><a class='tag-annotated-deco' href='/apps/app-templates/tag/?h=10.91.0'>10.91.0</a><a class='branch-deco' href='/apps/app-templates/log/examples/html5/app/Frontend/index.html?h=halibut'>halibut</a></span></div><div class='commit-msg'>Change-Id: I1e72c255b7714a08a0ec92d504db5d6662f1ae64
Bug-AGL: SPEC-2027
Signed-off-by: Sebastien Douheret &lt;sebastien.douheret@iot.bzh&gt;
</div><div class='diffstat-header'><a href='/apps/app-templates/diff/?h=halibut_8.0.2&amp;id=d87906a9406c9739f9fa217b6c1d3e76a4b51fa6'>Diffstat</a> (limited to 'examples/html5/app/Frontend/index.html')</div><table summary='diffstat' class='diffstat'></table><div class='diffstat-summary'>0 files changed, 0 insertions, 0 deletions</div><table summary='diff' class='diff'><tr><td></td></tr></table></div> <!-- class=content -->
<div id="lfcollabprojects-footer">
  <div class="gray-diagonal">
    <div class="footer-inner">
      <p>Copyright &copy; 2015 The Linux Foundation. All rights reserved.</p>
      <p>
        Linux Foundation, Linux Standard Base, LSB, LSB Certified, IAccessible2,
        MeeGo are registered trademarks of the Linux Foundation.
      </p>
      <p>
        Linux is a registered
        <a href="http://www.linuxfoundation.org/programs/legal/trademark"
          >trademark</a
        >
        of Linus Torvalds. Please see our
        <a href="https://www.linuxfoundation.org/privacy">privacy policy</a>.
      </p>
    </div>
  </div>
</div>
</div> <!-- id=cgit -->
</body>
</html>
0'>350</a>
<a id='n351' href='#n351'>351</a>
<a id='n352' href='#n352'>352</a>
<a id='n353' href='#n353'>353</a>
<a id='n354' href='#n354'>354</a>
<a id='n355' href='#n355'>355</a>
<a id='n356' href='#n356'>356</a>
<a id='n357' href='#n357'>357</a>
<a id='n358' href='#n358'>358</a>
<a id='n359' href='#n359'>359</a>
<a id='n360' href='#n360'>360</a>
<a id='n361' href='#n361'>361</a>
<a id='n362' href='#n362'>362</a>
<a id='n363' href='#n363'>363</a>
<a id='n364' href='#n364'>364</a>
<a id='n365' href='#n365'>365</a>
<a id='n366' href='#n366'>366</a>
<a id='n367' href='#n367'>367</a>
<a id='n368' href='#n368'>368</a>
<a id='n369' href='#n369'>369</a>
<a id='n370' href='#n370'>370</a>
<a id='n371' href='#n371'>371</a>
<a id='n372' href='#n372'>372</a>
<a id='n373' href='#n373'>373</a>
<a id='n374' href='#n374'>374</a>
<a id='n375' href='#n375'>375</a>
<a id='n376' href='#n376'>376</a>
<a id='n377' href='#n377'>377</a>
<a id='n378' href='#n378'>378</a>
<a id='n379' href='#n379'>379</a>
<a id='n380' href='#n380'>380</a>
<a id='n381' href='#n381'>381</a>
<a id='n382' href='#n382'>382</a>
<a id='n383' href='#n383'>383</a>
<a id='n384' href='#n384'>384</a>
<a id='n385' href='#n385'>385</a>
<a id='n386' href='#n386'>386</a>
<a id='n387' href='#n387'>387</a>
<a id='n388' href='#n388'>388</a>
<a id='n389' href='#n389'>389</a>
<a id='n390' href='#n390'>390</a>
<a id='n391' href='#n391'>391</a>
<a id='n392' href='#n392'>392</a>
<a id='n393' href='#n393'>393</a>
<a id='n394' href='#n394'>394</a>
<a id='n395' href='#n395'>395</a>
<a id='n396' href='#n396'>396</a>
<a id='n397' href='#n397'>397</a>
<a id='n398' href='#n398'>398</a>
<a id='n399' href='#n399'>399</a>
<a id='n400' href='#n400'>400</a>
<a id='n401' href='#n401'>401</a>
<a id='n402' href='#n402'>402</a>
<a id='n403' href='#n403'>403</a>
<a id='n404' href='#n404'>404</a>
<a id='n405' href='#n405'>405</a>
<a id='n406' href='#n406'>406</a>
<a id='n407' href='#n407'>407</a>
<a id='n408' href='#n408'>408</a>
<a id='n409' href='#n409'>409</a>
<a id='n410' href='#n410'>410</a>
<a id='n411' href='#n411'>411</a>
<a id='n412' href='#n412'>412</a>
<a id='n413' href='#n413'>413</a>
<a id='n414' href='#n414'>414</a>
<a id='n415' href='#n415'>415</a>
<a id='n416' href='#n416'>416</a>
<a id='n417' href='#n417'>417</a>
<a id='n418' href='#n418'>418</a>
<a id='n419' href='#n419'>419</a>
<a id='n420' href='#n420'>420</a>
<a id='n421' href='#n421'>421</a>
<a id='n422' href='#n422'>422</a>
<a id='n423' href='#n423'>423</a>
<a id='n424' href='#n424'>424</a>
<a id='n425' href='#n425'>425</a>
<a id='n426' href='#n426'>426</a>
<a id='n427' href='#n427'>427</a>
<a id='n428' href='#n428'>428</a>
<a id='n429' href='#n429'>429</a>
<a id='n430' href='#n430'>430</a>
<a id='n431' href='#n431'>431</a>
<a id='n432' href='#n432'>432</a>
<a id='n433' href='#n433'>433</a>
<a id='n434' href='#n434'>434</a>
<a id='n435' href='#n435'>435</a>
<a id='n436' href='#n436'>436</a>
<a id='n437' href='#n437'>437</a>
<a id='n438' href='#n438'>438</a>
<a id='n439' href='#n439'>439</a>
<a id='n440' href='#n440'>440</a>
<a id='n441' href='#n441'>441</a>
<a id='n442' href='#n442'>442</a>
<a id='n443' href='#n443'>443</a>
<a id='n444' href='#n444'>444</a>
<a id='n445' href='#n445'>445</a>
<a id='n446' href='#n446'>446</a>
<a id='n447' href='#n447'>447</a>
<a id='n448' href='#n448'>448</a>
<a id='n449' href='#n449'>449</a>
<a id='n450' href='#n450'>450</a>
<a id='n451' href='#n451'>451</a>
<a id='n452' href='#n452'>452</a>
<a id='n453' href='#n453'>453</a>
<a id='n454' href='#n454'>454</a>
<a id='n455' href='#n455'>455</a>
<a id='n456' href='#n456'>456</a>
<a id='n457' href='#n457'>457</a>
<a id='n458' href='#n458'>458</a>
<a id='n459' href='#n459'>459</a>
<a id='n460' href='#n460'>460</a>
<a id='n461' href='#n461'>461</a>
<a id='n462' href='#n462'>462</a>
<a id='n463' href='#n463'>463</a>
<a id='n464' href='#n464'>464</a>
<a id='n465' href='#n465'>465</a>
<a id='n466' href='#n466'>466</a>
<a id='n467' href='#n467'>467</a>
<a id='n468' href='#n468'>468</a>
<a id='n469' href='#n469'>469</a>
<a id='n470' href='#n470'>470</a>
<a id='n471' href='#n471'>471</a>
<a id='n472' href='#n472'>472</a>
<a id='n473' href='#n473'>473</a>
<a id='n474' href='#n474'>474</a>
<a id='n475' href='#n475'>475</a>
<a id='n476' href='#n476'>476</a>
<a id='n477' href='#n477'>477</a>
<a id='n478' href='#n478'>478</a>
<a id='n479' href='#n479'>479</a>
<a id='n480' href='#n480'>480</a>
<a id='n481' href='#n481'>481</a>
<a id='n482' href='#n482'>482</a>
<a id='n483' href='#n483'>483</a>
<a id='n484' href='#n484'>484</a>
<a id='n485' href='#n485'>485</a>
<a id='n486' href='#n486'>486</a>
<a id='n487' href='#n487'>487</a>
<a id='n488' href='#n488'>488</a>
<a id='n489' href='#n489'>489</a>
<a id='n490' href='#n490'>490</a>
<a id='n491' href='#n491'>491</a>
<a id='n492' href='#n492'>492</a>
<a id='n493' href='#n493'>493</a>
<a id='n494' href='#n494'>494</a>
<a id='n495' href='#n495'>495</a>
<a id='n496' href='#n496'>496</a>
<a id='n497' href='#n497'>497</a>
<a id='n498' href='#n498'>498</a>
<a id='n499' href='#n499'>499</a>
<a id='n500' href='#n500'>500</a>
<a id='n501' href='#n501'>501</a>
<a id='n502' href='#n502'>502</a>
<a id='n503' href='#n503'>503</a>
<a id='n504' href='#n504'>504</a>
<a id='n505' href='#n505'>505</a>
<a id='n506' href='#n506'>506</a>
<a id='n507' href='#n507'>507</a>
<a id='n508' href='#n508'>508</a>
<a id='n509' href='#n509'>509</a>
<a id='n510' href='#n510'>510</a>
<a id='n511' href='#n511'>511</a>
<a id='n512' href='#n512'>512</a>
<a id='n513' href='#n513'>513</a>
<a id='n514' href='#n514'>514</a>
<a id='n515' href='#n515'>515</a>
<a id='n516' href='#n516'>516</a>
<a id='n517' href='#n517'>517</a>
<a id='n518' href='#n518'>518</a>
<a id='n519' href='#n519'>519</a>
<a id='n520' href='#n520'>520</a>
<a id='n521' href='#n521'>521</a>
<a id='n522' href='#n522'>522</a>
<a id='n523' href='#n523'>523</a>
<a id='n524' href='#n524'>524</a>
<a id='n525' href='#n525'>525</a>
<a id='n526' href='#n526'>526</a>
<a id='n527' href='#n527'>527</a>
<a id='n528' href='#n528'>528</a>
<a id='n529' href='#n529'>529</a>
<a id='n530' href='#n530'>530</a>
<a id='n531' href='#n531'>531</a>
<a id='n532' href='#n532'>532</a>
<a id='n533' href='#n533'>533</a>
<a id='n534' href='#n534'>534</a>
<a id='n535' href='#n535'>535</a>
<a id='n536' href='#n536'>536</a>
<a id='n537' href='#n537'>537</a>
<a id='n538' href='#n538'>538</a>
<a id='n539' href='#n539'>539</a>
<a id='n540' href='#n540'>540</a>
<a id='n541' href='#n541'>541</a>
<a id='n542' href='#n542'>542</a>
<a id='n543' href='#n543'>543</a>
<a id='n544' href='#n544'>544</a>
<a id='n545' href='#n545'>545</a>
<a id='n546' href='#n546'>546</a>
<a id='n547' href='#n547'>547</a>
<a id='n548' href='#n548'>548</a>
<a id='n549' href='#n549'>549</a>
<a id='n550' href='#n550'>550</a>
<a id='n551' href='#n551'>551</a>
<a id='n552' href='#n552'>552</a>
<a id='n553' href='#n553'>553</a>
<a id='n554' href='#n554'>554</a>
<a id='n555' href='#n555'>555</a>
<a id='n556' href='#n556'>556</a>
<a id='n557' href='#n557'>557</a>
<a id='n558' href='#n558'>558</a>
<a id='n559' href='#n559'>559</a>
<a id='n560' href='#n560'>560</a>
<a id='n561' href='#n561'>561</a>
<a id='n562' href='#n562'>562</a>
<a id='n563' href='#n563'>563</a>
<a id='n564' href='#n564'>564</a>
<a id='n565' href='#n565'>565</a>
<a id='n566' href='#n566'>566</a>
<a id='n567' href='#n567'>567</a>
<a id='n568' href='#n568'>568</a>
<a id='n569' href='#n569'>569</a>
<a id='n570' href='#n570'>570</a>
<a id='n571' href='#n571'>571</a>
<a id='n572' href='#n572'>572</a>
<a id='n573' href='#n573'>573</a>
<a id='n574' href='#n574'>574</a>
<a id='n575' href='#n575'>575</a>
<a id='n576' href='#n576'>576</a>
<a id='n577' href='#n577'>577</a>
<a id='n578' href='#n578'>578</a>
<a id='n579' href='#n579'>579</a>
<a id='n580' href='#n580'>580</a>
<a id='n581' href='#n581'>581</a>
<a id='n582' href='#n582'>582</a>
<a id='n583' href='#n583'>583</a>
<a id='n584' href='#n584'>584</a>
<a id='n585' href='#n585'>585</a>
<a id='n586' href='#n586'>586</a>
<a id='n587' href='#n587'>587</a>
<a id='n588' href='#n588'>588</a>
<a id='n589' href='#n589'>589</a>
<a id='n590' href='#n590'>590</a>
<a id='n591' href='#n591'>591</a>
<a id='n592' href='#n592'>592</a>
<a id='n593' href='#n593'>593</a>
<a id='n594' href='#n594'>594</a>
<a id='n595' href='#n595'>595</a>
<a id='n596' href='#n596'>596</a>
<a id='n597' href='#n597'>597</a>
<a id='n598' href='#n598'>598</a>
<a id='n599' href='#n599'>599</a>
<a id='n600' href='#n600'>600</a>
<a id='n601' href='#n601'>601</a>
<a id='n602' href='#n602'>602</a>
<a id='n603' href='#n603'>603</a>
<a id='n604' href='#n604'>604</a>
<a id='n605' href='#n605'>605</a>
<a id='n606' href='#n606'>606</a>
<a id='n607' href='#n607'>607</a>
<a id='n608' href='#n608'>608</a>
<a id='n609' href='#n609'>609</a>
<a id='n610' href='#n610'>610</a>
<a id='n611' href='#n611'>611</a>
<a id='n612' href='#n612'>612</a>
<a id='n613' href='#n613'>613</a>
<a id='n614' href='#n614'>614</a>
<a id='n615' href='#n615'>615</a>
<a id='n616' href='#n616'>616</a>
<a id='n617' href='#n617'>617</a>
<a id='n618' href='#n618'>618</a>
<a id='n619' href='#n619'>619</a>
<a id='n620' href='#n620'>620</a>
<a id='n621' href='#n621'>621</a>
<a id='n622' href='#n622'>622</a>
<a id='n623' href='#n623'>623</a>
<a id='n624' href='#n624'>624</a>
<a id='n625' href='#n625'>625</a>
<a id='n626' href='#n626'>626</a>
<a id='n627' href='#n627'>627</a>
<a id='n628' href='#n628'>628</a>
<a id='n629' href='#n629'>629</a>
<a id='n630' href='#n630'>630</a>
<a id='n631' href='#n631'>631</a>
<a id='n632' href='#n632'>632</a>
<a id='n633' href='#n633'>633</a>
<a id='n634' href='#n634'>634</a>
<a id='n635' href='#n635'>635</a>
<a id='n636' href='#n636'>636</a>
<a id='n637' href='#n637'>637</a>
<a id='n638' href='#n638'>638</a>
<a id='n639' href='#n639'>639</a>
<a id='n640' href='#n640'>640</a>
<a id='n641' href='#n641'>641</a>
<a id='n642' href='#n642'>642</a>
<a id='n643' href='#n643'>643</a>
<a id='n644' href='#n644'>644</a>
<a id='n645' href='#n645'>645</a>
<a id='n646' href='#n646'>646</a>
<a id='n647' href='#n647'>647</a>
<a id='n648' href='#n648'>648</a>
<a id='n649' href='#n649'>649</a>
<a id='n650' href='#n650'>650</a>
<a id='n651' href='#n651'>651</a>
<a id='n652' href='#n652'>652</a>
<a id='n653' href='#n653'>653</a>
<a id='n654' href='#n654'>654</a>
<a id='n655' href='#n655'>655</a>
<a id='n656' href='#n656'>656</a>
<a id='n657' href='#n657'>657</a>
<a id='n658' href='#n658'>658</a>
<a id='n659' href='#n659'>659</a>
<a id='n660' href='#n660'>660</a>
<a id='n661' href='#n661'>661</a>
<a id='n662' href='#n662'>662</a>
<a id='n663' href='#n663'>663</a>
<a id='n664' href='#n664'>664</a>
<a id='n665' href='#n665'>665</a>
<a id='n666' href='#n666'>666</a>
<a id='n667' href='#n667'>667</a>
<a id='n668' href='#n668'>668</a>
<a id='n669' href='#n669'>669</a>
<a id='n670' href='#n670'>670</a>
<a id='n671' href='#n671'>671</a>
<a id='n672' href='#n672'>672</a>
<a id='n673' href='#n673'>673</a>
<a id='n674' href='#n674'>674</a>
<a id='n675' href='#n675'>675</a>
<a id='n676' href='#n676'>676</a>
<a id='n677' href='#n677'>677</a>
<a id='n678' href='#n678'>678</a>
<a id='n679' href='#n679'>679</a>
<a id='n680' href='#n680'>680</a>
<a id='n681' href='#n681'>681</a>
<a id='n682' href='#n682'>682</a>
<a id='n683' href='#n683'>683</a>
<a id='n684' href='#n684'>684</a>
<a id='n685' href='#n685'>685</a>
<a id='n686' href='#n686'>686</a>
<a id='n687' href='#n687'>687</a>
<a id='n688' href='#n688'>688</a>
<a id='n689' href='#n689'>689</a>
<a id='n690' href='#n690'>690</a>
<a id='n691' href='#n691'>691</a>
<a id='n692' href='#n692'>692</a>
<a id='n693' href='#n693'>693</a>
<a id='n694' href='#n694'>694</a>
<a id='n695' href='#n695'>695</a>
<a id='n696' href='#n696'>696</a>
<a id='n697' href='#n697'>697</a>
<a id='n698' href='#n698'>698</a>
<a id='n699' href='#n699'>699</a>
<a id='n700' href='#n700'>700</a>
<a id='n701' href='#n701'>701</a>
<a id='n702' href='#n702'>702</a>
<a id='n703' href='#n703'>703</a>
<a id='n704' href='#n704'>704</a>
<a id='n705' href='#n705'>705</a>
<a id='n706' href='#n706'>706</a>
<a id='n707' href='#n707'>707</a>
<a id='n708' href='#n708'>708</a>
<a id='n709' href='#n709'>709</a>
<a id='n710' href='#n710'>710</a>
<a id='n711' href='#n711'>711</a>
<a id='n712' href='#n712'>712</a>
<a id='n713' href='#n713'>713</a>
<a id='n714' href='#n714'>714</a>
<a id='n715' href='#n715'>715</a>
<a id='n716' href='#n716'>716</a>
<a id='n717' href='#n717'>717</a>
<a id='n718' href='#n718'>718</a>
<a id='n719' href='#n719'>719</a>
<a id='n720' href='#n720'>720</a>
<a id='n721' href='#n721'>721</a>
<a id='n722' href='#n722'>722</a>
<a id='n723' href='#n723'>723</a>
<a id='n724' href='#n724'>724</a>
<a id='n725' href='#n725'>725</a>
<a id='n726' href='#n726'>726</a>
<a id='n727' href='#n727'>727</a>
<a id='n728' href='#n728'>728</a>
<a id='n729' href='#n729'>729</a>
<a id='n730' href='#n730'>730</a>
<a id='n731' href='#n731'>731</a>
<a id='n732' href='#n732'>732</a>
<a id='n733' href='#n733'>733</a>
<a id='n734' href='#n734'>734</a>
<a id='n735' href='#n735'>735</a>
<a id='n736' href='#n736'>736</a>
<a id='n737' href='#n737'>737</a>
<a id='n738' href='#n738'>738</a>
<a id='n739' href='#n739'>739</a>
<a id='n740' href='#n740'>740</a>
<a id='n741' href='#n741'>741</a>
<a id='n742' href='#n742'>742</a>
<a id='n743' href='#n743'>743</a>
<a id='n744' href='#n744'>744</a>
<a id='n745' href='#n745'>745</a>
<a id='n746' href='#n746'>746</a>
<a id='n747' href='#n747'>747</a>
<a id='n748' href='#n748'>748</a>
<a id='n749' href='#n749'>749</a>
<a id='n750' href='#n750'>750</a>
<a id='n751' href='#n751'>751</a>
<a id='n752' href='#n752'>752</a>
<a id='n753' href='#n753'>753</a>
<a id='n754' href='#n754'>754</a>
<a id='n755' href='#n755'>755</a>
<a id='n756' href='#n756'>756</a>
<a id='n757' href='#n757'>757</a>
<a id='n758' href='#n758'>758</a>
<a id='n759' href='#n759'>759</a>
<a id='n760' href='#n760'>760</a>
<a id='n761' href='#n761'>761</a>
<a id='n762' href='#n762'>762</a>
<a id='n763' href='#n763'>763</a>
<a id='n764' href='#n764'>764</a>
<a id='n765' href='#n765'>765</a>
<a id='n766' href='#n766'>766</a>
<a id='n767' href='#n767'>767</a>
<a id='n768' href='#n768'>768</a>
<a id='n769' href='#n769'>769</a>
<a id='n770' href='#n770'>770</a>
<a id='n771' href='#n771'>771</a>
<a id='n772' href='#n772'>772</a>
<a id='n773' href='#n773'>773</a>
<a id='n774' href='#n774'>774</a>
<a id='n775' href='#n775'>775</a>
<a id='n776' href='#n776'>776</a>
<a id='n777' href='#n777'>777</a>
<a id='n778' href='#n778'>778</a>
<a id='n779' href='#n779'>779</a>
<a id='n780' href='#n780'>780</a>
<a id='n781' href='#n781'>781</a>
<a id='n782' href='#n782'>782</a>
<a id='n783' href='#n783'>783</a>
<a id='n784' href='#n784'>784</a>
<a id='n785' href='#n785'>785</a>
<a id='n786' href='#n786'>786</a>
<a id='n787' href='#n787'>787</a>
<a id='n788' href='#n788'>788</a>
<a id='n789' href='#n789'>789</a>
<a id='n790' href='#n790'>790</a>
<a id='n791' href='#n791'>791</a>
<a id='n792' href='#n792'>792</a>
<a id='n793' href='#n793'>793</a>
<a id='n794' href='#n794'>794</a>
<a id='n795' href='#n795'>795</a>
<a id='n796' href='#n796'>796</a>
<a id='n797' href='#n797'>797</a>
<a id='n798' href='#n798'>798</a>
<a id='n799' href='#n799'>799</a>
<a id='n800' href='#n800'>800</a>
<a id='n801' href='#n801'>801</a>
<a id='n802' href='#n802'>802</a>
<a id='n803' href='#n803'>803</a>
<a id='n804' href='#n804'>804</a>
<a id='n805' href='#n805'>805</a>
<a id='n806' href='#n806'>806</a>
<a id='n807' href='#n807'>807</a>
<a id='n808' href='#n808'>808</a>
<a id='n809' href='#n809'>809</a>
<a id='n810' href='#n810'>810</a>
<a id='n811' href='#n811'>811</a>
<a id='n812' href='#n812'>812</a>
<a id='n813' href='#n813'>813</a>
<a id='n814' href='#n814'>814</a>
<a id='n815' href='#n815'>815</a>
<a id='n816' href='#n816'>816</a>
<a id='n817' href='#n817'>817</a>
<a id='n818' href='#n818'>818</a>
<a id='n819' href='#n819'>819</a>
<a id='n820' href='#n820'>820</a>
<a id='n821' href='#n821'>821</a>
<a id='n822' href='#n822'>822</a>
<a id='n823' href='#n823'>823</a>
<a id='n824' href='#n824'>824</a>
<a id='n825' href='#n825'>825</a>
<a id='n826' href='#n826'>826</a>
<a id='n827' href='#n827'>827</a>
<a id='n828' href='#n828'>828</a>
<a id='n829' href='#n829'>829</a>
<a id='n830' href='#n830'>830</a>
<a id='n831' href='#n831'>831</a>
<a id='n832' href='#n832'>832</a>
<a id='n833' href='#n833'>833</a>
<a id='n834' href='#n834'>834</a>
<a id='n835' href='#n835'>835</a>
<a id='n836' href='#n836'>836</a>
<a id='n837' href='#n837'>837</a>
<a id='n838' href='#n838'>838</a>
<a id='n839' href='#n839'>839</a>
<a id='n840' href='#n840'>840</a>
<a id='n841' href='#n841'>841</a>
<a id='n842' href='#n842'>842</a>
<a id='n843' href='#n843'>843</a>
<a id='n844' href='#n844'>844</a>
<a id='n845' href='#n845'>845</a>
<a id='n846' href='#n846'>846</a>
<a id='n847' href='#n847'>847</a>
<a id='n848' href='#n848'>848</a>
<a id='n849' href='#n849'>849</a>
<a id='n850' href='#n850'>850</a>
<a id='n851' href='#n851'>851</a>
<a id='n852' href='#n852'>852</a>
<a id='n853' href='#n853'>853</a>
<a id='n854' href='#n854'>854</a>
<a id='n855' href='#n855'>855</a>
<a id='n856' href='#n856'>856</a>
<a id='n857' href='#n857'>857</a>
<a id='n858' href='#n858'>858</a>
<a id='n859' href='#n859'>859</a>
<a id='n860' href='#n860'>860</a>
<a id='n861' href='#n861'>861</a>
<a id='n862' href='#n862'>862</a>
<a id='n863' href='#n863'>863</a>
<a id='n864' href='#n864'>864</a>
<a id='n865' href='#n865'>865</a>
<a id='n866' href='#n866'>866</a>
<a id='n867' href='#n867'>867</a>
<a id='n868' href='#n868'>868</a>
<a id='n869' href='#n869'>869</a>
<a id='n870' href='#n870'>870</a>
<a id='n871' href='#n871'>871</a>
<a id='n872' href='#n872'>872</a>
<a id='n873' href='#n873'>873</a>
<a id='n874' href='#n874'>874</a>
<a id='n875' href='#n875'>875</a>
<a id='n876' href='#n876'>876</a>
<a id='n877' href='#n877'>877</a>
<a id='n878' href='#n878'>878</a>
<a id='n879' href='#n879'>879</a>
<a id='n880' href='#n880'>880</a>
<a id='n881' href='#n881'>881</a>
<a id='n882' href='#n882'>882</a>
<a id='n883' href='#n883'>883</a>
<a id='n884' href='#n884'>884</a>
<a id='n885' href='#n885'>885</a>
<a id='n886' href='#n886'>886</a>
<a id='n887' href='#n887'>887</a>
<a id='n888' href='#n888'>888</a>
<a id='n889' href='#n889'>889</a>
<a id='n890' href='#n890'>890</a>
<a id='n891' href='#n891'>891</a>
<a id='n892' href='#n892'>892</a>
<a id='n893' href='#n893'>893</a>
<a id='n894' href='#n894'>894</a>
<a id='n895' href='#n895'>895</a>
<a id='n896' href='#n896'>896</a>
<a id='n897' href='#n897'>897</a>
<a id='n898' href='#n898'>898</a>
<a id='n899' href='#n899'>899</a>
<a id='n900' href='#n900'>900</a>
<a id='n901' href='#n901'>901</a>
<a id='n902' href='#n902'>902</a>
<a id='n903' href='#n903'>903</a>
<a id='n904' href='#n904'>904</a>
<a id='n905' href='#n905'>905</a>
<a id='n906' href='#n906'>906</a>
<a id='n907' href='#n907'>907</a>
<a id='n908' href='#n908'>908</a>
<a id='n909' href='#n909'>909</a>
<a id='n910' href='#n910'>910</a>
<a id='n911' href='#n911'>911</a>
<a id='n912' href='#n912'>912</a>
<a id='n913' href='#n913'>913</a>
<a id='n914' href='#n914'>914</a>
<a id='n915' href='#n915'>915</a>
<a id='n916' href='#n916'>916</a>
<a id='n917' href='#n917'>917</a>
<a id='n918' href='#n918'>918</a>
<a id='n919' href='#n919'>919</a>
<a id='n920' href='#n920'>920</a>
<a id='n921' href='#n921'>921</a>
<a id='n922' href='#n922'>922</a>
<a id='n923' href='#n923'>923</a>
<a id='n924' href='#n924'>924</a>
<a id='n925' href='#n925'>925</a>
<a id='n926' href='#n926'>926</a>
<a id='n927' href='#n927'>927</a>
<a id='n928' href='#n928'>928</a>
<a id='n929' href='#n929'>929</a>
<a id='n930' href='#n930'>930</a>
<a id='n931' href='#n931'>931</a>
<a id='n932' href='#n932'>932</a>
<a id='n933' href='#n933'>933</a>
<a id='n934' href='#n934'>934</a>
<a id='n935' href='#n935'>935</a>
<a id='n936' href='#n936'>936</a>
<a id='n937' href='#n937'>937</a>
<a id='n938' href='#n938'>938</a>
<a id='n939' href='#n939'>939</a>
<a id='n940' href='#n940'>940</a>
<a id='n941' href='#n941'>941</a>
<a id='n942' href='#n942'>942</a>
<a id='n943' href='#n943'>943</a>
<a id='n944' href='#n944'>944</a>
<a id='n945' href='#n945'>945</a>
<a id='n946' href='#n946'>946</a>
<a id='n947' href='#n947'>947</a>
<a id='n948' href='#n948'>948</a>
<a id='n949' href='#n949'>949</a>
<a id='n950' href='#n950'>950</a>
<a id='n951' href='#n951'>951</a>
<a id='n952' href='#n952'>952</a>
<a id='n953' href='#n953'>953</a>
<a id='n954' href='#n954'>954</a>
<a id='n955' href='#n955'>955</a>
<a id='n956' href='#n956'>956</a>
<a id='n957' href='#n957'>957</a>
<a id='n958' href='#n958'>958</a>
<a id='n959' href='#n959'>959</a>
<a id='n960' href='#n960'>960</a>
<a id='n961' href='#n961'>961</a>
<a id='n962' href='#n962'>962</a>
<a id='n963' href='#n963'>963</a>
<a id='n964' href='#n964'>964</a>
<a id='n965' href='#n965'>965</a>
<a id='n966' href='#n966'>966</a>
<a id='n967' href='#n967'>967</a>
<a id='n968' href='#n968'>968</a>
<a id='n969' href='#n969'>969</a>
<a id='n970' href='#n970'>970</a>
<a id='n971' href='#n971'>971</a>
<a id='n972' href='#n972'>972</a>
<a id='n973' href='#n973'>973</a>
<a id='n974' href='#n974'>974</a>
<a id='n975' href='#n975'>975</a>
<a id='n976' href='#n976'>976</a>
<a id='n977' href='#n977'>977</a>
<a id='n978' href='#n978'>978</a>
<a id='n979' href='#n979'>979</a>
<a id='n980' href='#n980'>980</a>
<a id='n981' href='#n981'>981</a>
<a id='n982' href='#n982'>982</a>
<a id='n983' href='#n983'>983</a>
<a id='n984' href='#n984'>984</a>
<a id='n985' href='#n985'>985</a>
<a id='n986' href='#n986'>986</a>
<a id='n987' href='#n987'>987</a>
<a id='n988' href='#n988'>988</a>
<a id='n989' href='#n989'>989</a>
<a id='n990' href='#n990'>990</a>
<a id='n991' href='#n991'>991</a>
<a id='n992' href='#n992'>992</a>
<a id='n993' href='#n993'>993</a>
<a id='n994' href='#n994'>994</a>
<a id='n995' href='#n995'>995</a>
<a id='n996' href='#n996'>996</a>
<a id='n997' href='#n997'>997</a>
<a id='n998' href='#n998'>998</a>
<a id='n999' href='#n999'>999</a>
<a id='n1000' href='#n1000'>1000</a>
<a id='n1001' href='#n1001'>1001</a>
<a id='n1002' href='#n1002'>1002</a>
<a id='n1003' href='#n1003'>1003</a>
<a id='n1004' href='#n1004'>1004</a>
<a id='n1005' href='#n1005'>1005</a>
<a id='n1006' href='#n1006'>1006</a>
<a id='n1007' href='#n1007'>1007</a>
<a id='n1008' href='#n1008'>1008</a>
<a id='n1009' href='#n1009'>1009</a>
<a id='n1010' href='#n1010'>1010</a>
<a id='n1011' href='#n1011'>1011</a>
<a id='n1012' href='#n1012'>1012</a>
<a id='n1013' href='#n1013'>1013</a>
<a id='n1014' href='#n1014'>1014</a>
<a id='n1015' href='#n1015'>1015</a>
<a id='n1016' href='#n1016'>1016</a>
<a id='n1017' href='#n1017'>1017</a>
<a id='n1018' href='#n1018'>1018</a>
<a id='n1019' href='#n1019'>1019</a>
<a id='n1020' href='#n1020'>1020</a>
<a id='n1021' href='#n1021'>1021</a>
<a id='n1022' href='#n1022'>1022</a>
<a id='n1023' href='#n1023'>1023</a>
<a id='n1024' href='#n1024'>1024</a>
<a id='n1025' href='#n1025'>1025</a>
<a id='n1026' href='#n1026'>1026</a>
<a id='n1027' href='#n1027'>1027</a>
<a id='n1028' href='#n1028'>1028</a>
<a id='n1029' href='#n1029'>1029</a>
<a id='n1030' href='#n1030'>1030</a>
<a id='n1031' href='#n1031'>1031</a>
<a id='n1032' href='#n1032'>1032</a>
<a id='n1033' href='#n1033'>1033</a>
<a id='n1034' href='#n1034'>1034</a>
<a id='n1035' href='#n1035'>1035</a>
<a id='n1036' href='#n1036'>1036</a>
<a id='n1037' href='#n1037'>1037</a>
<a id='n1038' href='#n1038'>1038</a>
<a id='n1039' href='#n1039'>1039</a>
<a id='n1040' href='#n1040'>1040</a>
<a id='n1041' href='#n1041'>1041</a>
<a id='n1042' href='#n1042'>1042</a>
<a id='n1043' href='#n1043'>1043</a>
<a id='n1044' href='#n1044'>1044</a>
<a id='n1045' href='#n1045'>1045</a>
<a id='n1046' href='#n1046'>1046</a>
<a id='n1047' href='#n1047'>1047</a>
<a id='n1048' href='#n1048'>1048</a>
<a id='n1049' href='#n1049'>1049</a>
<a id='n1050' href='#n1050'>1050</a>
<a id='n1051' href='#n1051'>1051</a>
<a id='n1052' href='#n1052'>1052</a>
<a id='n1053' href='#n1053'>1053</a>
<a id='n1054' href='#n1054'>1054</a>
<a id='n1055' href='#n1055'>1055</a>
<a id='n1056' href='#n1056'>1056</a>
<a id='n1057' href='#n1057'>1057</a>
<a id='n1058' href='#n1058'>1058</a>
<a id='n1059' href='#n1059'>1059</a>
<a id='n1060' href='#n1060'>1060</a>
<a id='n1061' href='#n1061'>1061</a>
<a id='n1062' href='#n1062'>1062</a>
<a id='n1063' href='#n1063'>1063</a>
<a id='n1064' href='#n1064'>1064</a>
<a id='n1065' href='#n1065'>1065</a>
<a id='n1066' href='#n1066'>1066</a>
<a id='n1067' href='#n1067'>1067</a>
<a id='n1068' href='#n1068'>1068</a>
</pre></td>
<td class='lines'><pre><code><style>.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #008800; font-weight: bold } /* Keyword */
.highlight .ch { color: #888888 } /* Comment.Hashbang */
.highlight .cm { color: #888888 } /* Comment.Multiline */
.highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
.highlight .cpf { color: #888888 } /* Comment.PreprocFile */
.highlight .c1 { color: #888888 } /* Comment.Single */
.highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gr { color: #aa0000 } /* Generic.Error */
.highlight .gh { color: #333333 } /* Generic.Heading */
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #555555 } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #666666 } /* Generic.Subheading */
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
.highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: #008800 } /* Keyword.Pseudo */
.highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */
.highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */
.highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */
.highlight .na { color: #336699 } /* Name.Attribute */
.highlight .nb { color: #003388 } /* Name.Builtin */
.highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */
.highlight .no { color: #003366; font-weight: bold } /* Name.Constant */
.highlight .nd { color: #555555 } /* Name.Decorator */
.highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */
.highlight .nl { color: #336699; font-style: italic } /* Name.Label */
.highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */
.highlight .py { color: #336699; font-weight: bold } /* Name.Property */
.highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */
.highlight .nv { color: #336699 } /* Name.Variable */
.highlight .ow { color: #008800 } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */
.highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */
.highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */
.highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */
.highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */
.highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */
.highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */
.highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */
.highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */
.highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */
.highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */
.highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */
.highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */
.highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */
.highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */
.highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */
.highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */
.highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */
.highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */
.highlight .vc { color: #336699 } /* Name.Variable.Class */
.highlight .vg { color: #dd7700 } /* Name.Variable.Global */
.highlight .vi { color: #3333bb } /* Name.Variable.Instance */
.highlight .vm { color: #336699 } /* Name.Variable.Magic */
.highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */</style><div class="highlight"><pre><span></span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">}{}</span><span class="k">\section</span><span class="nb">{</span>libhomescreen/simple-<span class="k">\/</span>egl.cpp File Reference<span class="nb">}</span>
<span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">}</span><span class="k">\index</span><span class="nb">{</span>libhomescreen/simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>libhomescreen/simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="nb">{</span><span class="k">\ttfamily</span> <span class="k">\#</span>include <span class="s">$</span><span class="nb">&lt;</span><span class="s">$</span>mutex<span class="s">$</span><span class="nb">&gt;</span><span class="s">$</span><span class="nb">}</span><span class="k">\\*</span>
<span class="nb">{</span><span class="k">\ttfamily</span> <span class="k">\#</span>include <span class="s">$</span><span class="nb">&lt;</span><span class="s">$</span>chrono<span class="s">$</span><span class="nb">&gt;</span><span class="s">$</span><span class="nb">}</span><span class="k">\\*</span>
<span class="nb">{</span><span class="k">\ttfamily</span> <span class="k">\#</span>include <span class="s">$</span><span class="nb">&lt;</span><span class="s">$</span>iostream<span class="s">$</span><span class="nb">&gt;</span><span class="s">$</span><span class="nb">}</span><span class="k">\\*</span>
<span class="nb">{</span><span class="k">\ttfamily</span> <span class="k">\#</span>include <span class="s">$</span><span class="nb">&lt;</span><span class="s">$</span>string<span class="s">$</span><span class="nb">&gt;</span><span class="s">$</span><span class="nb">}</span><span class="k">\\*</span>
<span class="nb">{</span><span class="k">\ttfamily</span> <span class="k">\#</span>include <span class="s">$</span><span class="nb">&lt;</span><span class="s">$</span>stdarg.<span class="k">\+</span>h<span class="s">$</span><span class="nb">&gt;</span><span class="s">$</span><span class="nb">}</span><span class="k">\\*</span>
<span class="nb">{</span><span class="k">\ttfamily</span> <span class="k">\#</span>include <span class="s">$</span><span class="nb">&lt;</span><span class="s">$</span>sys/types.<span class="k">\+</span>h<span class="s">$</span><span class="nb">&gt;</span><span class="s">$</span><span class="nb">}</span><span class="k">\\*</span>
<span class="nb">{</span><span class="k">\ttfamily</span> <span class="k">\#</span>include <span class="s">$</span><span class="nb">&lt;</span><span class="s">$</span>thread<span class="s">$</span><span class="nb">&gt;</span><span class="s">$</span><span class="nb">}</span><span class="k">\\*</span>
<span class="nb">{</span><span class="k">\ttfamily</span> <span class="k">\#</span>include <span class="s">$</span><span class="nb">&lt;</span><span class="s">$</span>exception<span class="s">$</span><span class="nb">&gt;</span><span class="s">$</span><span class="nb">}</span><span class="k">\\*</span>
<span class="nb">{</span><span class="k">\ttfamily</span> <span class="k">\#</span>include <span class="s">$</span><span class="nb">&lt;</span><span class="s">$</span>vector<span class="s">$</span><span class="nb">&gt;</span><span class="s">$</span><span class="nb">}</span><span class="k">\\*</span>
<span class="nb">{</span><span class="k">\ttfamily</span> <span class="k">\#</span>include <span class="s">$</span><span class="nb">&lt;</span><span class="s">$</span>sstream<span class="s">$</span><span class="nb">&gt;</span><span class="s">$</span><span class="nb">}</span><span class="k">\\*</span>
<span class="nb">{</span><span class="k">\ttfamily</span> <span class="k">\#</span>include <span class="s">$</span><span class="nb">&lt;</span><span class="s">$</span>assert.<span class="k">\+</span>h<span class="s">$</span><span class="nb">&gt;</span><span class="s">$</span><span class="nb">}</span><span class="k">\\*</span>
<span class="nb">{</span><span class="k">\ttfamily</span> <span class="k">\#</span>include <span class="s">$</span><span class="nb">&lt;</span><span class="s">$</span>signal.<span class="k">\+</span>h<span class="s">$</span><span class="nb">&gt;</span><span class="s">$</span><span class="nb">}</span><span class="k">\\*</span>
<span class="nb">{</span><span class="k">\ttfamily</span> <span class="k">\#</span>include <span class="s">$</span><span class="nb">&lt;</span><span class="s">$</span>wayland-<span class="k">\/</span>client.<span class="k">\+</span>h<span class="s">$</span><span class="nb">&gt;</span><span class="s">$</span><span class="nb">}</span><span class="k">\\*</span>
<span class="nb">{</span><span class="k">\ttfamily</span> <span class="k">\#</span>include <span class="s">$</span><span class="nb">&lt;</span><span class="s">$</span>wayland-<span class="k">\/</span>egl.<span class="k">\+</span>h<span class="s">$</span><span class="nb">&gt;</span><span class="s">$</span><span class="nb">}</span><span class="k">\\*</span>
<span class="nb">{</span><span class="k">\ttfamily</span> <span class="k">\#</span>include <span class="s">$</span><span class="nb">&lt;</span><span class="s">$</span>G<span class="k">\+</span>L<span class="k">\+</span>E<span class="k">\+</span>S2/gl2.<span class="k">\+</span>h<span class="s">$</span><span class="nb">&gt;</span><span class="s">$</span><span class="nb">}</span><span class="k">\\*</span>
<span class="nb">{</span><span class="k">\ttfamily</span> <span class="k">\#</span>include <span class="s">$</span><span class="nb">&lt;</span><span class="s">$</span>E<span class="k">\+</span>G<span class="k">\+</span>L/egl.<span class="k">\+</span>h<span class="s">$</span><span class="nb">&gt;</span><span class="s">$</span><span class="nb">}</span><span class="k">\\*</span>
<span class="nb">{</span><span class="k">\ttfamily</span> <span class="k">\#</span>include <span class="s">$</span><span class="nb">&lt;</span><span class="s">$</span>E<span class="k">\+</span>G<span class="k">\+</span>L/eglext.<span class="k">\+</span>h<span class="s">$</span><span class="nb">&gt;</span><span class="s">$</span><span class="nb">}</span><span class="k">\\*</span>
<span class="nb">{</span><span class="k">\ttfamily</span> <span class="k">\#</span>include <span class="s">$</span><span class="nb">&lt;</span><span class="s">$</span>unistd.<span class="k">\+</span>h<span class="s">$</span><span class="nb">&gt;</span><span class="s">$</span><span class="nb">}</span><span class="k">\\*</span>
<span class="nb">{</span><span class="k">\ttfamily</span> <span class="k">\#</span>include <span class="s">$</span><span class="nb">&lt;</span><span class="s">$</span>time.<span class="k">\+</span>h<span class="s">$</span><span class="nb">&gt;</span><span class="s">$</span><span class="nb">}</span><span class="k">\\*</span>
<span class="nb">{</span><span class="k">\ttfamily</span> <span class="k">\#</span>include <span class="s">$</span><span class="nb">&lt;</span><span class="s">$</span>libwindowmanager.<span class="k">\+</span>h<span class="s">$</span><span class="nb">&gt;</span><span class="s">$</span><span class="nb">}</span><span class="k">\\*</span>
<span class="nb">{</span><span class="k">\ttfamily</span> <span class="k">\#</span>include <span class="s">$</span><span class="nb">&lt;</span><span class="s">$</span>libhomescreen.<span class="k">\+</span>hpp<span class="s">$</span><span class="nb">&gt;</span><span class="s">$</span><span class="nb">}</span><span class="k">\\*</span>
<span class="nb">{</span><span class="k">\ttfamily</span> <span class="k">\#</span>include <span class="s">$</span><span class="nb">&lt;</span><span class="s">$</span>ilm/ivi-<span class="k">\/</span>application-<span class="k">\/</span>client-<span class="k">\/</span>protocol.<span class="k">\+</span>h<span class="s">$</span><span class="nb">&gt;</span><span class="s">$</span><span class="nb">}</span><span class="k">\\*</span>
<span class="nb">{</span><span class="k">\ttfamily</span> <span class="k">\#</span>include <span class="k">\char</span>`<span class="k">\&quot;</span><span class="nb">{}</span>hmi-<span class="k">\/</span>debug.<span class="k">\+</span>h<span class="k">\char</span>`<span class="k">\&quot;</span><span class="nb">{}}</span><span class="k">\\*</span>
<span class="nb">{</span><span class="k">\ttfamily</span> <span class="k">\#</span>include <span class="k">\char</span>`<span class="k">\&quot;</span><span class="nb">{}</span>platform.<span class="k">\+</span>h<span class="k">\char</span>`<span class="k">\&quot;</span><span class="nb">{}}</span><span class="k">\\*</span>
<span class="k">\subsection*</span><span class="nb">{</span>Classes<span class="nb">}</span>
<span class="k">\begin</span><span class="nb">{</span>DoxyCompactItemize<span class="nb">}</span>
<span class="k">\item</span> 
struct <span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">}{</span>display<span class="nb">}</span>
<span class="k">\item</span> 
struct <span class="k">\hyperlink</span><span class="nb">{</span>structgeometry<span class="nb">}{</span>geometry<span class="nb">}</span>
<span class="k">\item</span> 
struct <span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">}{</span>window<span class="nb">}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyCompactItemize<span class="nb">}</span>
<span class="k">\subsection*</span><span class="nb">{</span>Macros<span class="nb">}</span>
<span class="k">\begin</span><span class="nb">{</span>DoxyCompactItemize<span class="nb">}</span>
<span class="k">\item</span> 
<span class="k">\#</span>define <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a083d37f289b99270e0391419178d458f<span class="nb">}{</span>E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+\_\+\+</span>E<span class="k">\+</span>X<span class="k">\+</span>T<span class="k">\+\_\+</span>swap<span class="k">\+\_\+</span>buffers<span class="k">\+\_\+</span>with<span class="k">\+\_\+</span>damage<span class="nb">}</span>~1
<span class="k">\item</span> 
<span class="k">\#</span>define <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a0792e3d8b2bc978f95917a234b0c81df<span class="nb">}{</span>E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+\_\+\+</span>E<span class="k">\+</span>X<span class="k">\+</span>T<span class="k">\+\_\+</span>buffer<span class="k">\+\_\+</span>age<span class="nb">}</span>~1
<span class="k">\item</span> 
<span class="k">\#</span>define <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a7045d8a6b4857f268a62fab2de2021fd<span class="nb">}{</span>E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+\_\+\+</span>B<span class="k">\+</span>U<span class="k">\+</span>F<span class="k">\+</span>F<span class="k">\+</span>E<span class="k">\+</span>R<span class="k">\+\_\+\+</span>A<span class="k">\+</span>G<span class="k">\+</span>E<span class="k">\+\_\+\+</span>E<span class="k">\+</span>XT<span class="nb">}</span>~0x313D
<span class="k">\end</span><span class="nb">{</span>DoxyCompactItemize<span class="nb">}</span>
<span class="k">\subsection*</span><span class="nb">{</span>Typedefs<span class="nb">}</span>
<span class="k">\begin</span><span class="nb">{</span>DoxyCompactItemize<span class="nb">}</span>
<span class="k">\item</span> 
typedef E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+</span>Surface <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a0720952aa1caded45b5bcdce589663a9<span class="nb">}{</span>surface<span class="nb">}</span>
<span class="k">\item</span> 
typedef E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+</span>Surface E<span class="k">\+</span>G<span class="k">\+</span>Lint <span class="s">$</span><span class="nv">\ast</span><span class="s">$</span> <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a56616f7ca3fc53c0da41d05de9330b11<span class="nb">}{</span>rects<span class="nb">}</span>
<span class="k">\item</span> 
typedef E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+</span>Surface E<span class="k">\+</span>G<span class="k">\+</span>Lint E<span class="k">\+</span>G<span class="k">\+</span>Lint <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>aa6a11810244355f89e6c4961b9dd3b53<span class="nb">}{</span>n<span class="k">\+\_\+</span>rects<span class="nb">}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyCompactItemize<span class="nb">}</span>
<span class="k">\subsection*</span><span class="nb">{</span>Functions<span class="nb">}</span>
<span class="k">\begin</span><span class="nb">{</span>DoxyCompactItemize<span class="nb">}</span>
<span class="k">\item</span> 
typedef <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ab4ad070d3bf82abe5e70330578f67893<span class="nb">}{</span>E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+</span>Boolean<span class="nb">}</span> (E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+</span>A<span class="k">\+</span>P<span class="k">\+</span>I<span class="k">\+</span>E<span class="k">\+</span>N<span class="k">\+</span>T<span class="k">\+</span>R<span class="k">\+</span>YP P<span class="k">\+</span>F<span class="k">\+</span>N<span class="k">\+</span>E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+</span>S<span class="k">\+</span>W<span class="k">\+</span>A<span class="k">\+</span>P<span class="k">\+</span>B<span class="k">\+</span>U<span class="k">\+</span>F<span class="k">\+</span>F<span class="k">\+</span>E<span class="k">\+</span>R<span class="k">\+</span>S<span class="k">\+</span>W<span class="k">\+</span>I<span class="k">\+</span>T<span class="k">\+</span>H<span class="k">\+</span>D<span class="k">\+</span>A<span class="k">\+</span>M<span class="k">\+</span>A<span class="k">\+</span>G<span class="k">\+</span>E<span class="k">\+</span>E<span class="k">\+</span>X<span class="k">\+</span>T<span class="k">\+</span>P<span class="k">\+</span>R<span class="k">\+</span>OC)(E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+</span>Display dpy
<span class="k">\item</span> 
static void <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a1073d4aca1838d3877fe577d813700fc<span class="nb">}{</span>init<span class="k">\+\_\+</span>egl<span class="nb">}</span> (struct <span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">}{</span>display<span class="nb">}</span> <span class="s">$</span><span class="nv">\ast</span><span class="s">$</span><span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">}{</span>display<span class="nb">}</span>, struct <span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">}{</span>window<span class="nb">}</span> <span class="s">$</span><span class="nv">\ast</span><span class="s">$</span><span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">}{</span>window<span class="nb">}</span>)
<span class="k">\item</span> 
static void <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a4f71f46ede5b73bd7c770c973826f771<span class="nb">}{</span>fini<span class="k">\+\_\+</span>egl<span class="nb">}</span> (struct <span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">}{</span>display<span class="nb">}</span> <span class="s">$</span><span class="nv">\ast</span><span class="s">$</span><span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">}{</span>display<span class="nb">}</span>)
<span class="k">\item</span> 
static G<span class="k">\+</span>Luint <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ab72c580e4d6d47c2fb49c72cc76b85bb<span class="nb">}{</span>create<span class="k">\+\_\+</span>shader<span class="nb">}</span> (struct <span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">}{</span>window<span class="nb">}</span> <span class="s">$</span><span class="nv">\ast</span><span class="s">$</span><span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">}{</span>window<span class="nb">}</span>, const char <span class="s">$</span><span class="nv">\ast</span><span class="s">$</span>source, G<span class="k">\+</span>Lenum shader<span class="k">\+\_\+</span>type)
<span class="k">\item</span> 
static void <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ab3ee863fa45f4026f78f592d6f6e34ff<span class="nb">}{</span>init<span class="k">\+\_\+</span>gl<span class="nb">}</span> (struct <span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">}{</span>window<span class="nb">}</span> <span class="s">$</span><span class="nv">\ast</span><span class="s">$</span><span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">}{</span>window<span class="nb">}</span>)
<span class="k">\item</span> 
static void <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a0122201fe28a7f35b0fbd362fff7094e<span class="nb">}{</span>create<span class="k">\+\_\+</span>ivi<span class="k">\+\_\+</span>surface<span class="nb">}</span> (struct <span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">}{</span>window<span class="nb">}</span> <span class="s">$</span><span class="nv">\ast</span><span class="s">$</span><span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">}{</span>window<span class="nb">}</span>, struct <span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">}{</span>display<span class="nb">}</span> <span class="s">$</span><span class="nv">\ast</span><span class="s">$</span><span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">}{</span>display<span class="nb">}</span>)
<span class="k">\item</span> 
static void <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a83c7f2e34bbc715d97f0642def708293<span class="nb">}{</span>create<span class="k">\+\_\+</span>surface<span class="nb">}</span> (struct <span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">}{</span>window<span class="nb">}</span> <span class="s">$</span><span class="nv">\ast</span><span class="s">$</span><span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">}{</span>window<span class="nb">}</span>)
<span class="k">\item</span> 
static void <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>aba2ea9aa51701e52d4f36b4f34cecf7a<span class="nb">}{</span>destroy<span class="k">\+\_\+</span>surface<span class="nb">}</span> (struct <span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">}{</span>window<span class="nb">}</span> <span class="s">$</span><span class="nv">\ast</span><span class="s">$</span><span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">}{</span>window<span class="nb">}</span>)
<span class="k">\item</span> 
static void <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a927502f6103ec35422eead39e62ab7ba<span class="nb">}{</span>redraw<span class="nb">}</span> (void <span class="s">$</span><span class="nv">\ast</span><span class="s">$</span>data, struct wl<span class="k">\+\_\+</span>callback <span class="s">$</span><span class="nv">\ast</span><span class="s">$</span>callback, uint32<span class="k">\+\_\+</span>t time)
<span class="k">\item</span> 
static void <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>af288e02a94c196a68b327fc55c049932<span class="nb">}{</span>registry<span class="k">\+\_\+</span>handle<span class="k">\+\_\+</span>global<span class="nb">}</span> (void <span class="s">$</span><span class="nv">\ast</span><span class="s">$</span>data, struct wl<span class="k">\+\_\+</span>registry <span class="s">$</span><span class="nv">\ast</span><span class="s">$</span>registry, uint32<span class="k">\+\_\+</span>t name, const char <span class="s">$</span><span class="nv">\ast</span><span class="s">$</span>interface, uint32<span class="k">\+\_\+</span>t version)
<span class="k">\item</span> 
static void <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a59a731b9efa9d6a2015cdc8ccae1db80<span class="nb">}{</span>registry<span class="k">\+\_\+</span>handle<span class="k">\+\_\+</span>global<span class="k">\+\_\+</span>remove<span class="nb">}</span> (void <span class="s">$</span><span class="nv">\ast</span><span class="s">$</span>data, struct wl<span class="k">\+\_\+</span>registry <span class="s">$</span><span class="nv">\ast</span><span class="s">$</span>registry, uint32<span class="k">\+\_\+</span>t name)
<span class="k">\item</span> 
static void <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a2cfc8c2d3fc1273ba8f811d2e639aec8<span class="nb">}{</span>signal<span class="k">\+\_\+</span>int<span class="nb">}</span> (int signum)
<span class="k">\item</span> 
int <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a644e25276ecdea04f2aa3412c1973927<span class="nb">}{</span>init<span class="k">\+\_\+</span>wm<span class="nb">}</span> (Lib<span class="k">\+</span>Windowmanager <span class="s">$</span><span class="nv">\ast</span><span class="s">$</span><span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ad1513698e07197206c290f94d7669d85<span class="nb">}{</span>wm<span class="nb">}</span>, struct <span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">}{</span>window<span class="nb">}</span> <span class="s">$</span><span class="nv">\ast</span><span class="s">$</span><span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">}{</span>window<span class="nb">}</span>)
<span class="k">\item</span> 
int <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a79aafeb99915566dd3970246f465f306<span class="nb">}{</span>init<span class="k">\+\_\+</span>hs<span class="nb">}</span> (<span class="k">\hyperlink</span><span class="nb">{</span>class<span class="nb">_</span>lib<span class="nb">_</span>home<span class="nb">_</span>screen<span class="nb">}{</span>Lib<span class="k">\+</span>Home<span class="k">\+</span>Screen<span class="nb">}</span> <span class="s">$</span><span class="nv">\ast</span><span class="s">$</span><span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a529acbd1fed9d98a587edfa62309fa8d<span class="nb">}{</span>hs<span class="nb">}</span>)
<span class="k">\item</span> 
int <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a3c04138a5bfe5d72780bb7e82a18e627<span class="nb">}{</span>main<span class="nb">}</span> (int argc, char <span class="s">$</span><span class="nv">\ast</span><span class="s">$$</span><span class="nv">\ast</span><span class="s">$</span>argv)
<span class="k">\end</span><span class="nb">{</span>DoxyCompactItemize<span class="nb">}</span>
<span class="k">\subsection*</span><span class="nb">{</span>Variables<span class="nb">}</span>
<span class="k">\begin</span><span class="nb">{</span>DoxyCompactItemize<span class="nb">}</span>
<span class="k">\item</span> 
const char <span class="s">$</span><span class="nv">\ast</span><span class="s">$</span> <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a894f18168fa25101d792262f59846938<span class="nb">}{</span>log<span class="k">\+\_\+</span>prefix<span class="nb">}</span> = <span class="k">\char</span>`<span class="k">\&quot;</span><span class="nb">{}</span>simple-<span class="k">\/</span>egl<span class="k">\char</span>`<span class="k">\&quot;</span><span class="nb">{}</span>
<span class="k">\item</span> 
uint32<span class="k">\+\_\+</span>t <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a28f56c9f01ed9f108201950645317cc9<span class="nb">}{</span>g<span class="k">\+\_\+</span>id<span class="k">\+\_\+</span>ivisurf<span class="nb">}</span> = 9009
<span class="k">\item</span> 
long <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a300b6806fe6818927fe4df08f2398124<span class="nb">}{</span>port<span class="nb">}</span> = 1700
<span class="k">\item</span> 
string <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a623ef6987ef3bd185c07b28b13e46d34<span class="nb">}{</span>token<span class="nb">}</span> = string(<span class="k">\char</span>`<span class="k">\&quot;</span><span class="nb">{}</span>wm<span class="k">\char</span>`<span class="k">\&quot;</span><span class="nb">{}</span>)
<span class="k">\item</span> 
string <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a0da928eccfc57d1dfadfd29d4ac4854c<span class="nb">}{</span>app<span class="k">\+\_\+</span>name<span class="nb">}</span> = string(<span class="k">\char</span>`<span class="k">\&quot;</span><span class="nb">{}</span>Navigation<span class="k">\char</span>`<span class="k">\&quot;</span><span class="nb">{}</span>)
<span class="k">\item</span> 
const char <span class="s">$</span><span class="nv">\ast</span><span class="s">$</span> <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a332251aa739a56836cd4fbf3ecbb8bb2<span class="nb">}{</span>main<span class="k">\+\_\+</span>role<span class="nb">}</span> = <span class="k">\char</span>`<span class="k">\&quot;</span><span class="nb">{}</span>navigation<span class="k">\char</span>`<span class="k">\&quot;</span><span class="nb">{}</span>
<span class="k">\item</span> 
<span class="k">\hyperlink</span><span class="nb">{</span>class<span class="nb">_</span>lib<span class="nb">_</span>home<span class="nb">_</span>screen<span class="nb">}{</span>Lib<span class="k">\+</span>Home<span class="k">\+</span>Screen<span class="nb">}</span> <span class="s">$</span><span class="nv">\ast</span><span class="s">$</span> <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a529acbd1fed9d98a587edfa62309fa8d<span class="nb">}{</span>hs<span class="nb">}</span>
<span class="k">\item</span> 
Lib<span class="k">\+</span>Windowmanager <span class="s">$</span><span class="nv">\ast</span><span class="s">$</span> <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ad1513698e07197206c290f94d7669d85<span class="nb">}{</span>wm<span class="nb">}</span>
<span class="k">\item</span> 
static const struct wl<span class="k">\+\_\+</span>interface <span class="s">$</span><span class="nv">\ast</span><span class="s">$</span> <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>aea3203db9e218d3e5d60bdb4ebe2fa1f<span class="nb">}{</span>types<span class="nb">}</span> <span class="k">\mbox</span><span class="nb">{</span>[<span class="nb">}</span><span class="s">$</span><span class="nv">\,</span><span class="s">$</span><span class="k">\mbox</span><span class="nb">{</span>]<span class="nb">}</span>
<span class="k">\item</span> 
static const struct wl<span class="k">\+\_\+</span>message <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ada80120c5590d2821da9babef808b98d<span class="nb">}{</span>ivi<span class="k">\+\_\+</span>surface<span class="k">\+\_\+</span>requests<span class="nb">}</span> <span class="k">\mbox</span><span class="nb">{</span>[<span class="nb">}</span><span class="s">$</span><span class="nv">\,</span><span class="s">$</span><span class="k">\mbox</span><span class="nb">{</span>]<span class="nb">}</span>
<span class="k">\item</span> 
static const struct wl<span class="k">\+\_\+</span>message <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ac848f4fbf712a9ba414272fa85577791<span class="nb">}{</span>ivi<span class="k">\+\_\+</span>surface<span class="k">\+\_\+</span>events<span class="nb">}</span> <span class="k">\mbox</span><span class="nb">{</span>[<span class="nb">}</span><span class="s">$</span><span class="nv">\,</span><span class="s">$</span><span class="k">\mbox</span><span class="nb">{</span>]<span class="nb">}</span>
<span class="k">\item</span> 
const struct wl<span class="k">\+\_\+</span>interface <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>adf384de8d12d2edd7265ab85fd16b11c<span class="nb">}{</span>ivi<span class="k">\+\_\+</span>surface<span class="k">\+\_\+</span>interface<span class="nb">}</span>
<span class="k">\item</span> 
static const struct wl<span class="k">\+\_\+</span>message <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a21a39b7c6cf5f6d10a62a70b3ebc9bad<span class="nb">}{</span>ivi<span class="k">\+\_\+</span>application<span class="k">\+\_\+</span>requests<span class="nb">}</span> <span class="k">\mbox</span><span class="nb">{</span>[<span class="nb">}</span><span class="s">$</span><span class="nv">\,</span><span class="s">$</span><span class="k">\mbox</span><span class="nb">{</span>]<span class="nb">}</span>
<span class="k">\item</span> 
const struct wl<span class="k">\+\_\+</span>interface <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a769b65b7b0e834f732f1f45e835890d5<span class="nb">}{</span>ivi<span class="k">\+\_\+</span>application<span class="k">\+\_\+</span>interface<span class="nb">}</span>
<span class="k">\item</span> 
static const char <span class="s">$</span><span class="nv">\ast</span><span class="s">$</span> <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a717575939a37d84dcd4cf0447a630834<span class="nb">}{</span>vert<span class="k">\+\_\+</span>shader<span class="k">\+\_\+</span>text<span class="nb">}</span>
<span class="k">\item</span> 
static const char <span class="s">$</span><span class="nv">\ast</span><span class="s">$</span> <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ab5a6a2a26ac23f79b1687daa4b0d8980<span class="nb">}{</span>frag<span class="k">\+\_\+</span>shader<span class="k">\+\_\+</span>text<span class="nb">}</span>
<span class="k">\item</span> 
static int <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a2f45113638a0b749a8a205d2cd7fb42b<span class="nb">}{</span>running<span class="nb">}</span> = 1
<span class="k">\item</span> 
static const struct wl<span class="k">\+\_\+</span>registry<span class="k">\+\_\+</span>listener <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a8998c87c94cd7d185e8f0cdafab4b1c4<span class="nb">}{</span>registry<span class="k">\+\_\+</span>listener<span class="nb">}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyCompactItemize<span class="nb">}</span>


<span class="k">\subsection</span><span class="nb">{</span>Macro Definition Documentation<span class="nb">}</span>
<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+\_\+\+</span>B<span class="k">\+</span>U<span class="k">\+</span>F<span class="k">\+</span>F<span class="k">\+</span>E<span class="k">\+</span>R<span class="k">\+\_\+\+</span>A<span class="k">\+</span>G<span class="k">\+</span>E<span class="k">\+\_\+\+</span>E<span class="k">\+</span>XT@<span class="nb">{</span>E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+\_\+\+</span>B<span class="k">\+</span>U<span class="k">\+</span>F<span class="k">\+</span>F<span class="k">\+</span>E<span class="k">\+</span>R<span class="k">\+\_\+\+</span>A<span class="k">\+</span>G<span class="k">\+</span>E<span class="k">\+\_\+\+</span>E<span class="k">\+</span>XT<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+\_\+\+</span>B<span class="k">\+</span>U<span class="k">\+</span>F<span class="k">\+</span>F<span class="k">\+</span>E<span class="k">\+</span>R<span class="k">\+\_\+\+</span>A<span class="k">\+</span>G<span class="k">\+</span>E<span class="k">\+\_\+\+</span>E<span class="k">\+</span>XT@<span class="nb">{</span>E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+\_\+\+</span>B<span class="k">\+</span>U<span class="k">\+</span>F<span class="k">\+</span>F<span class="k">\+</span>E<span class="k">\+</span>R<span class="k">\+\_\+\+</span>A<span class="k">\+</span>G<span class="k">\+</span>E<span class="k">\+\_\+\+</span>E<span class="k">\+</span>XT<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{E\+G\+L\+\_\+\+B\+U\+F\+F\+E\+R\+\_\+\+A\+G\+E\+\_\+\+E\+XT}{EGL_BUFFER_AGE_EXT}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span><span class="k">\#</span>define E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+\_\+\+</span>B<span class="k">\+</span>U<span class="k">\+</span>F<span class="k">\+</span>F<span class="k">\+</span>E<span class="k">\+</span>R<span class="k">\+\_\+\+</span>A<span class="k">\+</span>G<span class="k">\+</span>E<span class="k">\+\_\+\+</span>E<span class="k">\+</span>XT~0x313D<span class="nb">}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a7045d8a6b4857f268a62fab2de2021fd<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a7045d8a6b4857f268a62fab2de2021fd<span class="nb">}</span>


Definition at line 110 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.

<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+\_\+\+</span>E<span class="k">\+</span>X<span class="k">\+</span>T<span class="k">\+\_\+</span>buffer<span class="k">\+\_\+</span>age@<span class="nb">{</span>E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+\_\+\+</span>E<span class="k">\+</span>X<span class="k">\+</span>T<span class="k">\+\_\+</span>buffer<span class="k">\+\_\+</span>age<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+\_\+\+</span>E<span class="k">\+</span>X<span class="k">\+</span>T<span class="k">\+\_\+</span>buffer<span class="k">\+\_\+</span>age@<span class="nb">{</span>E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+\_\+\+</span>E<span class="k">\+</span>X<span class="k">\+</span>T<span class="k">\+\_\+</span>buffer<span class="k">\+\_\+</span>age<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{E\+G\+L\+\_\+\+E\+X\+T\+\_\+buffer\+\_\+age}{EGL_EXT_buffer_age}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span><span class="k">\#</span>define E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+\_\+\+</span>E<span class="k">\+</span>X<span class="k">\+</span>T<span class="k">\+\_\+</span>buffer<span class="k">\+\_\+</span>age~1<span class="nb">}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a0792e3d8b2bc978f95917a234b0c81df<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a0792e3d8b2bc978f95917a234b0c81df<span class="nb">}</span>


Definition at line 109 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.

<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+\_\+\+</span>E<span class="k">\+</span>X<span class="k">\+</span>T<span class="k">\+\_\+</span>swap<span class="k">\+\_\+</span>buffers<span class="k">\+\_\+</span>with<span class="k">\+\_\+</span>damage@<span class="nb">{</span>E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+\_\+\+</span>E<span class="k">\+</span>X<span class="k">\+</span>T<span class="k">\+\_\+</span>swap<span class="k">\+\_\+</span>buffers<span class="k">\+\_\+</span>with<span class="k">\+\_\+</span>damage<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+\_\+\+</span>E<span class="k">\+</span>X<span class="k">\+</span>T<span class="k">\+\_\+</span>swap<span class="k">\+\_\+</span>buffers<span class="k">\+\_\+</span>with<span class="k">\+\_\+</span>damage@<span class="nb">{</span>E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+\_\+\+</span>E<span class="k">\+</span>X<span class="k">\+</span>T<span class="k">\+\_\+</span>swap<span class="k">\+\_\+</span>buffers<span class="k">\+\_\+</span>with<span class="k">\+\_\+</span>damage<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{E\+G\+L\+\_\+\+E\+X\+T\+\_\+swap\+\_\+buffers\+\_\+with\+\_\+damage}{EGL_EXT_swap_buffers_with_damage}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span><span class="k">\#</span>define E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+\_\+\+</span>E<span class="k">\+</span>X<span class="k">\+</span>T<span class="k">\+\_\+</span>swap<span class="k">\+\_\+</span>buffers<span class="k">\+\_\+</span>with<span class="k">\+\_\+</span>damage~1<span class="nb">}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a083d37f289b99270e0391419178d458f<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a083d37f289b99270e0391419178d458f<span class="nb">}</span>


Definition at line 104 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.



<span class="k">\subsection</span><span class="nb">{</span>Typedef Documentation<span class="nb">}</span>
<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!n<span class="k">\+\_\+</span>rects@<span class="nb">{</span>n<span class="k">\+\_\+</span>rects<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>n<span class="k">\+\_\+</span>rects@<span class="nb">{</span>n<span class="k">\+\_\+</span>rects<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{n\+\_\+rects}{n_rects}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>typedef E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+</span>Surface E<span class="k">\+</span>G<span class="k">\+</span>Lint E<span class="k">\+</span>G<span class="k">\+</span>Lint <span class="nb">{</span><span class="k">\bf</span> n<span class="k">\+\_\+</span>rects<span class="nb">}}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>aa6a11810244355f89e6c4961b9dd3b53<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>aa6a11810244355f89e6c4961b9dd3b53<span class="nb">}</span>


Definition at line 105 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.

<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!rects@<span class="nb">{</span>rects<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>rects@<span class="nb">{</span>rects<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{rects}{rects}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>typedef E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+</span>Surface E<span class="k">\+</span>G<span class="k">\+</span>Lint<span class="s">$</span><span class="nv">\ast</span><span class="s">$</span> <span class="nb">{</span><span class="k">\bf</span> rects<span class="nb">}}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a56616f7ca3fc53c0da41d05de9330b11<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a56616f7ca3fc53c0da41d05de9330b11<span class="nb">}</span>


Definition at line 105 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.

<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!surface@<span class="nb">{</span>surface<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>surface@<span class="nb">{</span>surface<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{surface}{surface}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>typedef E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+</span>Surface <span class="nb">{</span><span class="k">\bf</span> surface<span class="nb">}}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a0720952aa1caded45b5bcdce589663a9<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a0720952aa1caded45b5bcdce589663a9<span class="nb">}</span>


Definition at line 105 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.



<span class="k">\subsection</span><span class="nb">{</span>Function Documentation<span class="nb">}</span>
<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!create<span class="k">\+\_\+</span>ivi<span class="k">\+\_\+</span>surface@<span class="nb">{</span>create<span class="k">\+\_\+</span>ivi<span class="k">\+\_\+</span>surface<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>create<span class="k">\+\_\+</span>ivi<span class="k">\+\_\+</span>surface@<span class="nb">{</span>create<span class="k">\+\_\+</span>ivi<span class="k">\+\_\+</span>surface<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{create\+\_\+ivi\+\_\+surface(struct window $\ast$window, struct display $\ast$display)}{create_ivi_surface(struct window *window, struct display *display)}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>static void create<span class="k">\+\_\+</span>ivi<span class="k">\+\_\+</span>surface (
<span class="k">\begin</span><span class="nb">{</span>DoxyParamCaption<span class="nb">}</span>
<span class="k">\item</span><span class="na">[{struct {\bf window} $\ast$}]</span><span class="nb">{</span>window, <span class="nb">}</span>
<span class="k">\item</span><span class="na">[{struct {\bf display} $\ast$}]</span><span class="nb">{</span>display<span class="nb">}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyParamCaption<span class="nb">}</span>
)<span class="k">\hspace</span><span class="nb">{</span>0.3cm<span class="nb">}{</span><span class="k">\ttfamily</span> [static]<span class="nb">}}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a0122201fe28a7f35b0fbd362fff7094e<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a0122201fe28a7f35b0fbd362fff7094e<span class="nb">}</span>


Definition at line 322 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.


<span class="k">\begin</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
323 <span class="k">\{</span>
324     uint32<span class="k">\_</span>t id<span class="k">\_</span>ivisurf = <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a28f56c9f01ed9f108201950645317cc9<span class="nb">}{</span>g<span class="k">\_</span>id<span class="k">\_</span>ivisurf<span class="nb">}</span>;
325     window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a40e2c6fb4178953c820fc1b9f41d4b31<span class="nb">}{</span>ivi<span class="k">\_</span>surface<span class="nb">}</span> =
326         ivi<span class="k">\_</span>application<span class="k">\_</span>surface<span class="k">\_</span>create(display-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a24c073faff3bb4799c2d46291f27ab89<span class="nb">}{</span>ivi<span class="k">\_</span>application<span class="nb">}</span>,
327                            id<span class="k">\_</span>ivisurf, window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a7d0790cfc7c30621611fa26ab5c1ae97<span class="nb">}{</span>surface<span class="nb">}</span>);
328 
329     <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span> (window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a40e2c6fb4178953c820fc1b9f41d4b31<span class="nb">}{</span>ivi<span class="k">\_</span>surface<span class="nb">}</span> == NULL) <span class="k">\{</span>
330         <span class="k">\hyperlink</span><span class="nb">{</span>include<span class="nb">_</span>2hmi-debug<span class="nb">_</span>8h<span class="nb">_</span>a65bb6c7cfe38f8a724beab5059d36fb2<span class="nb">}{</span>HMI<span class="k">\_</span>ERROR<span class="nb">}</span>(<span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a894f18168fa25101d792262f59846938<span class="nb">}{</span>log<span class="k">\_</span>prefix<span class="nb">}</span>,<span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;Failed to create ivi<span class="k">\_</span>client<span class="k">\_</span>surface&quot;<span class="nb">}</span>);
331         abort();
332     <span class="k">\}</span>
333 
334 <span class="k">\}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!create<span class="k">\+\_\+</span>shader@<span class="nb">{</span>create<span class="k">\+\_\+</span>shader<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>create<span class="k">\+\_\+</span>shader@<span class="nb">{</span>create<span class="k">\+\_\+</span>shader<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{create\+\_\+shader(struct window $\ast$window, const char $\ast$source, G\+Lenum shader\+\_\+type)}{create_shader(struct window *window, const char *source, GLenum shader_type)}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>static G<span class="k">\+</span>Luint create<span class="k">\+\_\+</span>shader (
<span class="k">\begin</span><span class="nb">{</span>DoxyParamCaption<span class="nb">}</span>
<span class="k">\item</span><span class="na">[{struct {\bf window} $\ast$}]</span><span class="nb">{</span>window, <span class="nb">}</span>
<span class="k">\item</span><span class="na">[{const char $\ast$}]</span><span class="nb">{</span>source, <span class="nb">}</span>
<span class="k">\item</span><span class="na">[{G\+Lenum}]</span><span class="nb">{</span>shader<span class="k">\+\_\+</span>type<span class="nb">}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyParamCaption<span class="nb">}</span>
)<span class="k">\hspace</span><span class="nb">{</span>0.3cm<span class="nb">}{</span><span class="k">\ttfamily</span> [static]<span class="nb">}}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ab72c580e4d6d47c2fb49c72cc76b85bb<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ab72c580e4d6d47c2fb49c72cc76b85bb<span class="nb">}</span>


Definition at line 259 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.


<span class="k">\begin</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
260 <span class="k">\{</span>
261     GLuint shader;
262     GLint status;
263 
264     shader = glCreateShader(shader<span class="k">\_</span>type);
265     assert(shader != 0);
266 
267     glShaderSource(shader, 1, (<span class="k">\textcolor</span><span class="nb">{</span>keyword<span class="nb">}{</span>const<span class="nb">}</span> <span class="k">\textcolor</span><span class="nb">{</span>keywordtype<span class="nb">}{</span>char<span class="nb">}</span> **) <span class="nb">&amp;</span>source, NULL);
268     glCompileShader(shader);
269 
270     glGetShaderiv(shader, GL<span class="k">\_</span>COMPILE<span class="k">\_</span>STATUS, <span class="nb">&amp;</span>status);
271     <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span> (!status) <span class="k">\{</span>
272         <span class="k">\textcolor</span><span class="nb">{</span>keywordtype<span class="nb">}{</span>char<span class="nb">}</span> log[1000];
273         GLsizei len;
274         glGetShaderInfoLog(shader, 1000, <span class="nb">&amp;</span>len, log);
275         <span class="k">\hyperlink</span><span class="nb">{</span>include<span class="nb">_</span>2hmi-debug<span class="nb">_</span>8h<span class="nb">_</span>a65bb6c7cfe38f8a724beab5059d36fb2<span class="nb">}{</span>HMI<span class="k">\_</span>ERROR<span class="nb">}</span>(<span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a894f18168fa25101d792262f59846938<span class="nb">}{</span>log<span class="k">\_</span>prefix<span class="nb">}</span>,<span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;Error: compiling <span class="c">%s: %*s&quot;},</span>
276             shader<span class="k">\_</span>type == GL<span class="k">\_</span>VERTEX<span class="k">\_</span>SHADER ? <span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;vertex&quot;<span class="nb">}</span> : <span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;fragment&quot;<span class="nb">}</span>,
277             len, log);
278         exit(1);
279     <span class="k">\}</span>
280 
281     <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>return<span class="nb">}</span> shader;
282 <span class="k">\}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!create<span class="k">\+\_\+</span>surface@<span class="nb">{</span>create<span class="k">\+\_\+</span>surface<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>create<span class="k">\+\_\+</span>surface@<span class="nb">{</span>create<span class="k">\+\_\+</span>surface<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{create\+\_\+surface(struct window $\ast$window)}{create_surface(struct window *window)}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>static void create<span class="k">\+\_\+</span>surface (
<span class="k">\begin</span><span class="nb">{</span>DoxyParamCaption<span class="nb">}</span>
<span class="k">\item</span><span class="na">[{struct {\bf window} $\ast$}]</span><span class="nb">{</span>window<span class="nb">}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyParamCaption<span class="nb">}</span>
)<span class="k">\hspace</span><span class="nb">{</span>0.3cm<span class="nb">}{</span><span class="k">\ttfamily</span> [static]<span class="nb">}}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a83c7f2e34bbc715d97f0642def708293<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a83c7f2e34bbc715d97f0642def708293<span class="nb">}</span>


Definition at line 337 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.


<span class="k">\begin</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
338 <span class="k">\{</span>
339     <span class="k">\textcolor</span><span class="nb">{</span>keyword<span class="nb">}{</span>struct <span class="nb">}</span><span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">}{</span>display<span class="nb">}</span> *<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">}{</span>display<span class="nb">}</span> = window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a129486f2bd23791194f389ca1405cfd4<span class="nb">}{</span>display<span class="nb">}</span>;
340     <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ab4ad070d3bf82abe5e70330578f67893<span class="nb">}{</span>EGLBoolean<span class="nb">}</span> ret;
341 
342     window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a7d0790cfc7c30621611fa26ab5c1ae97<span class="nb">}{</span>surface<span class="nb">}</span> = wl<span class="k">\_</span>compositor<span class="k">\_</span>create<span class="k">\_</span>surface(display-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a41ba32dfde812165dda5b62885000c78<span class="nb">}{</span>compositor<span class="nb">}</span>);
343 
344     window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>ae41be0955d0e73530e1bc13dfeb9d731<span class="nb">}{</span>native<span class="nb">}</span> =
345         wl<span class="k">\_</span>egl<span class="k">\_</span>window<span class="k">\_</span>create(window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a7d0790cfc7c30621611fa26ab5c1ae97<span class="nb">}{</span>surface<span class="nb">}</span>,
346                      window-&gt;geometry.width,
347                      window-&gt;geometry.height);
348     window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a8de0059f3f1cb0dec33fba1143b7dee1<span class="nb">}{</span>egl<span class="k">\_</span>surface<span class="nb">}</span> =
349         weston<span class="k">\_</span>platform<span class="k">\_</span>create<span class="k">\_</span>egl<span class="k">\_</span>surface(display-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8b8bc104c19ff228d476a377e572d9c7<span class="nb">}{</span>egl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8a1cbda15a286e41e89a85f158ce9311<span class="nb">}{</span>dpy<span class="nb">}</span>,
350                            display-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8b8bc104c19ff228d476a377e572d9c7<span class="nb">}{</span>egl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a880aef9408b499f5b749541dc6e396c3<span class="nb">}{</span>conf<span class="nb">}</span>,
351                            window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>ae41be0955d0e73530e1bc13dfeb9d731<span class="nb">}{</span>native<span class="nb">}</span>, NULL);
352 
353 
354     <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span> (display-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a24c073faff3bb4799c2d46291f27ab89<span class="nb">}{</span>ivi<span class="k">\_</span>application<span class="nb">}</span> ) <span class="k">\{</span>
355         <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a0122201fe28a7f35b0fbd362fff7094e<span class="nb">}{</span>create<span class="k">\_</span>ivi<span class="k">\_</span>surface<span class="nb">}</span>(window, display);
356     <span class="k">\}</span> <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>else<span class="nb">}</span> <span class="k">\{</span>
357         assert(0);
358     <span class="k">\}</span>
359 
360     ret = eglMakeCurrent(window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a129486f2bd23791194f389ca1405cfd4<span class="nb">}{</span>display<span class="nb">}</span>-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8b8bc104c19ff228d476a377e572d9c7<span class="nb">}{</span>egl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8a1cbda15a286e41e89a85f158ce9311<span class="nb">}{</span>dpy<span class="nb">}</span>, window-&gt;
      <span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a8de0059f3f1cb0dec33fba1143b7dee1<span class="nb">}{</span>egl<span class="k">\_</span>surface<span class="nb">}</span>,
361                  window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a8de0059f3f1cb0dec33fba1143b7dee1<span class="nb">}{</span>egl<span class="k">\_</span>surface<span class="nb">}</span>, window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a129486f2bd23791194f389ca1405cfd4<span class="nb">}{</span>display<span class="nb">}</span>-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8b8bc104c19ff228d476a377e572d9c7<span class="nb">}{</span>egl<span class="nb">}</span>.
      <span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a3420940a29a710e0e5ebd41ba462cc00<span class="nb">}{</span>ctx<span class="nb">}</span>);
362     assert(ret == EGL<span class="k">\_</span>TRUE);
363 
364     <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span> (!window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a851bcb65083f5ab5ff768b09522bed70<span class="nb">}{</span>frame<span class="k">\_</span>sync<span class="nb">}</span>)
365         eglSwapInterval(display-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8b8bc104c19ff228d476a377e572d9c7<span class="nb">}{</span>egl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8a1cbda15a286e41e89a85f158ce9311<span class="nb">}{</span>dpy<span class="nb">}</span>, 0);
366 
367 <span class="k">\}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!destroy<span class="k">\+\_\+</span>surface@<span class="nb">{</span>destroy<span class="k">\+\_\+</span>surface<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>destroy<span class="k">\+\_\+</span>surface@<span class="nb">{</span>destroy<span class="k">\+\_\+</span>surface<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{destroy\+\_\+surface(struct window $\ast$window)}{destroy_surface(struct window *window)}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>static void destroy<span class="k">\+\_\+</span>surface (
<span class="k">\begin</span><span class="nb">{</span>DoxyParamCaption<span class="nb">}</span>
<span class="k">\item</span><span class="na">[{struct {\bf window} $\ast$}]</span><span class="nb">{</span>window<span class="nb">}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyParamCaption<span class="nb">}</span>
)<span class="k">\hspace</span><span class="nb">{</span>0.3cm<span class="nb">}{</span><span class="k">\ttfamily</span> [static]<span class="nb">}}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>aba2ea9aa51701e52d4f36b4f34cecf7a<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>aba2ea9aa51701e52d4f36b4f34cecf7a<span class="nb">}</span>


Definition at line 370 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.


<span class="k">\begin</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
371 <span class="k">\{</span>
372     <span class="k">\textcolor</span><span class="nb">{</span>comment<span class="nb">}{</span>/* Required, otherwise segfault in egl<span class="k">\_</span>dri2.c: dri2<span class="k">\_</span>make<span class="k">\_</span>current()<span class="nb">}</span>
373 <span class="k">\textcolor</span><span class="nb">{</span>comment<span class="nb">}{</span>     * on eglReleaseThread(). */<span class="nb">}</span>
374     eglMakeCurrent(window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a129486f2bd23791194f389ca1405cfd4<span class="nb">}{</span>display<span class="nb">}</span>-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8b8bc104c19ff228d476a377e572d9c7<span class="nb">}{</span>egl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8a1cbda15a286e41e89a85f158ce9311<span class="nb">}{</span>dpy<span class="nb">}</span>, EGL<span class="k">\_</span>NO<span class="k">\_</span>SURFACE, EGL<span class="k">\_</span>NO<span class="k">\_</span>SURFACE,
375                EGL<span class="k">\_</span>NO<span class="k">\_</span>CONTEXT);
376 
377     eglDestroySurface(window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a129486f2bd23791194f389ca1405cfd4<span class="nb">}{</span>display<span class="nb">}</span>-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8b8bc104c19ff228d476a377e572d9c7<span class="nb">}{</span>egl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8a1cbda15a286e41e89a85f158ce9311<span class="nb">}{</span>dpy<span class="nb">}</span>, window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a8de0059f3f1cb0dec33fba1143b7dee1<span class="nb">}{</span>egl<span class="k">\_</span>surface<span class="nb">}</span>);
378     wl<span class="k">\_</span>egl<span class="k">\_</span>window<span class="k">\_</span>destroy(window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>ae41be0955d0e73530e1bc13dfeb9d731<span class="nb">}{</span>native<span class="nb">}</span>);
379 
380     <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span> (window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a129486f2bd23791194f389ca1405cfd4<span class="nb">}{</span>display<span class="nb">}</span>-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a24c073faff3bb4799c2d46291f27ab89<span class="nb">}{</span>ivi<span class="k">\_</span>application<span class="nb">}</span>)
381         ivi<span class="k">\_</span>surface<span class="k">\_</span>destroy(window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a40e2c6fb4178953c820fc1b9f41d4b31<span class="nb">}{</span>ivi<span class="k">\_</span>surface<span class="nb">}</span>);
382     wl<span class="k">\_</span>surface<span class="k">\_</span>destroy(window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a7d0790cfc7c30621611fa26ab5c1ae97<span class="nb">}{</span>surface<span class="nb">}</span>);
383 
384     <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span> (window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a35ba639556fa19d9273dad0953a6807e<span class="nb">}{</span>callback<span class="nb">}</span>)
385         wl<span class="k">\_</span>callback<span class="k">\_</span>destroy(window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a35ba639556fa19d9273dad0953a6807e<span class="nb">}{</span>callback<span class="nb">}</span>);
386 <span class="k">\}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+</span>Boolean@<span class="nb">{</span>E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+</span>Boolean<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+</span>Boolean@<span class="nb">{</span>E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+</span>Boolean<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{E\+G\+L\+Boolean(\+E\+G\+L\+A\+P\+I\+E\+N\+T\+R\+Y\+P P\+F\+N\+E\+G\+L\+S\+W\+A\+P\+B\+U\+F\+F\+E\+R\+S\+W\+I\+T\+H\+D\+A\+M\+A\+G\+E\+E\+X\+T\+P\+R\+O\+C)(\+E\+G\+L\+Display dpy}{EGLBoolean(EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC)(EGLDisplay dpy}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>typedef E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+</span>Boolean (
<span class="k">\begin</span><span class="nb">{</span>DoxyParamCaption<span class="nb">}</span>
<span class="k">\item</span><span class="na">[{E\+G\+L\+A\+P\+I\+E\+N\+T\+R\+YP}]</span><span class="nb">{</span>P<span class="k">\+</span>F<span class="k">\+</span>N<span class="k">\+</span>E<span class="k">\+</span>G<span class="k">\+</span>L<span class="k">\+</span>S<span class="k">\+</span>W<span class="k">\+</span>A<span class="k">\+</span>P<span class="k">\+</span>B<span class="k">\+</span>U<span class="k">\+</span>F<span class="k">\+</span>F<span class="k">\+</span>E<span class="k">\+</span>R<span class="k">\+</span>S<span class="k">\+</span>W<span class="k">\+</span>I<span class="k">\+</span>T<span class="k">\+</span>H<span class="k">\+</span>D<span class="k">\+</span>A<span class="k">\+</span>M<span class="k">\+</span>A<span class="k">\+</span>G<span class="k">\+</span>E<span class="k">\+</span>E<span class="k">\+</span>X<span class="k">\+</span>T<span class="k">\+</span>P<span class="k">\+</span>R<span class="k">\+</span>OC<span class="nb">}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyParamCaption<span class="nb">}</span>
)<span class="nb">}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ab4ad070d3bf82abe5e70330578f67893<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ab4ad070d3bf82abe5e70330578f67893<span class="nb">}</span>
<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!fini<span class="k">\+\_\+</span>egl@<span class="nb">{</span>fini<span class="k">\+\_\+</span>egl<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>fini<span class="k">\+\_\+</span>egl@<span class="nb">{</span>fini<span class="k">\+\_\+</span>egl<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{fini\+\_\+egl(struct display $\ast$display)}{fini_egl(struct display *display)}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>static void fini<span class="k">\+\_\+</span>egl (
<span class="k">\begin</span><span class="nb">{</span>DoxyParamCaption<span class="nb">}</span>
<span class="k">\item</span><span class="na">[{struct {\bf display} $\ast$}]</span><span class="nb">{</span>display<span class="nb">}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyParamCaption<span class="nb">}</span>
)<span class="k">\hspace</span><span class="nb">{</span>0.3cm<span class="nb">}{</span><span class="k">\ttfamily</span> [static]<span class="nb">}}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a4f71f46ede5b73bd7c770c973826f771<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a4f71f46ede5b73bd7c770c973826f771<span class="nb">}</span>


Definition at line 252 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.


<span class="k">\begin</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
253 <span class="k">\{</span>
254     eglTerminate(display-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8b8bc104c19ff228d476a377e572d9c7<span class="nb">}{</span>egl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8a1cbda15a286e41e89a85f158ce9311<span class="nb">}{</span>dpy<span class="nb">}</span>);
255     eglReleaseThread();
256 <span class="k">\}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!init<span class="k">\+\_\+</span>egl@<span class="nb">{</span>init<span class="k">\+\_\+</span>egl<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>init<span class="k">\+\_\+</span>egl@<span class="nb">{</span>init<span class="k">\+\_\+</span>egl<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{init\+\_\+egl(struct display $\ast$display, struct window $\ast$window)}{init_egl(struct display *display, struct window *window)}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>static void init<span class="k">\+\_\+</span>egl (
<span class="k">\begin</span><span class="nb">{</span>DoxyParamCaption<span class="nb">}</span>
<span class="k">\item</span><span class="na">[{struct {\bf display} $\ast$}]</span><span class="nb">{</span>display, <span class="nb">}</span>
<span class="k">\item</span><span class="na">[{struct {\bf window} $\ast$}]</span><span class="nb">{</span>window<span class="nb">}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyParamCaption<span class="nb">}</span>
)<span class="k">\hspace</span><span class="nb">{</span>0.3cm<span class="nb">}{</span><span class="k">\ttfamily</span> [static]<span class="nb">}}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a1073d4aca1838d3877fe577d813700fc<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a1073d4aca1838d3877fe577d813700fc<span class="nb">}</span>


Definition at line 174 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.


<span class="k">\begin</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
175 <span class="k">\{</span>
176     <span class="k">\textcolor</span><span class="nb">{</span>keyword<span class="nb">}{</span>static<span class="nb">}</span> <span class="k">\textcolor</span><span class="nb">{</span>keyword<span class="nb">}{</span>const<span class="nb">}</span> EGLint context<span class="k">\_</span>attribs[] = <span class="k">\{</span>
177         EGL<span class="k">\_</span>CONTEXT<span class="k">\_</span>CLIENT<span class="k">\_</span>VERSION, 2,
178         EGL<span class="k">\_</span>NONE
179     <span class="k">\}</span>;
180     <span class="k">\textcolor</span><span class="nb">{</span>keyword<span class="nb">}{</span>const<span class="nb">}</span> <span class="k">\textcolor</span><span class="nb">{</span>keywordtype<span class="nb">}{</span>char<span class="nb">}</span> *extensions;
181 
182     EGLint config<span class="k">\_</span>attribs[] = <span class="k">\{</span>
183         EGL<span class="k">\_</span>SURFACE<span class="k">\_</span>TYPE, EGL<span class="k">\_</span>WINDOW<span class="k">\_</span>BIT,
184         EGL<span class="k">\_</span>RED<span class="k">\_</span>SIZE, 1,
185         EGL<span class="k">\_</span>GREEN<span class="k">\_</span>SIZE, 1,
186         EGL<span class="k">\_</span>BLUE<span class="k">\_</span>SIZE, 1,
187         EGL<span class="k">\_</span>ALPHA<span class="k">\_</span>SIZE, 1,
188         EGL<span class="k">\_</span>RENDERABLE<span class="k">\_</span>TYPE, EGL<span class="k">\_</span>OPENGL<span class="k">\_</span>ES2<span class="k">\_</span>BIT,
189         EGL<span class="k">\_</span>NONE
190     <span class="k">\}</span>;
191 
192     EGLint major, minor, n, count, i, size;
193     EGLConfig *configs;
194     <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ab4ad070d3bf82abe5e70330578f67893<span class="nb">}{</span>EGLBoolean<span class="nb">}</span> ret;
195 
196     <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span> (window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a026a50808d8323a5a73d585c19916fa8<span class="nb">}{</span>opaque<span class="nb">}</span> || window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a0e634038f669aff472012f25ea250b40<span class="nb">}{</span>buffer<span class="k">\_</span>size<span class="nb">}</span> == 16)
197         config<span class="k">\_</span>attribs[9] = 0;
198 
199     display-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8b8bc104c19ff228d476a377e572d9c7<span class="nb">}{</span>egl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8a1cbda15a286e41e89a85f158ce9311<span class="nb">}{</span>dpy<span class="nb">}</span> = weston<span class="k">\_</span>platform<span class="k">\_</span>get<span class="k">\_</span>egl<span class="k">\_</span>display(EGL<span class="k">\_</span>PLATFORM<span class="k">\_</span>WAYLAND<span class="k">\_</span>KHR, display-&gt;
      <span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>aa8faf09631925e9221fd8a0c086ce75a<span class="nb">}{</span>display<span class="nb">}</span>, NULL);
200     assert(display-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8b8bc104c19ff228d476a377e572d9c7<span class="nb">}{</span>egl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8a1cbda15a286e41e89a85f158ce9311<span class="nb">}{</span>dpy<span class="nb">}</span>);
201 
202     ret = eglInitialize(display-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8b8bc104c19ff228d476a377e572d9c7<span class="nb">}{</span>egl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8a1cbda15a286e41e89a85f158ce9311<span class="nb">}{</span>dpy<span class="nb">}</span>, <span class="nb">&amp;</span>major, <span class="nb">&amp;</span>minor);
203     assert(ret == EGL<span class="k">\_</span>TRUE);
204     ret = eglBindAPI(EGL<span class="k">\_</span>OPENGL<span class="k">\_</span>ES<span class="k">\_</span>API);
205     assert(ret == EGL<span class="k">\_</span>TRUE);
206 
207     <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span> (!eglGetConfigs(display-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8b8bc104c19ff228d476a377e572d9c7<span class="nb">}{</span>egl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8a1cbda15a286e41e89a85f158ce9311<span class="nb">}{</span>dpy<span class="nb">}</span>, NULL, 0, <span class="nb">&amp;</span>count) || count &lt; 1)
208         assert(0);
209 
210     configs = calloc(count, <span class="k">\textcolor</span><span class="nb">{</span>keyword<span class="nb">}{</span>sizeof<span class="nb">}</span> *configs);
211     assert(configs);
212 
213     ret = eglChooseConfig(display-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8b8bc104c19ff228d476a377e572d9c7<span class="nb">}{</span>egl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8a1cbda15a286e41e89a85f158ce9311<span class="nb">}{</span>dpy<span class="nb">}</span>, config<span class="k">\_</span>attribs,
214                   configs, count, <span class="nb">&amp;</span>n);
215     assert(ret <span class="nb">&amp;&amp;</span> n &gt;= 1);
216 
217     <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>for<span class="nb">}</span> (i = 0; i &lt; n; i++) <span class="k">\{</span>
218         eglGetConfigAttrib(display-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8b8bc104c19ff228d476a377e572d9c7<span class="nb">}{</span>egl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8a1cbda15a286e41e89a85f158ce9311<span class="nb">}{</span>dpy<span class="nb">}</span>,
219                    configs[i], EGL<span class="k">\_</span>BUFFER<span class="k">\_</span>SIZE, <span class="nb">&amp;</span>size);
220         <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span> (window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a0e634038f669aff472012f25ea250b40<span class="nb">}{</span>buffer<span class="k">\_</span>size<span class="nb">}</span> == size) <span class="k">\{</span>
221             display-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8b8bc104c19ff228d476a377e572d9c7<span class="nb">}{</span>egl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a880aef9408b499f5b749541dc6e396c3<span class="nb">}{</span>conf<span class="nb">}</span> = configs[i];
222             <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>break<span class="nb">}</span>;
223         <span class="k">\}</span>
224     <span class="k">\}</span>
225     free(configs);
226     <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span> (display-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8b8bc104c19ff228d476a377e572d9c7<span class="nb">}{</span>egl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a880aef9408b499f5b749541dc6e396c3<span class="nb">}{</span>conf<span class="nb">}</span> == NULL) <span class="k">\{</span>
227         <span class="k">\hyperlink</span><span class="nb">{</span>include<span class="nb">_</span>2hmi-debug<span class="nb">_</span>8h<span class="nb">_</span>a65bb6c7cfe38f8a724beab5059d36fb2<span class="nb">}{</span>HMI<span class="k">\_</span>ERROR<span class="nb">}</span>(<span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a894f18168fa25101d792262f59846938<span class="nb">}{</span>log<span class="k">\_</span>prefix<span class="nb">}</span>,<span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;did not find config with buffer size <span class="c">%d&quot;},</span>
228             window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a0e634038f669aff472012f25ea250b40<span class="nb">}{</span>buffer<span class="k">\_</span>size<span class="nb">}</span>);
229         exit(EXIT<span class="k">\_</span>FAILURE);
230     <span class="k">\}</span>
231 
232     display-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8b8bc104c19ff228d476a377e572d9c7<span class="nb">}{</span>egl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a3420940a29a710e0e5ebd41ba462cc00<span class="nb">}{</span>ctx<span class="nb">}</span> = eglCreateContext(display-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8b8bc104c19ff228d476a377e572d9c7<span class="nb">}{</span>egl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8a1cbda15a286e41e89a85f158ce9311<span class="nb">}{</span>dpy<span class="nb">}</span>,
233                         display-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8b8bc104c19ff228d476a377e572d9c7<span class="nb">}{</span>egl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a880aef9408b499f5b749541dc6e396c3<span class="nb">}{</span>conf<span class="nb">}</span>,
234                         EGL<span class="k">\_</span>NO<span class="k">\_</span>CONTEXT, context<span class="k">\_</span>attribs);
235     assert(display-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8b8bc104c19ff228d476a377e572d9c7<span class="nb">}{</span>egl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a3420940a29a710e0e5ebd41ba462cc00<span class="nb">}{</span>ctx<span class="nb">}</span>);
236 
237     display-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a48c46c118e4765ef06596f6341c8f23f<span class="nb">}{</span>swap<span class="k">\_</span>buffers<span class="k">\_</span>with<span class="k">\_</span>damage<span class="nb">}</span> = NULL;
238     extensions = eglQueryString(display-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8b8bc104c19ff228d476a377e572d9c7<span class="nb">}{</span>egl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8a1cbda15a286e41e89a85f158ce9311<span class="nb">}{</span>dpy<span class="nb">}</span>, EGL<span class="k">\_</span>EXTENSIONS);
239     <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span> (extensions <span class="nb">&amp;&amp;</span>
240         strstr(extensions, <span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;EGL<span class="k">\_</span>EXT<span class="k">\_</span>swap<span class="k">\_</span>buffers<span class="k">\_</span>with<span class="k">\_</span>damage&quot;<span class="nb">}</span>) <span class="nb">&amp;&amp;</span>
241         strstr(extensions, <span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;EGL<span class="k">\_</span>EXT<span class="k">\_</span>buffer<span class="k">\_</span>age&quot;<span class="nb">}</span>))
242         display-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a48c46c118e4765ef06596f6341c8f23f<span class="nb">}{</span>swap<span class="k">\_</span>buffers<span class="k">\_</span>with<span class="k">\_</span>damage<span class="nb">}</span> =
243             (PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC)
244             eglGetProcAddress(<span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;eglSwapBuffersWithDamageEXT&quot;<span class="nb">}</span>);
245 
246     <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span> (display-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a48c46c118e4765ef06596f6341c8f23f<span class="nb">}{</span>swap<span class="k">\_</span>buffers<span class="k">\_</span>with<span class="k">\_</span>damage<span class="nb">}</span>)
247         <span class="k">\hyperlink</span><span class="nb">{</span>include<span class="nb">_</span>2hmi-debug<span class="nb">_</span>8h<span class="nb">_</span>a0d26d8b8201011dade787236519711c0<span class="nb">}{</span>HMI<span class="k">\_</span>DEBUG<span class="nb">}</span>(<span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a894f18168fa25101d792262f59846938<span class="nb">}{</span>log<span class="k">\_</span>prefix<span class="nb">}</span>,<span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;has EGL<span class="k">\_</span>EXT<span class="k">\_</span>buffer<span class="k">\_</span>age and
       EGL<span class="k">\_</span>EXT<span class="k">\_</span>swap<span class="k">\_</span>buffers<span class="k">\_</span>with<span class="k">\_</span>damage&quot;<span class="nb">}</span>);
248 
249 <span class="k">\}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!init<span class="k">\+\_\+</span>gl@<span class="nb">{</span>init<span class="k">\+\_\+</span>gl<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>init<span class="k">\+\_\+</span>gl@<span class="nb">{</span>init<span class="k">\+\_\+</span>gl<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{init\+\_\+gl(struct window $\ast$window)}{init_gl(struct window *window)}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>static void init<span class="k">\+\_\+</span>gl (
<span class="k">\begin</span><span class="nb">{</span>DoxyParamCaption<span class="nb">}</span>
<span class="k">\item</span><span class="na">[{struct {\bf window} $\ast$}]</span><span class="nb">{</span>window<span class="nb">}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyParamCaption<span class="nb">}</span>
)<span class="k">\hspace</span><span class="nb">{</span>0.3cm<span class="nb">}{</span><span class="k">\ttfamily</span> [static]<span class="nb">}}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ab3ee863fa45f4026f78f592d6f6e34ff<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ab3ee863fa45f4026f78f592d6f6e34ff<span class="nb">}</span>


Definition at line 285 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.


<span class="k">\begin</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
286 <span class="k">\{</span>
287     GLuint frag, vert;
288     GLuint program;
289     GLint status;
290 
291     frag = <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ab72c580e4d6d47c2fb49c72cc76b85bb<span class="nb">}{</span>create<span class="k">\_</span>shader<span class="nb">}</span>(window, <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ab5a6a2a26ac23f79b1687daa4b0d8980<span class="nb">}{</span>frag<span class="k">\_</span>shader<span class="k">\_</span>text<span class="nb">}</span>, GL<span class="k">\_</span>FRAGMENT<span class="k">\_</span>SHADER);
292     vert = <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ab72c580e4d6d47c2fb49c72cc76b85bb<span class="nb">}{</span>create<span class="k">\_</span>shader<span class="nb">}</span>(window, <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a717575939a37d84dcd4cf0447a630834<span class="nb">}{</span>vert<span class="k">\_</span>shader<span class="k">\_</span>text<span class="nb">}</span>, GL<span class="k">\_</span>VERTEX<span class="k">\_</span>SHADER);
293 
294     program = glCreateProgram();
295     glAttachShader(program, frag);
296     glAttachShader(program, vert);
297     glLinkProgram(program);
298 
299     glGetProgramiv(program, GL<span class="k">\_</span>LINK<span class="k">\_</span>STATUS, <span class="nb">&amp;</span>status);
300     <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span> (!status) <span class="k">\{</span>
301         <span class="k">\textcolor</span><span class="nb">{</span>keywordtype<span class="nb">}{</span>char<span class="nb">}</span> log[1000];
302         GLsizei len;
303         glGetProgramInfoLog(program, 1000, <span class="nb">&amp;</span>len, log);
304         <span class="k">\hyperlink</span><span class="nb">{</span>include<span class="nb">_</span>2hmi-debug<span class="nb">_</span>8h<span class="nb">_</span>a65bb6c7cfe38f8a724beab5059d36fb2<span class="nb">}{</span>HMI<span class="k">\_</span>ERROR<span class="nb">}</span>(<span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a894f18168fa25101d792262f59846938<span class="nb">}{</span>log<span class="k">\_</span>prefix<span class="nb">}</span>,<span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;Error: linking:<span class="c">%*s&quot;}, len, log);</span>
305         exit(1);
306     <span class="k">\}</span>
307 
308     glUseProgram(program);
309 
310     window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a6975a930e9a3c166f8201fc4ef5e7728<span class="nb">}{</span>gl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>aaf965f90f9fc938db2315ff62028c362<span class="nb">}{</span>pos<span class="nb">}</span> = 0;
311     window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a6975a930e9a3c166f8201fc4ef5e7728<span class="nb">}{</span>gl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>aef10fe94766ccd4831ee611c5ad0e55c<span class="nb">}{</span>col<span class="nb">}</span> = 1;
312 
313     glBindAttribLocation(program, window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a6975a930e9a3c166f8201fc4ef5e7728<span class="nb">}{</span>gl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>aaf965f90f9fc938db2315ff62028c362<span class="nb">}{</span>pos<span class="nb">}</span>, <span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;pos&quot;<span class="nb">}</span>);
314     glBindAttribLocation(program, window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a6975a930e9a3c166f8201fc4ef5e7728<span class="nb">}{</span>gl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>aef10fe94766ccd4831ee611c5ad0e55c<span class="nb">}{</span>col<span class="nb">}</span>, <span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;color&quot;<span class="nb">}</span>);
315     glLinkProgram(program);
316 
317     window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a6975a930e9a3c166f8201fc4ef5e7728<span class="nb">}{</span>gl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a5202f3b60e262a6fa4fcee68dd47cb67<span class="nb">}{</span>rotation<span class="k">\_</span>uniform<span class="nb">}</span> =
318         glGetUniformLocation(program, <span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;rotation&quot;<span class="nb">}</span>);
319 <span class="k">\}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!init<span class="k">\+\_\+</span>hs@<span class="nb">{</span>init<span class="k">\+\_\+</span>hs<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>init<span class="k">\+\_\+</span>hs@<span class="nb">{</span>init<span class="k">\+\_\+</span>hs<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{init\+\_\+hs(\+Lib\+Home\+Screen $\ast$hs)}{init_hs(LibHomeScreen *hs)}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>int init<span class="k">\+\_\+</span>hs (
<span class="k">\begin</span><span class="nb">{</span>DoxyParamCaption<span class="nb">}</span>
<span class="k">\item</span><span class="na">[{{\bf Lib\+Home\+Screen} $\ast$}]</span><span class="nb">{</span>hs<span class="nb">}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyParamCaption<span class="nb">}</span>
)<span class="nb">}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a79aafeb99915566dd3970246f465f306<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a79aafeb99915566dd3970246f465f306<span class="nb">}</span>


Definition at line 565 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.


<span class="k">\begin</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
565                           <span class="k">\{</span>
566     <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span>(hs-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>class<span class="nb">_</span>lib<span class="nb">_</span>home<span class="nb">_</span>screen<span class="nb">_</span>a6a57b573cc767725762ba9beab032220<span class="nb">}{</span>init<span class="nb">}</span>(<span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a300b6806fe6818927fe4df08f2398124<span class="nb">}{</span>port<span class="nb">}</span>, <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a623ef6987ef3bd185c07b28b13e46d34<span class="nb">}{</span>token<span class="nb">}</span>)!=0)
567     <span class="k">\{</span>
568         <span class="k">\hyperlink</span><span class="nb">{</span>include<span class="nb">_</span>2hmi-debug<span class="nb">_</span>8h<span class="nb">_</span>a65bb6c7cfe38f8a724beab5059d36fb2<span class="nb">}{</span>HMI<span class="k">\_</span>ERROR<span class="nb">}</span>(<span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a894f18168fa25101d792262f59846938<span class="nb">}{</span>log<span class="k">\_</span>prefix<span class="nb">}</span>,<span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;homescreen init failed. &quot;<span class="nb">}</span>);
569         <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>return<span class="nb">}</span> -1;
570     <span class="k">\}</span>
571 
572     hs-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>class<span class="nb">_</span>lib<span class="nb">_</span>home<span class="nb">_</span>screen<span class="nb">_</span>ab1b0e08bf35415de9064afed899e9f85<span class="nb">}{</span>set<span class="k">\_</span>event<span class="k">\_</span>handler<span class="nb">}</span>(<span class="k">\hyperlink</span><span class="nb">{</span>class<span class="nb">_</span>lib<span class="nb">_</span>home<span class="nb">_</span>screen<span class="nb">_</span>a82616c91ac211d2ad08e709b524bf154a3fb3563c64786f1a2ae404df6edffd5c<span class="nb">}{</span>LibHomeScreen::Event<span class="k">\_</span>ShowWindow<span class="nb">}</span>, 
      [hs](json<span class="k">\_</span>object *<span class="k">\textcolor</span><span class="nb">{</span>keywordtype<span class="nb">}{</span>object<span class="nb">}</span>)<span class="k">\{</span>
573         <span class="k">\hyperlink</span><span class="nb">{</span>include<span class="nb">_</span>2hmi-debug<span class="nb">_</span>8h<span class="nb">_</span>a0d26d8b8201011dade787236519711c0<span class="nb">}{</span>HMI<span class="k">\_</span>DEBUG<span class="nb">}</span>(<span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;simple-egl&quot;<span class="nb">}</span>,<span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;try to activeWindow <span class="c">%s &quot;}, \hyperlink{simple-egl_8cpp_a0da928eccfc57d1dfadfd29d4ac4854c}{app\_name}.c\_str());</span>
574 
575         <span class="k">\textcolor</span><span class="nb">{</span>keyword<span class="nb">}{</span>struct <span class="nb">}</span>json<span class="k">\_</span>object *param<span class="k">\_</span>obj = json<span class="k">\_</span>object<span class="k">\_</span>object<span class="k">\_</span>get(<span class="k">\textcolor</span><span class="nb">{</span>keywordtype<span class="nb">}{</span>object<span class="nb">}</span>, hs-&gt;
      <span class="k">\hyperlink</span><span class="nb">{</span>class<span class="nb">_</span>lib<span class="nb">_</span>home<span class="nb">_</span>screen<span class="nb">_</span>a927592eff8e34efbbceaf12522f8897f<span class="nb">}{</span><span class="k">\_</span>keyParameter<span class="nb">}</span>);
576         <span class="k">\textcolor</span><span class="nb">{</span>keyword<span class="nb">}{</span>const<span class="nb">}</span> <span class="k">\textcolor</span><span class="nb">{</span>keywordtype<span class="nb">}{</span>char<span class="nb">}</span> *area = json<span class="k">\_</span>object<span class="k">\_</span>get<span class="k">\_</span>string(
577             json<span class="k">\_</span>object<span class="k">\_</span>object<span class="k">\_</span>get(param<span class="k">\_</span>obj, hs-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>class<span class="nb">_</span>lib<span class="nb">_</span>home<span class="nb">_</span>screen<span class="nb">_</span>a8becda1b035ae45f5a11c7e7963091bf<span class="nb">}{</span><span class="k">\_</span>keyArea<span class="nb">}</span>));
578         <span class="k">\textcolor</span><span class="nb">{</span>comment<span class="nb">}{</span>// Application should call LibWindowmanager::activateWindow() in showWindow handler<span class="nb">}</span>
579         <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span>(area == <span class="k">\textcolor</span><span class="nb">{</span>keyword<span class="nb">}{</span>nullptr<span class="nb">}</span>)
580             <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ad1513698e07197206c290f94d7669d85<span class="nb">}{</span>wm<span class="nb">}</span>-&gt;activateWindow(<span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a332251aa739a56836cd4fbf3ecbb8bb2<span class="nb">}{</span>main<span class="k">\_</span>role<span class="nb">}</span>, hs-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>class<span class="nb">_</span>lib<span class="nb">_</span>home<span class="nb">_</span>screen<span class="nb">_</span>aac718b60b83c74e2b061f6f7f7ec3bf5<span class="nb">}{</span><span class="k">\_</span>areaNormal<span class="nb">}</span>);
581         <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>else<span class="nb">}</span>
582             <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ad1513698e07197206c290f94d7669d85<span class="nb">}{</span>wm<span class="nb">}</span>-&gt;activateWindow(<span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a332251aa739a56836cd4fbf3ecbb8bb2<span class="nb">}{</span>main<span class="k">\_</span>role<span class="nb">}</span>, area);
583     <span class="k">\}</span>);
584 
585     <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>return<span class="nb">}</span> 0;
586 <span class="k">\}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!init<span class="k">\+\_\+</span>wm@<span class="nb">{</span>init<span class="k">\+\_\+</span>wm<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>init<span class="k">\+\_\+</span>wm@<span class="nb">{</span>init<span class="k">\+\_\+</span>wm<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{init\+\_\+wm(\+Lib\+Windowmanager $\ast$wm, struct window $\ast$window)}{init_wm(LibWindowmanager *wm, struct window *window)}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>int init<span class="k">\+\_\+</span>wm (
<span class="k">\begin</span><span class="nb">{</span>DoxyParamCaption<span class="nb">}</span>
<span class="k">\item</span><span class="na">[{Lib\+Windowmanager $\ast$}]</span><span class="nb">{</span>wm, <span class="nb">}</span>
<span class="k">\item</span><span class="na">[{struct {\bf window} $\ast$}]</span><span class="nb">{</span>window<span class="nb">}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyParamCaption<span class="nb">}</span>
)<span class="nb">}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a644e25276ecdea04f2aa3412c1973927<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a644e25276ecdea04f2aa3412c1973927<span class="nb">}</span>


Definition at line 527 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.


<span class="k">\begin</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
528 <span class="k">\{</span>
529     <span class="k">\hyperlink</span><span class="nb">{</span>include<span class="nb">_</span>2hmi-debug<span class="nb">_</span>8h<span class="nb">_</span>a0d26d8b8201011dade787236519711c0<span class="nb">}{</span>HMI<span class="k">\_</span>DEBUG<span class="nb">}</span>(<span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a894f18168fa25101d792262f59846938<span class="nb">}{</span>log<span class="k">\_</span>prefix<span class="nb">}</span>,<span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;called&quot;<span class="nb">}</span>);
530 
531     <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span> (<span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ad1513698e07197206c290f94d7669d85<span class="nb">}{</span>wm<span class="nb">}</span>-&gt;init(<span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a300b6806fe6818927fe4df08f2398124<span class="nb">}{</span>port<span class="nb">}</span>, <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a623ef6987ef3bd185c07b28b13e46d34<span class="nb">}{</span>token<span class="nb">}</span>) != 0) <span class="k">\{</span>
532         <span class="k">\hyperlink</span><span class="nb">{</span>include<span class="nb">_</span>2hmi-debug<span class="nb">_</span>8h<span class="nb">_</span>a65bb6c7cfe38f8a724beab5059d36fb2<span class="nb">}{</span>HMI<span class="k">\_</span>ERROR<span class="nb">}</span>(<span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a894f18168fa25101d792262f59846938<span class="nb">}{</span>log<span class="k">\_</span>prefix<span class="nb">}</span>,<span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;wm init failed. &quot;<span class="nb">}</span>);
533         <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>return<span class="nb">}</span> -1;
534     <span class="k">\}</span>
535 
536     <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a28f56c9f01ed9f108201950645317cc9<span class="nb">}{</span>g<span class="k">\_</span>id<span class="k">\_</span>ivisurf<span class="nb">}</span> = <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ad1513698e07197206c290f94d7669d85<span class="nb">}{</span>wm<span class="nb">}</span>-&gt;requestSurface(<span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a332251aa739a56836cd4fbf3ecbb8bb2<span class="nb">}{</span>main<span class="k">\_</span>role<span class="nb">}</span>);
537     <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span> (<span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a28f56c9f01ed9f108201950645317cc9<span class="nb">}{</span>g<span class="k">\_</span>id<span class="k">\_</span>ivisurf<span class="nb">}</span> &lt; 0) <span class="k">\{</span>
538         <span class="k">\hyperlink</span><span class="nb">{</span>include<span class="nb">_</span>2hmi-debug<span class="nb">_</span>8h<span class="nb">_</span>a65bb6c7cfe38f8a724beab5059d36fb2<span class="nb">}{</span>HMI<span class="k">\_</span>ERROR<span class="nb">}</span>(<span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a894f18168fa25101d792262f59846938<span class="nb">}{</span>log<span class="k">\_</span>prefix<span class="nb">}</span>,<span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;wm request surface failed &quot;<span class="nb">}</span>);
539         <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>return<span class="nb">}</span> -1;
540     <span class="k">\}</span>
541     <span class="k">\hyperlink</span><span class="nb">{</span>include<span class="nb">_</span>2hmi-debug<span class="nb">_</span>8h<span class="nb">_</span>a0d26d8b8201011dade787236519711c0<span class="nb">}{</span>HMI<span class="k">\_</span>DEBUG<span class="nb">}</span>(<span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a894f18168fa25101d792262f59846938<span class="nb">}{</span>log<span class="k">\_</span>prefix<span class="nb">}</span>,<span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;IVI<span class="k">\_</span>SURFACE<span class="k">\_</span>ID: <span class="c">%d &quot;}, \hyperlink{simple-egl_8cpp_a28f56c9f01ed9f108201950645317cc9}{g\_id\_ivisurf});</span>
542 
543     WMHandler wmh;
544     wmh.on<span class="k">\_</span>visible = [](<span class="k">\textcolor</span><span class="nb">{</span>keyword<span class="nb">}{</span>const<span class="nb">}</span> <span class="k">\textcolor</span><span class="nb">{</span>keywordtype<span class="nb">}{</span>char<span class="nb">}</span>* role, <span class="k">\textcolor</span><span class="nb">{</span>keywordtype<span class="nb">}{</span>bool<span class="nb">}</span> visible)<span class="k">\{</span>
545         <span class="k">\textcolor</span><span class="nb">{</span>comment<span class="nb">}{</span>// Sample code if user uses visible event<span class="nb">}</span>
546         <span class="k">\hyperlink</span><span class="nb">{</span>include<span class="nb">_</span>2hmi-debug<span class="nb">_</span>8h<span class="nb">_</span>a0d26d8b8201011dade787236519711c0<span class="nb">}{</span>HMI<span class="k">\_</span>DEBUG<span class="nb">}</span>(<span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a894f18168fa25101d792262f59846938<span class="nb">}{</span>log<span class="k">\_</span>prefix<span class="nb">}</span>, <span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;role: <span class="c">%s, visible: %s&quot;}, role, visible ? \textcolor{stringliteral}{&quot;true&quot;} : \textcolor{stringliteral}{&quot;false&quot;})</span>
      ;
547     <span class="k">\}</span>;
548     wmh.on<span class="k">\_</span>sync<span class="k">\_</span>draw = [<span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ad1513698e07197206c290f94d7669d85<span class="nb">}{</span>wm<span class="nb">}</span>, window](<span class="k">\textcolor</span><span class="nb">{</span>keyword<span class="nb">}{</span>const<span class="nb">}</span> <span class="k">\textcolor</span><span class="nb">{</span>keywordtype<span class="nb">}{</span>char<span class="nb">}</span>* role, <span class="k">\textcolor</span><span class="nb">{</span>keyword<span class="nb">}{</span>const<span class="nb">}</span> <span class="k">\textcolor</span><span class="nb">{</span>keywordtype<span class="nb">}{</span>char<span class="nb">}</span>* area, Rect rect) <span class="k">\{</span>
549 
550         <span class="k">\hyperlink</span><span class="nb">{</span>include<span class="nb">_</span>2hmi-debug<span class="nb">_</span>8h<span class="nb">_</span>a0d26d8b8201011dade787236519711c0<span class="nb">}{</span>HMI<span class="k">\_</span>DEBUG<span class="nb">}</span>(<span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a894f18168fa25101d792262f59846938<span class="nb">}{</span>log<span class="k">\_</span>prefix<span class="nb">}</span>,<span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;Surface <span class="c">%s got syncDraw! Area: %s. w:%d, h:%d&quot;}, role, area</span>
      , rect.width(), rect.height());
551 
552         wl<span class="k">\_</span>egl<span class="k">\_</span>window<span class="k">\_</span>resize(window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>ae41be0955d0e73530e1bc13dfeb9d731<span class="nb">}{</span>native<span class="nb">}</span>, rect.width(), rect.height(), 0, 0);
553         window-&gt;geometry.width  = rect.width();
554         window-&gt;geometry.height = rect.height();
555 
556         <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ad1513698e07197206c290f94d7669d85<span class="nb">}{</span>wm<span class="nb">}</span>-&gt;endDraw(role);
557     <span class="k">\}</span>;
558 
559     <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ad1513698e07197206c290f94d7669d85<span class="nb">}{</span>wm<span class="nb">}</span>-&gt;setEventHandler(wmh);
560 
561     <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>return<span class="nb">}</span> 0;
562 <span class="k">\}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!main@<span class="nb">{</span>main<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>main@<span class="nb">{</span>main<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{main(int argc, char $\ast$$\ast$argv)}{main(int argc, char **argv)}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>int main (
<span class="k">\begin</span><span class="nb">{</span>DoxyParamCaption<span class="nb">}</span>
<span class="k">\item</span><span class="na">[{int}]</span><span class="nb">{</span>argc, <span class="nb">}</span>
<span class="k">\item</span><span class="na">[{char $\ast$$\ast$}]</span><span class="nb">{</span>argv<span class="nb">}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyParamCaption<span class="nb">}</span>
)<span class="nb">}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a3c04138a5bfe5d72780bb7e82a18e627<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a3c04138a5bfe5d72780bb7e82a18e627<span class="nb">}</span>


Definition at line 589 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.


<span class="k">\begin</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
590 <span class="k">\{</span>
591     <span class="k">\textcolor</span><span class="nb">{</span>keyword<span class="nb">}{</span>struct <span class="nb">}</span>sigaction sigint;
592     <span class="k">\textcolor</span><span class="nb">{</span>keyword<span class="nb">}{</span>struct <span class="nb">}</span><span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">}{</span>window<span class="nb">}</span>  <span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">}{</span>window<span class="nb">}</span>  = <span class="k">\{</span> 0 <span class="k">\}</span>;
593     <span class="k">\textcolor</span><span class="nb">{</span>keyword<span class="nb">}{</span>struct <span class="nb">}</span><span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">}{</span>display<span class="nb">}</span> <span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">}{</span>display<span class="nb">}</span> = <span class="k">\{</span> 0 <span class="k">\}</span>;
594 
595     window.<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a129486f2bd23791194f389ca1405cfd4<span class="nb">}{</span>display<span class="nb">}</span> = <span class="nb">&amp;</span><span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>aa8faf09631925e9221fd8a0c086ce75a<span class="nb">}{</span>display<span class="nb">}</span>;
596     display.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a9974d560bec291487ae2440f897ffc58<span class="nb">}{</span>window<span class="nb">}</span> = <span class="nb">&amp;</span><span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a9974d560bec291487ae2440f897ffc58<span class="nb">}{</span>window<span class="nb">}</span>;
597     window.geometry.width  = 1080;
598     window.geometry.height = 1488;
599     window.<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>ad2b6c8ed8044b41fd1189a0ce26d539a<span class="nb">}{</span>window<span class="k">\_</span>size<span class="nb">}</span> = window.geometry;
600     window.<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a0e634038f669aff472012f25ea250b40<span class="nb">}{</span>buffer<span class="k">\_</span>size<span class="nb">}</span> = 32;
601     window.<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a851bcb65083f5ab5ff768b09522bed70<span class="nb">}{</span>frame<span class="k">\_</span>sync<span class="nb">}</span> = 1;
602 
603     <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span>(argc &gt; 2)<span class="k">\{</span>
604         <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a300b6806fe6818927fe4df08f2398124<span class="nb">}{</span>port<span class="nb">}</span> = strtol(argv[1], NULL, 10);
605         <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a623ef6987ef3bd185c07b28b13e46d34<span class="nb">}{</span>token<span class="nb">}</span> = argv[2];
606     <span class="k">\}</span>
607 
608     <span class="k">\hyperlink</span><span class="nb">{</span>include<span class="nb">_</span>2hmi-debug<span class="nb">_</span>8h<span class="nb">_</span>a0d26d8b8201011dade787236519711c0<span class="nb">}{</span>HMI<span class="k">\_</span>DEBUG<span class="nb">}</span>(<span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a894f18168fa25101d792262f59846938<span class="nb">}{</span>log<span class="k">\_</span>prefix<span class="nb">}</span>,<span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;main<span class="k">\_</span>role: <span class="c">%s, port: %d, token: %s. &quot;}, </span>
      <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a332251aa739a56836cd4fbf3ecbb8bb2<span class="nb">}{</span>main<span class="k">\_</span>role<span class="nb">}</span>, <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a300b6806fe6818927fe4df08f2398124<span class="nb">}{</span>port<span class="nb">}</span>, <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a623ef6987ef3bd185c07b28b13e46d34<span class="nb">}{</span>token<span class="nb">}</span>.c<span class="k">\_</span>str());
609 
610     display.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>aa8faf09631925e9221fd8a0c086ce75a<span class="nb">}{</span>display<span class="nb">}</span> = wl<span class="k">\_</span>display<span class="k">\_</span>connect(NULL);
611     assert(display.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>aa8faf09631925e9221fd8a0c086ce75a<span class="nb">}{</span>display<span class="nb">}</span>);
612 
613     display.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a925781323f5c8eb84ef2225ed129de4b<span class="nb">}{</span>registry<span class="nb">}</span> = wl<span class="k">\_</span>display<span class="k">\_</span>get<span class="k">\_</span>registry(display.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>aa8faf09631925e9221fd8a0c086ce75a<span class="nb">}{</span>display<span class="nb">}</span>);
614     wl<span class="k">\_</span>registry<span class="k">\_</span>add<span class="k">\_</span>listener(display.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a925781323f5c8eb84ef2225ed129de4b<span class="nb">}{</span>registry<span class="nb">}</span>,
615                  <span class="nb">&amp;</span><span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a8998c87c94cd7d185e8f0cdafab4b1c4<span class="nb">}{</span>registry<span class="k">\_</span>listener<span class="nb">}</span>, <span class="nb">&amp;</span>display);
616 
617     wl<span class="k">\_</span>display<span class="k">\_</span>roundtrip(display.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>aa8faf09631925e9221fd8a0c086ce75a<span class="nb">}{</span>display<span class="nb">}</span>);
618 
619     <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a1073d4aca1838d3877fe577d813700fc<span class="nb">}{</span>init<span class="k">\_</span>egl<span class="nb">}</span>(<span class="nb">&amp;</span>display, <span class="nb">&amp;</span>window);
620 
621     <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ad1513698e07197206c290f94d7669d85<span class="nb">}{</span>wm<span class="nb">}</span> = <span class="k">\textcolor</span><span class="nb">{</span>keyword<span class="nb">}{</span>new<span class="nb">}</span> LibWindowmanager();
622     <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span>(<span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a644e25276ecdea04f2aa3412c1973927<span class="nb">}{</span>init<span class="k">\_</span>wm<span class="nb">}</span>(<span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ad1513698e07197206c290f94d7669d85<span class="nb">}{</span>wm<span class="nb">}</span>, <span class="nb">&amp;</span>window)!=0)<span class="k">\{</span>
623         <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a4f71f46ede5b73bd7c770c973826f771<span class="nb">}{</span>fini<span class="k">\_</span>egl<span class="nb">}</span>(<span class="nb">&amp;</span>display);
624         <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span> (display.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a24c073faff3bb4799c2d46291f27ab89<span class="nb">}{</span>ivi<span class="k">\_</span>application<span class="nb">}</span>)
625             ivi<span class="k">\_</span>application<span class="k">\_</span>destroy(display.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a24c073faff3bb4799c2d46291f27ab89<span class="nb">}{</span>ivi<span class="k">\_</span>application<span class="nb">}</span>);
626         <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span> (display.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a41ba32dfde812165dda5b62885000c78<span class="nb">}{</span>compositor<span class="nb">}</span>)
627             wl<span class="k">\_</span>compositor<span class="k">\_</span>destroy(display.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a41ba32dfde812165dda5b62885000c78<span class="nb">}{</span>compositor<span class="nb">}</span>);
628         wl<span class="k">\_</span>registry<span class="k">\_</span>destroy(display.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a925781323f5c8eb84ef2225ed129de4b<span class="nb">}{</span>registry<span class="nb">}</span>);
629         wl<span class="k">\_</span>display<span class="k">\_</span>flush(display.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>aa8faf09631925e9221fd8a0c086ce75a<span class="nb">}{</span>display<span class="nb">}</span>);
630         <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>return<span class="nb">}</span> -1;
631     <span class="k">\}</span>
632 
633     <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a529acbd1fed9d98a587edfa62309fa8d<span class="nb">}{</span>hs<span class="nb">}</span> = <span class="k">\textcolor</span><span class="nb">{</span>keyword<span class="nb">}{</span>new<span class="nb">}</span> <span class="k">\hyperlink</span><span class="nb">{</span>class<span class="nb">_</span>lib<span class="nb">_</span>home<span class="nb">_</span>screen<span class="nb">}{</span>LibHomeScreen<span class="nb">}</span>();
634     <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span>(<span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a79aafeb99915566dd3970246f465f306<span class="nb">}{</span>init<span class="k">\_</span>hs<span class="nb">}</span>(<span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a529acbd1fed9d98a587edfa62309fa8d<span class="nb">}{</span>hs<span class="nb">}</span>)!=0)<span class="k">\{</span>
635         <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a4f71f46ede5b73bd7c770c973826f771<span class="nb">}{</span>fini<span class="k">\_</span>egl<span class="nb">}</span>(<span class="nb">&amp;</span>display);
636         <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span> (display.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a24c073faff3bb4799c2d46291f27ab89<span class="nb">}{</span>ivi<span class="k">\_</span>application<span class="nb">}</span>)
637             ivi<span class="k">\_</span>application<span class="k">\_</span>destroy(display.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a24c073faff3bb4799c2d46291f27ab89<span class="nb">}{</span>ivi<span class="k">\_</span>application<span class="nb">}</span>);
638         <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span> (display.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a41ba32dfde812165dda5b62885000c78<span class="nb">}{</span>compositor<span class="nb">}</span>)
639             wl<span class="k">\_</span>compositor<span class="k">\_</span>destroy(display.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a41ba32dfde812165dda5b62885000c78<span class="nb">}{</span>compositor<span class="nb">}</span>);
640         wl<span class="k">\_</span>registry<span class="k">\_</span>destroy(display.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a925781323f5c8eb84ef2225ed129de4b<span class="nb">}{</span>registry<span class="nb">}</span>);
641         wl<span class="k">\_</span>display<span class="k">\_</span>flush(display.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>aa8faf09631925e9221fd8a0c086ce75a<span class="nb">}{</span>display<span class="nb">}</span>);
642         <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>return<span class="nb">}</span> -1;
643     <span class="k">\}</span>
644 
645     <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a83c7f2e34bbc715d97f0642def708293<span class="nb">}{</span>create<span class="k">\_</span>surface<span class="nb">}</span>(<span class="nb">&amp;</span>window);
646     <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ab3ee863fa45f4026f78f592d6f6e34ff<span class="nb">}{</span>init<span class="k">\_</span>gl<span class="nb">}</span>(<span class="nb">&amp;</span>window);
647 
648     <span class="k">\textcolor</span><span class="nb">{</span>comment<span class="nb">}{</span>//Ctrl+C<span class="nb">}</span>
649     sigint.sa<span class="k">\_</span>handler = <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a2cfc8c2d3fc1273ba8f811d2e639aec8<span class="nb">}{</span>signal<span class="k">\_</span>int<span class="nb">}</span>;
650     sigemptyset(<span class="nb">&amp;</span>sigint.sa<span class="k">\_</span>mask);
651     sigint.sa<span class="k">\_</span>flags = SA<span class="k">\_</span>RESETHAND;
652     sigaction(SIGINT, <span class="nb">&amp;</span>sigint, NULL);
653 
654     eglSwapBuffers(window.<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a129486f2bd23791194f389ca1405cfd4<span class="nb">}{</span>display<span class="nb">}</span>-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8b8bc104c19ff228d476a377e572d9c7<span class="nb">}{</span>egl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8a1cbda15a286e41e89a85f158ce9311<span class="nb">}{</span>dpy<span class="nb">}</span>, window.<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a8de0059f3f1cb0dec33fba1143b7dee1<span class="nb">}{</span>egl<span class="k">\_</span>surface<span class="nb">}</span>);
655 
656     <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ad1513698e07197206c290f94d7669d85<span class="nb">}{</span>wm<span class="nb">}</span>-&gt;activateWindow(<span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a332251aa739a56836cd4fbf3ecbb8bb2<span class="nb">}{</span>main<span class="k">\_</span>role<span class="nb">}</span>);
657 
658     <span class="k">\textcolor</span><span class="nb">{</span>comment<span class="nb">}{</span>/* The mainloop here is a little subtle.  Redrawing will cause<span class="nb">}</span>
659 <span class="k">\textcolor</span><span class="nb">{</span>comment<span class="nb">}{</span>     * EGL to read events so we can just call<span class="nb">}</span>
660 <span class="k">\textcolor</span><span class="nb">{</span>comment<span class="nb">}{</span>     * wl<span class="k">\_</span>display<span class="k">\_</span>dispatch<span class="k">\_</span>pending() to handle any events that got<span class="nb">}</span>
661 <span class="k">\textcolor</span><span class="nb">{</span>comment<span class="nb">}{</span>     * queued up as a side effect. */<span class="nb">}</span>
662     <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>while<span class="nb">}</span> (<span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a2f45113638a0b749a8a205d2cd7fb42b<span class="nb">}{</span>running<span class="nb">}</span>) <span class="k">\{</span>
663         wl<span class="k">\_</span>display<span class="k">\_</span>dispatch<span class="k">\_</span>pending(display.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>aa8faf09631925e9221fd8a0c086ce75a<span class="nb">}{</span>display<span class="nb">}</span>);
664         <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a927502f6103ec35422eead39e62ab7ba<span class="nb">}{</span>redraw<span class="nb">}</span>(<span class="nb">&amp;</span>window, NULL, 0);
665     <span class="k">\}</span>
666 
667     <span class="k">\hyperlink</span><span class="nb">{</span>include<span class="nb">_</span>2hmi-debug<span class="nb">_</span>8h<span class="nb">_</span>a0d26d8b8201011dade787236519711c0<span class="nb">}{</span>HMI<span class="k">\_</span>DEBUG<span class="nb">}</span>(<span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a894f18168fa25101d792262f59846938<span class="nb">}{</span>log<span class="k">\_</span>prefix<span class="nb">}</span>,<span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;simple-egl exiting! &quot;<span class="nb">}</span>);
668 
669     <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>aba2ea9aa51701e52d4f36b4f34cecf7a<span class="nb">}{</span>destroy<span class="k">\_</span>surface<span class="nb">}</span>(<span class="nb">&amp;</span>window);
670     <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a4f71f46ede5b73bd7c770c973826f771<span class="nb">}{</span>fini<span class="k">\_</span>egl<span class="nb">}</span>(<span class="nb">&amp;</span>display);
671 
672     <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span> (display.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a24c073faff3bb4799c2d46291f27ab89<span class="nb">}{</span>ivi<span class="k">\_</span>application<span class="nb">}</span>)
673         ivi<span class="k">\_</span>application<span class="k">\_</span>destroy(display.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a24c073faff3bb4799c2d46291f27ab89<span class="nb">}{</span>ivi<span class="k">\_</span>application<span class="nb">}</span>);
674 
675     <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span> (display.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a41ba32dfde812165dda5b62885000c78<span class="nb">}{</span>compositor<span class="nb">}</span>)
676         wl<span class="k">\_</span>compositor<span class="k">\_</span>destroy(display.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a41ba32dfde812165dda5b62885000c78<span class="nb">}{</span>compositor<span class="nb">}</span>);
677 
678     wl<span class="k">\_</span>registry<span class="k">\_</span>destroy(display.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a925781323f5c8eb84ef2225ed129de4b<span class="nb">}{</span>registry<span class="nb">}</span>);
679     wl<span class="k">\_</span>display<span class="k">\_</span>flush(display.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>aa8faf09631925e9221fd8a0c086ce75a<span class="nb">}{</span>display<span class="nb">}</span>);
680     wl<span class="k">\_</span>display<span class="k">\_</span>disconnect(display.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>aa8faf09631925e9221fd8a0c086ce75a<span class="nb">}{</span>display<span class="nb">}</span>);
681 
682     <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>return<span class="nb">}</span> 0;
683 <span class="k">\}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!redraw@<span class="nb">{</span>redraw<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>redraw@<span class="nb">{</span>redraw<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{redraw(void $\ast$data, struct wl\+\_\+callback $\ast$callback, uint32\+\_\+t time)}{redraw(void *data, struct wl_callback *callback, uint32_t time)}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>static void redraw (
<span class="k">\begin</span><span class="nb">{</span>DoxyParamCaption<span class="nb">}</span>
<span class="k">\item</span><span class="na">[{void $\ast$}]</span><span class="nb">{</span>data, <span class="nb">}</span>
<span class="k">\item</span><span class="na">[{struct wl\+\_\+callback $\ast$}]</span><span class="nb">{</span>callback, <span class="nb">}</span>
<span class="k">\item</span><span class="na">[{uint32\+\_\+t}]</span><span class="nb">{</span>time<span class="nb">}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyParamCaption<span class="nb">}</span>
)<span class="k">\hspace</span><span class="nb">{</span>0.3cm<span class="nb">}{</span><span class="k">\ttfamily</span> [static]<span class="nb">}}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a927502f6103ec35422eead39e62ab7ba<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a927502f6103ec35422eead39e62ab7ba<span class="nb">}</span>


Definition at line 389 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.


<span class="k">\begin</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
390 <span class="k">\{</span>
391     <span class="k">\textcolor</span><span class="nb">{</span>keyword<span class="nb">}{</span>struct <span class="nb">}</span><span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">}{</span>window<span class="nb">}</span> *<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">}{</span>window<span class="nb">}</span> = data;
392     <span class="k">\textcolor</span><span class="nb">{</span>keyword<span class="nb">}{</span>struct <span class="nb">}</span><span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">}{</span>display<span class="nb">}</span> *<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">}{</span>display<span class="nb">}</span> = window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a129486f2bd23791194f389ca1405cfd4<span class="nb">}{</span>display<span class="nb">}</span>;
393     <span class="k">\textcolor</span><span class="nb">{</span>keyword<span class="nb">}{</span>static<span class="nb">}</span> <span class="k">\textcolor</span><span class="nb">{</span>keyword<span class="nb">}{</span>const<span class="nb">}</span> GLfloat verts[3][2] = <span class="k">\{</span>
394         <span class="k">\{</span> -0.5, -0.5 <span class="k">\}</span>,
395         <span class="k">\{</span>  0.5, -0.5 <span class="k">\}</span>,
396         <span class="k">\{</span>  0,    0.5 <span class="k">\}</span>
397     <span class="k">\}</span>;
398 
399     <span class="k">\textcolor</span><span class="nb">{</span>keyword<span class="nb">}{</span>static<span class="nb">}</span> <span class="k">\textcolor</span><span class="nb">{</span>keyword<span class="nb">}{</span>const<span class="nb">}</span> GLfloat colors[3][3] = <span class="k">\{</span>
400         <span class="k">\{</span> 1, 0, 0 <span class="k">\}</span>,
401         <span class="k">\{</span> 0, 1, 0 <span class="k">\}</span>,
402         <span class="k">\{</span> 0, 0, 1 <span class="k">\}</span>
403     <span class="k">\}</span>;
404 
405     GLfloat angle;
406     GLfloat rotation[4][4] = <span class="k">\{</span>
407         <span class="k">\{</span> 1, 0, 0, 0 <span class="k">\}</span>,
408         <span class="k">\{</span> 0, 1, 0, 0 <span class="k">\}</span>,
409         <span class="k">\{</span> 0, 0, 1, 0 <span class="k">\}</span>,
410         <span class="k">\{</span> 0, 0, 0, 1 <span class="k">\}</span>
411     <span class="k">\}</span>;
412     <span class="k">\textcolor</span><span class="nb">{</span>keyword<span class="nb">}{</span>static<span class="nb">}</span> <span class="k">\textcolor</span><span class="nb">{</span>keyword<span class="nb">}{</span>const<span class="nb">}</span> uint32<span class="k">\_</span>t speed<span class="k">\_</span>div = 5, benchmark<span class="k">\_</span>interval = 5;
413     <span class="k">\textcolor</span><span class="nb">{</span>keyword<span class="nb">}{</span>struct <span class="nb">}</span>wl<span class="k">\_</span>region *region;
414     EGLint rect[4];
415     EGLint buffer<span class="k">\_</span>age = 0;
416     <span class="k">\textcolor</span><span class="nb">{</span>keyword<span class="nb">}{</span>struct <span class="nb">}</span>timeval tv;
417 
418     assert(window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a35ba639556fa19d9273dad0953a6807e<span class="nb">}{</span>callback<span class="nb">}</span> == callback);
419     window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a35ba639556fa19d9273dad0953a6807e<span class="nb">}{</span>callback<span class="nb">}</span> = NULL;
420 
421     <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span> (callback)
422         wl<span class="k">\_</span>callback<span class="k">\_</span>destroy(callback);
423 
424     gettimeofday(<span class="nb">&amp;</span>tv, NULL);
425     time = tv.tv<span class="k">\_</span>sec * 1000 + tv.tv<span class="k">\_</span>usec / 1000;
426     <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span> (window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a633864bb495ec265bee220a5c70cc98f<span class="nb">}{</span>frames<span class="nb">}</span> == 0)
427         window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a72629bf021a361ad900504732a74cb68<span class="nb">}{</span>benchmark<span class="k">\_</span>time<span class="nb">}</span> = time;
428 
429     <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span> (time - window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a72629bf021a361ad900504732a74cb68<span class="nb">}{</span>benchmark<span class="k">\_</span>time<span class="nb">}</span> &gt; (benchmark<span class="k">\_</span>interval * 1000)) <span class="k">\{</span>
430         <span class="k">\hyperlink</span><span class="nb">{</span>include<span class="nb">_</span>2hmi-debug<span class="nb">_</span>8h<span class="nb">_</span>a0d26d8b8201011dade787236519711c0<span class="nb">}{</span>HMI<span class="k">\_</span>DEBUG<span class="nb">}</span>(<span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a894f18168fa25101d792262f59846938<span class="nb">}{</span>log<span class="k">\_</span>prefix<span class="nb">}</span>,<span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;<span class="c">%d frames in %d seconds: %f fps&quot;},</span>
431                window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a633864bb495ec265bee220a5c70cc98f<span class="nb">}{</span>frames<span class="nb">}</span>,
432                benchmark<span class="k">\_</span>interval,
433                (<span class="k">\textcolor</span><span class="nb">{</span>keywordtype<span class="nb">}{</span>float<span class="nb">}</span>) window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a633864bb495ec265bee220a5c70cc98f<span class="nb">}{</span>frames<span class="nb">}</span> / benchmark<span class="k">\_</span>interval);
434         window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a72629bf021a361ad900504732a74cb68<span class="nb">}{</span>benchmark<span class="k">\_</span>time<span class="nb">}</span> = time;
435         window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a633864bb495ec265bee220a5c70cc98f<span class="nb">}{</span>frames<span class="nb">}</span> = 0;
436     <span class="k">\}</span>
437 
438     angle = (time / speed<span class="k">\_</span>div) <span class="c">% 360 * M\_PI / 180.0;</span>
439     rotation[0][0] =  cos(angle);
440     rotation[0][2] =  sin(angle);
441     rotation[2][0] = -sin(angle);
442     rotation[2][2] =  cos(angle);
443 
444     <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span> (display-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a48c46c118e4765ef06596f6341c8f23f<span class="nb">}{</span>swap<span class="k">\_</span>buffers<span class="k">\_</span>with<span class="k">\_</span>damage<span class="nb">}</span>)
445         eglQuerySurface(display-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8b8bc104c19ff228d476a377e572d9c7<span class="nb">}{</span>egl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8a1cbda15a286e41e89a85f158ce9311<span class="nb">}{</span>dpy<span class="nb">}</span>, window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a8de0059f3f1cb0dec33fba1143b7dee1<span class="nb">}{</span>egl<span class="k">\_</span>surface<span class="nb">}</span>,
446                 <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a7045d8a6b4857f268a62fab2de2021fd<span class="nb">}{</span>EGL<span class="k">\_</span>BUFFER<span class="k">\_</span>AGE<span class="k">\_</span>EXT<span class="nb">}</span>, <span class="nb">&amp;</span>buffer<span class="k">\_</span>age);
447 
448     glViewport(0, 0, window-&gt;geometry.width, window-&gt;geometry.height);
449 
450     glUniformMatrix4fv(window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a6975a930e9a3c166f8201fc4ef5e7728<span class="nb">}{</span>gl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a5202f3b60e262a6fa4fcee68dd47cb67<span class="nb">}{</span>rotation<span class="k">\_</span>uniform<span class="nb">}</span>, 1, GL<span class="k">\_</span>FALSE,
451                (GLfloat *) rotation);
452 
453     glClearColor(0.0, 0.0, 0.0, 0.5);
454     glClear(GL<span class="k">\_</span>COLOR<span class="k">\_</span>BUFFER<span class="k">\_</span>BIT);
455 
456     glVertexAttribPointer(window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a6975a930e9a3c166f8201fc4ef5e7728<span class="nb">}{</span>gl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>aaf965f90f9fc938db2315ff62028c362<span class="nb">}{</span>pos<span class="nb">}</span>, 2, GL<span class="k">\_</span>FLOAT, GL<span class="k">\_</span>FALSE, 0, verts);
457     glVertexAttribPointer(window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a6975a930e9a3c166f8201fc4ef5e7728<span class="nb">}{</span>gl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>aef10fe94766ccd4831ee611c5ad0e55c<span class="nb">}{</span>col<span class="nb">}</span>, 3, GL<span class="k">\_</span>FLOAT, GL<span class="k">\_</span>FALSE, 0, colors);
458     glEnableVertexAttribArray(window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a6975a930e9a3c166f8201fc4ef5e7728<span class="nb">}{</span>gl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>aaf965f90f9fc938db2315ff62028c362<span class="nb">}{</span>pos<span class="nb">}</span>);
459     glEnableVertexAttribArray(window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a6975a930e9a3c166f8201fc4ef5e7728<span class="nb">}{</span>gl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>aef10fe94766ccd4831ee611c5ad0e55c<span class="nb">}{</span>col<span class="nb">}</span>);
460 
461     glDrawArrays(GL<span class="k">\_</span>TRIANGLES, 0, 3);
462 
463     glDisableVertexAttribArray(window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a6975a930e9a3c166f8201fc4ef5e7728<span class="nb">}{</span>gl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>aaf965f90f9fc938db2315ff62028c362<span class="nb">}{</span>pos<span class="nb">}</span>);
464     glDisableVertexAttribArray(window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a6975a930e9a3c166f8201fc4ef5e7728<span class="nb">}{</span>gl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>aef10fe94766ccd4831ee611c5ad0e55c<span class="nb">}{</span>col<span class="nb">}</span>);
465 
466     <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span> (window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a026a50808d8323a5a73d585c19916fa8<span class="nb">}{</span>opaque<span class="nb">}</span> || window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a8da44798a9e1feb7ed3fbd18ec3a28b6<span class="nb">}{</span>fullscreen<span class="nb">}</span>) <span class="k">\{</span>
467         region = wl<span class="k">\_</span>compositor<span class="k">\_</span>create<span class="k">\_</span>region(window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a129486f2bd23791194f389ca1405cfd4<span class="nb">}{</span>display<span class="nb">}</span>-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a41ba32dfde812165dda5b62885000c78<span class="nb">}{</span>compositor<span class="nb">}</span>);
468         wl<span class="k">\_</span>region<span class="k">\_</span>add(region, 0, 0,
469                   window-&gt;geometry.width,
470                   window-&gt;geometry.height);
471         wl<span class="k">\_</span>surface<span class="k">\_</span>set<span class="k">\_</span>opaque<span class="k">\_</span>region(window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a7d0790cfc7c30621611fa26ab5c1ae97<span class="nb">}{</span>surface<span class="nb">}</span>, region);
472         wl<span class="k">\_</span>region<span class="k">\_</span>destroy(region);
473     <span class="k">\}</span> <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>else<span class="nb">}</span> <span class="k">\{</span>
474         wl<span class="k">\_</span>surface<span class="k">\_</span>set<span class="k">\_</span>opaque<span class="k">\_</span>region(window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a7d0790cfc7c30621611fa26ab5c1ae97<span class="nb">}{</span>surface<span class="nb">}</span>, NULL);
475     <span class="k">\}</span>
476 
477     <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span> (display-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a48c46c118e4765ef06596f6341c8f23f<span class="nb">}{</span>swap<span class="k">\_</span>buffers<span class="k">\_</span>with<span class="k">\_</span>damage<span class="nb">}</span> <span class="nb">&amp;&amp;</span> buffer<span class="k">\_</span>age &gt; 0) <span class="k">\{</span>
478         rect[0] = window-&gt;geometry.width / 4 - 1;
479         rect[1] = window-&gt;geometry.height / 4 - 1;
480         rect[2] = window-&gt;geometry.width / 2 + 2;
481         rect[3] = window-&gt;geometry.height / 2 + 2;
482         display-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a48c46c118e4765ef06596f6341c8f23f<span class="nb">}{</span>swap<span class="k">\_</span>buffers<span class="k">\_</span>with<span class="k">\_</span>damage<span class="nb">}</span>(display-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8b8bc104c19ff228d476a377e572d9c7<span class="nb">}{</span>egl<span class="nb">}</span>.
      <span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8a1cbda15a286e41e89a85f158ce9311<span class="nb">}{</span>dpy<span class="nb">}</span>,
483                           window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a8de0059f3f1cb0dec33fba1143b7dee1<span class="nb">}{</span>egl<span class="k">\_</span>surface<span class="nb">}</span>,
484                           rect, 1);
485     <span class="k">\}</span> <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>else<span class="nb">}</span> <span class="k">\{</span>
486         eglSwapBuffers(display-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8b8bc104c19ff228d476a377e572d9c7<span class="nb">}{</span>egl<span class="nb">}</span>.<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a8a1cbda15a286e41e89a85f158ce9311<span class="nb">}{</span>dpy<span class="nb">}</span>, window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a8de0059f3f1cb0dec33fba1143b7dee1<span class="nb">}{</span>egl<span class="k">\_</span>surface<span class="nb">}</span>);
487     <span class="k">\}</span>
488 
489     window-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structwindow<span class="nb">_</span>a633864bb495ec265bee220a5c70cc98f<span class="nb">}{</span>frames<span class="nb">}</span>++;
490 <span class="k">\}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!registry<span class="k">\+\_\+</span>handle<span class="k">\+\_\+</span>global@<span class="nb">{</span>registry<span class="k">\+\_\+</span>handle<span class="k">\+\_\+</span>global<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>registry<span class="k">\+\_\+</span>handle<span class="k">\+\_\+</span>global@<span class="nb">{</span>registry<span class="k">\+\_\+</span>handle<span class="k">\+\_\+</span>global<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{registry\+\_\+handle\+\_\+global(void $\ast$data, struct wl\+\_\+registry $\ast$registry, uint32\+\_\+t name, const char $\ast$interface, uint32\+\_\+t version)}{registry_handle_global(void *data, struct wl_registry *registry, uint32_t name, const char *interface, uint32_t version)}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>static void registry<span class="k">\+\_\+</span>handle<span class="k">\+\_\+</span>global (
<span class="k">\begin</span><span class="nb">{</span>DoxyParamCaption<span class="nb">}</span>
<span class="k">\item</span><span class="na">[{void $\ast$}]</span><span class="nb">{</span>data, <span class="nb">}</span>
<span class="k">\item</span><span class="na">[{struct wl\+\_\+registry $\ast$}]</span><span class="nb">{</span>registry, <span class="nb">}</span>
<span class="k">\item</span><span class="na">[{uint32\+\_\+t}]</span><span class="nb">{</span>name, <span class="nb">}</span>
<span class="k">\item</span><span class="na">[{const char $\ast$}]</span><span class="nb">{</span>interface, <span class="nb">}</span>
<span class="k">\item</span><span class="na">[{uint32\+\_\+t}]</span><span class="nb">{</span>version<span class="nb">}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyParamCaption<span class="nb">}</span>
)<span class="k">\hspace</span><span class="nb">{</span>0.3cm<span class="nb">}{</span><span class="k">\ttfamily</span> [static]<span class="nb">}}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>af288e02a94c196a68b327fc55c049932<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>af288e02a94c196a68b327fc55c049932<span class="nb">}</span>


Definition at line 493 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.


<span class="k">\begin</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
495 <span class="k">\{</span>
496     <span class="k">\textcolor</span><span class="nb">{</span>keyword<span class="nb">}{</span>struct <span class="nb">}</span><span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">}{</span>display<span class="nb">}</span> *d = data;
497 
498     <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span> (strcmp(interface, <span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;wl<span class="k">\_</span>compositor&quot;<span class="nb">}</span>) == 0) <span class="k">\{</span>
499         d-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a41ba32dfde812165dda5b62885000c78<span class="nb">}{</span>compositor<span class="nb">}</span> =
500             wl<span class="k">\_</span>registry<span class="k">\_</span>bind(<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a925781323f5c8eb84ef2225ed129de4b<span class="nb">}{</span>registry<span class="nb">}</span>, name,
501                      <span class="nb">&amp;</span>wl<span class="k">\_</span>compositor<span class="k">\_</span>interface, 1);
502     <span class="k">\}</span> <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>else<span class="nb">}</span> <span class="k">\textcolor</span><span class="nb">{</span>keywordflow<span class="nb">}{</span>if<span class="nb">}</span> (strcmp(interface, <span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;ivi<span class="k">\_</span>application&quot;<span class="nb">}</span>) == 0) <span class="k">\{</span>
503         d-&gt;<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a24c073faff3bb4799c2d46291f27ab89<span class="nb">}{</span>ivi<span class="k">\_</span>application<span class="nb">}</span> =
504             wl<span class="k">\_</span>registry<span class="k">\_</span>bind(<span class="k">\hyperlink</span><span class="nb">{</span>structdisplay<span class="nb">_</span>a925781323f5c8eb84ef2225ed129de4b<span class="nb">}{</span>registry<span class="nb">}</span>, name,
505                      <span class="nb">&amp;</span><span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a769b65b7b0e834f732f1f45e835890d5<span class="nb">}{</span>ivi<span class="k">\_</span>application<span class="k">\_</span>interface<span class="nb">}</span>, 1);
506     <span class="k">\}</span>
507 <span class="k">\}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!registry<span class="k">\+\_\+</span>handle<span class="k">\+\_\+</span>global<span class="k">\+\_\+</span>remove@<span class="nb">{</span>registry<span class="k">\+\_\+</span>handle<span class="k">\+\_\+</span>global<span class="k">\+\_\+</span>remove<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>registry<span class="k">\+\_\+</span>handle<span class="k">\+\_\+</span>global<span class="k">\+\_\+</span>remove@<span class="nb">{</span>registry<span class="k">\+\_\+</span>handle<span class="k">\+\_\+</span>global<span class="k">\+\_\+</span>remove<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{registry\+\_\+handle\+\_\+global\+\_\+remove(void $\ast$data, struct wl\+\_\+registry $\ast$registry, uint32\+\_\+t name)}{registry_handle_global_remove(void *data, struct wl_registry *registry, uint32_t name)}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>static void registry<span class="k">\+\_\+</span>handle<span class="k">\+\_\+</span>global<span class="k">\+\_\+</span>remove (
<span class="k">\begin</span><span class="nb">{</span>DoxyParamCaption<span class="nb">}</span>
<span class="k">\item</span><span class="na">[{void $\ast$}]</span><span class="nb">{</span>data, <span class="nb">}</span>
<span class="k">\item</span><span class="na">[{struct wl\+\_\+registry $\ast$}]</span><span class="nb">{</span>registry, <span class="nb">}</span>
<span class="k">\item</span><span class="na">[{uint32\+\_\+t}]</span><span class="nb">{</span>name<span class="nb">}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyParamCaption<span class="nb">}</span>
)<span class="k">\hspace</span><span class="nb">{</span>0.3cm<span class="nb">}{</span><span class="k">\ttfamily</span> [static]<span class="nb">}}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a59a731b9efa9d6a2015cdc8ccae1db80<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a59a731b9efa9d6a2015cdc8ccae1db80<span class="nb">}</span>


Definition at line 510 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.


<span class="k">\begin</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
512 <span class="k">\{</span>
513 <span class="k">\}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!signal<span class="k">\+\_\+</span>int@<span class="nb">{</span>signal<span class="k">\+\_\+</span>int<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>signal<span class="k">\+\_\+</span>int@<span class="nb">{</span>signal<span class="k">\+\_\+</span>int<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{signal\+\_\+int(int signum)}{signal_int(int signum)}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>static void signal<span class="k">\+\_\+</span>int (
<span class="k">\begin</span><span class="nb">{</span>DoxyParamCaption<span class="nb">}</span>
<span class="k">\item</span><span class="na">[{int}]</span><span class="nb">{</span>signum<span class="nb">}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyParamCaption<span class="nb">}</span>
)<span class="k">\hspace</span><span class="nb">{</span>0.3cm<span class="nb">}{</span><span class="k">\ttfamily</span> [static]<span class="nb">}}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a2cfc8c2d3fc1273ba8f811d2e639aec8<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a2cfc8c2d3fc1273ba8f811d2e639aec8<span class="nb">}</span>


Definition at line 521 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.


<span class="k">\begin</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
522 <span class="k">\{</span>
523     <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a2f45113638a0b749a8a205d2cd7fb42b<span class="nb">}{</span>running<span class="nb">}</span> = 0;
524 <span class="k">\}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>


<span class="k">\subsection</span><span class="nb">{</span>Variable Documentation<span class="nb">}</span>
<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!app<span class="k">\+\_\+</span>name@<span class="nb">{</span>app<span class="k">\+\_\+</span>name<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>app<span class="k">\+\_\+</span>name@<span class="nb">{</span>app<span class="k">\+\_\+</span>name<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{app\+\_\+name}{app_name}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>string app<span class="k">\+\_\+</span>name = string(<span class="k">\char</span>`<span class="k">\&quot;</span><span class="nb">{}</span>Navigation<span class="k">\char</span>`<span class="k">\&quot;</span><span class="nb">{}</span>)<span class="nb">}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a0da928eccfc57d1dfadfd29d4ac4854c<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a0da928eccfc57d1dfadfd29d4ac4854c<span class="nb">}</span>


Definition at line 63 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.

<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!frag<span class="k">\+\_\+</span>shader<span class="k">\+\_\+</span>text@<span class="nb">{</span>frag<span class="k">\+\_\+</span>shader<span class="k">\+\_\+</span>text<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>frag<span class="k">\+\_\+</span>shader<span class="k">\+\_\+</span>text@<span class="nb">{</span>frag<span class="k">\+\_\+</span>shader<span class="k">\+\_\+</span>text<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{frag\+\_\+shader\+\_\+text}{frag_shader_text}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>const char<span class="s">$</span><span class="nv">\ast</span><span class="s">$</span> frag<span class="k">\+\_\+</span>shader<span class="k">\+\_\+</span>text<span class="k">\hspace</span><span class="nb">{</span>0.3cm<span class="nb">}{</span><span class="k">\ttfamily</span> [static]<span class="nb">}}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ab5a6a2a26ac23f79b1687daa4b0d8980<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ab5a6a2a26ac23f79b1687daa4b0d8980<span class="nb">}</span>
<span class="nb">{</span><span class="k">\bfseries</span> Initial value<span class="k">\+</span>:<span class="nb">}</span>
<span class="k">\begin</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
=
    <span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;precision mediump float;<span class="s">\(</span><span class="nv">\backslash</span><span class="s">\)</span>n&quot;<span class="nb">}</span>
    <span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;varying vec4 v<span class="k">\_</span>color;<span class="s">\(</span><span class="nv">\backslash</span><span class="s">\)</span>n&quot;<span class="nb">}</span>
    <span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;void main() <span class="k">\{</span><span class="s">\(</span><span class="nv">\backslash</span><span class="s">\)</span>n&quot;<span class="nb">}</span>
    <span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;  gl<span class="k">\_</span>FragColor = v<span class="k">\_</span>color;<span class="s">\(</span><span class="nv">\backslash</span><span class="s">\)</span>n&quot;<span class="nb">}</span>
    <span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;<span class="k">\}</span><span class="s">\(</span><span class="nv">\backslash</span><span class="s">\)</span>n&quot;<span class="nb">}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>


Definition at line 164 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.

<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!g<span class="k">\+\_\+</span>id<span class="k">\+\_\+</span>ivisurf@<span class="nb">{</span>g<span class="k">\+\_\+</span>id<span class="k">\+\_\+</span>ivisurf<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>g<span class="k">\+\_\+</span>id<span class="k">\+\_\+</span>ivisurf@<span class="nb">{</span>g<span class="k">\+\_\+</span>id<span class="k">\+\_\+</span>ivisurf<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{g\+\_\+id\+\_\+ivisurf}{g_id_ivisurf}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>uint32<span class="k">\+\_\+</span>t g<span class="k">\+\_\+</span>id<span class="k">\+\_\+</span>ivisurf = 9009<span class="nb">}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a28f56c9f01ed9f108201950645317cc9<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a28f56c9f01ed9f108201950645317cc9<span class="nb">}</span>


Definition at line 59 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.

<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!hs@<span class="nb">{</span>hs<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>hs@<span class="nb">{</span>hs<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{hs}{hs}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}{</span><span class="k">\bf</span> Lib<span class="k">\+</span>Home<span class="k">\+</span>Screen<span class="nb">}</span><span class="s">$</span><span class="nv">\ast</span><span class="s">$</span> hs<span class="nb">}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a529acbd1fed9d98a587edfa62309fa8d<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a529acbd1fed9d98a587edfa62309fa8d<span class="nb">}</span>


Definition at line 66 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.

<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!ivi<span class="k">\+\_\+</span>application<span class="k">\+\_\+</span>interface@<span class="nb">{</span>ivi<span class="k">\+\_\+</span>application<span class="k">\+\_\+</span>interface<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>ivi<span class="k">\+\_\+</span>application<span class="k">\+\_\+</span>interface@<span class="nb">{</span>ivi<span class="k">\+\_\+</span>application<span class="k">\+\_\+</span>interface<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{ivi\+\_\+application\+\_\+interface}{ivi_application_interface}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>const struct wl<span class="k">\+\_\+</span>interface ivi<span class="k">\+\_\+</span>application<span class="k">\+\_\+</span>interface<span class="nb">}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a769b65b7b0e834f732f1f45e835890d5<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a769b65b7b0e834f732f1f45e835890d5<span class="nb">}</span>
<span class="nb">{</span><span class="k">\bfseries</span> Initial value<span class="k">\+</span>:<span class="nb">}</span>
<span class="k">\begin</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
= <span class="k">\{</span>
    <span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;ivi<span class="k">\_</span>application&quot;<span class="nb">}</span>, 1,
    1, <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a21a39b7c6cf5f6d10a62a70b3ebc9bad<span class="nb">}{</span>ivi<span class="k">\_</span>application<span class="k">\_</span>requests<span class="nb">}</span>,
    0, NULL,
<span class="k">\}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>


Definition at line 95 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.

<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!ivi<span class="k">\+\_\+</span>application<span class="k">\+\_\+</span>requests@<span class="nb">{</span>ivi<span class="k">\+\_\+</span>application<span class="k">\+\_\+</span>requests<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>ivi<span class="k">\+\_\+</span>application<span class="k">\+\_\+</span>requests@<span class="nb">{</span>ivi<span class="k">\+\_\+</span>application<span class="k">\+\_\+</span>requests<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{ivi\+\_\+application\+\_\+requests}{ivi_application_requests}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>const struct wl<span class="k">\+\_\+</span>message ivi<span class="k">\+\_\+</span>application<span class="k">\+\_\+</span>requests<span class="k">\mbox</span><span class="nb">{</span>[<span class="nb">}</span><span class="s">$</span><span class="nv">\,</span><span class="s">$</span><span class="k">\mbox</span><span class="nb">{</span>]<span class="nb">}</span><span class="k">\hspace</span><span class="nb">{</span>0.3cm<span class="nb">}{</span><span class="k">\ttfamily</span> [static]<span class="nb">}}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a21a39b7c6cf5f6d10a62a70b3ebc9bad<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a21a39b7c6cf5f6d10a62a70b3ebc9bad<span class="nb">}</span>
<span class="nb">{</span><span class="k">\bfseries</span> Initial value<span class="k">\+</span>:<span class="nb">}</span>
<span class="k">\begin</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
= <span class="k">\{</span>
        <span class="k">\{</span> <span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;surface<span class="k">\_</span>create&quot;<span class="nb">}</span>, <span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;uon&quot;<span class="nb">}</span>, <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>aea3203db9e218d3e5d60bdb4ebe2fa1f<span class="nb">}{</span>types<span class="nb">}</span> + 2 <span class="k">\}</span>,
<span class="k">\}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>


Definition at line 91 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.

<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!ivi<span class="k">\+\_\+</span>surface<span class="k">\+\_\+</span>events@<span class="nb">{</span>ivi<span class="k">\+\_\+</span>surface<span class="k">\+\_\+</span>events<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>ivi<span class="k">\+\_\+</span>surface<span class="k">\+\_\+</span>events@<span class="nb">{</span>ivi<span class="k">\+\_\+</span>surface<span class="k">\+\_\+</span>events<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{ivi\+\_\+surface\+\_\+events}{ivi_surface_events}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>const struct wl<span class="k">\+\_\+</span>message ivi<span class="k">\+\_\+</span>surface<span class="k">\+\_\+</span>events<span class="k">\mbox</span><span class="nb">{</span>[<span class="nb">}</span><span class="s">$</span><span class="nv">\,</span><span class="s">$</span><span class="k">\mbox</span><span class="nb">{</span>]<span class="nb">}</span><span class="k">\hspace</span><span class="nb">{</span>0.3cm<span class="nb">}{</span><span class="k">\ttfamily</span> [static]<span class="nb">}}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ac848f4fbf712a9ba414272fa85577791<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ac848f4fbf712a9ba414272fa85577791<span class="nb">}</span>
<span class="nb">{</span><span class="k">\bfseries</span> Initial value<span class="k">\+</span>:<span class="nb">}</span>
<span class="k">\begin</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
= <span class="k">\{</span>
        <span class="k">\{</span> <span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;configure&quot;<span class="nb">}</span>, <span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;ii&quot;<span class="nb">}</span>, <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>aea3203db9e218d3e5d60bdb4ebe2fa1f<span class="nb">}{</span>types<span class="nb">}</span> + 0 <span class="k">\}</span>,
<span class="k">\}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>


Definition at line 81 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.

<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!ivi<span class="k">\+\_\+</span>surface<span class="k">\+\_\+</span>interface@<span class="nb">{</span>ivi<span class="k">\+\_\+</span>surface<span class="k">\+\_\+</span>interface<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>ivi<span class="k">\+\_\+</span>surface<span class="k">\+\_\+</span>interface@<span class="nb">{</span>ivi<span class="k">\+\_\+</span>surface<span class="k">\+\_\+</span>interface<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{ivi\+\_\+surface\+\_\+interface}{ivi_surface_interface}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>const struct wl<span class="k">\+\_\+</span>interface ivi<span class="k">\+\_\+</span>surface<span class="k">\+\_\+</span>interface<span class="nb">}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>adf384de8d12d2edd7265ab85fd16b11c<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>adf384de8d12d2edd7265ab85fd16b11c<span class="nb">}</span>
<span class="nb">{</span><span class="k">\bfseries</span> Initial value<span class="k">\+</span>:<span class="nb">}</span>
<span class="k">\begin</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
= <span class="k">\{</span>
        <span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;ivi<span class="k">\_</span>surface&quot;<span class="nb">}</span>, 1,
        1, <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ada80120c5590d2821da9babef808b98d<span class="nb">}{</span>ivi<span class="k">\_</span>surface<span class="k">\_</span>requests<span class="nb">}</span>,
        1, <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ac848f4fbf712a9ba414272fa85577791<span class="nb">}{</span>ivi<span class="k">\_</span>surface<span class="k">\_</span>events<span class="nb">}</span>,
<span class="k">\}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>


Definition at line 85 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.

<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!ivi<span class="k">\+\_\+</span>surface<span class="k">\+\_\+</span>requests@<span class="nb">{</span>ivi<span class="k">\+\_\+</span>surface<span class="k">\+\_\+</span>requests<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>ivi<span class="k">\+\_\+</span>surface<span class="k">\+\_\+</span>requests@<span class="nb">{</span>ivi<span class="k">\+\_\+</span>surface<span class="k">\+\_\+</span>requests<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{ivi\+\_\+surface\+\_\+requests}{ivi_surface_requests}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>const struct wl<span class="k">\+\_\+</span>message ivi<span class="k">\+\_\+</span>surface<span class="k">\+\_\+</span>requests<span class="k">\mbox</span><span class="nb">{</span>[<span class="nb">}</span><span class="s">$</span><span class="nv">\,</span><span class="s">$</span><span class="k">\mbox</span><span class="nb">{</span>]<span class="nb">}</span><span class="k">\hspace</span><span class="nb">{</span>0.3cm<span class="nb">}{</span><span class="k">\ttfamily</span> [static]<span class="nb">}}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ada80120c5590d2821da9babef808b98d<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ada80120c5590d2821da9babef808b98d<span class="nb">}</span>
<span class="nb">{</span><span class="k">\bfseries</span> Initial value<span class="k">\+</span>:<span class="nb">}</span>
<span class="k">\begin</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
= <span class="k">\{</span>
        <span class="k">\{</span> <span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;destroy&quot;<span class="nb">}</span>, <span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;&quot;<span class="nb">}</span>, <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>aea3203db9e218d3e5d60bdb4ebe2fa1f<span class="nb">}{</span>types<span class="nb">}</span> + 0 <span class="k">\}</span>,
<span class="k">\}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>


Definition at line 77 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.

<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!log<span class="k">\+\_\+</span>prefix@<span class="nb">{</span>log<span class="k">\+\_\+</span>prefix<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>log<span class="k">\+\_\+</span>prefix@<span class="nb">{</span>log<span class="k">\+\_\+</span>prefix<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{log\+\_\+prefix}{log_prefix}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>const char<span class="s">$</span><span class="nv">\ast</span><span class="s">$</span> log<span class="k">\+\_\+</span>prefix = <span class="k">\char</span>`<span class="k">\&quot;</span><span class="nb">{}</span>simple-<span class="k">\/</span>egl<span class="k">\char</span>`<span class="k">\&quot;</span><span class="nb">{}}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a894f18168fa25101d792262f59846938<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a894f18168fa25101d792262f59846938<span class="nb">}</span>


Definition at line 58 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.

<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!main<span class="k">\+\_\+</span>role@<span class="nb">{</span>main<span class="k">\+\_\+</span>role<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>main<span class="k">\+\_\+</span>role@<span class="nb">{</span>main<span class="k">\+\_\+</span>role<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{main\+\_\+role}{main_role}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>const char<span class="s">$</span><span class="nv">\ast</span><span class="s">$</span> main<span class="k">\+\_\+</span>role = <span class="k">\char</span>`<span class="k">\&quot;</span><span class="nb">{}</span>navigation<span class="k">\char</span>`<span class="k">\&quot;</span><span class="nb">{}}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a332251aa739a56836cd4fbf3ecbb8bb2<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a332251aa739a56836cd4fbf3ecbb8bb2<span class="nb">}</span>


Definition at line 64 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.

<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!port@<span class="nb">{</span>port<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>port@<span class="nb">{</span>port<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{port}{port}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>long port = 1700<span class="nb">}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a300b6806fe6818927fe4df08f2398124<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a300b6806fe6818927fe4df08f2398124<span class="nb">}</span>


Definition at line 60 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.

<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!registry<span class="k">\+\_\+</span>listener@<span class="nb">{</span>registry<span class="k">\+\_\+</span>listener<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>registry<span class="k">\+\_\+</span>listener@<span class="nb">{</span>registry<span class="k">\+\_\+</span>listener<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{registry\+\_\+listener}{registry_listener}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>const struct wl<span class="k">\+\_\+</span>registry<span class="k">\+\_\+</span>listener registry<span class="k">\+\_\+</span>listener<span class="k">\hspace</span><span class="nb">{</span>0.3cm<span class="nb">}{</span><span class="k">\ttfamily</span> [static]<span class="nb">}}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a8998c87c94cd7d185e8f0cdafab4b1c4<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a8998c87c94cd7d185e8f0cdafab4b1c4<span class="nb">}</span>
<span class="nb">{</span><span class="k">\bfseries</span> Initial value<span class="k">\+</span>:<span class="nb">}</span>
<span class="k">\begin</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
= <span class="k">\{</span>
    <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>af288e02a94c196a68b327fc55c049932<span class="nb">}{</span>registry<span class="k">\_</span>handle<span class="k">\_</span>global<span class="nb">}</span>,
    <span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a59a731b9efa9d6a2015cdc8ccae1db80<span class="nb">}{</span>registry<span class="k">\_</span>handle<span class="k">\_</span>global<span class="k">\_</span>remove<span class="nb">}</span>
<span class="k">\}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>


Definition at line 515 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.

<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!running@<span class="nb">{</span>running<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>running@<span class="nb">{</span>running<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{running}{running}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>int running = 1<span class="k">\hspace</span><span class="nb">{</span>0.3cm<span class="nb">}{</span><span class="k">\ttfamily</span> [static]<span class="nb">}}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a2f45113638a0b749a8a205d2cd7fb42b<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a2f45113638a0b749a8a205d2cd7fb42b<span class="nb">}</span>


Definition at line 171 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.

<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!token@<span class="nb">{</span>token<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>token@<span class="nb">{</span>token<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{token}{token}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>string token = string(<span class="k">\char</span>`<span class="k">\&quot;</span><span class="nb">{}</span>wm<span class="k">\char</span>`<span class="k">\&quot;</span><span class="nb">{}</span>)<span class="nb">}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a623ef6987ef3bd185c07b28b13e46d34<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a623ef6987ef3bd185c07b28b13e46d34<span class="nb">}</span>


Definition at line 61 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.

<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!types@<span class="nb">{</span>types<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>types@<span class="nb">{</span>types<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{types}{types}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>const struct wl<span class="k">\+\_\+</span>interface<span class="s">$</span><span class="nv">\ast</span><span class="s">$</span> types<span class="k">\mbox</span><span class="nb">{</span>[<span class="nb">}</span><span class="s">$</span><span class="nv">\,</span><span class="s">$</span><span class="k">\mbox</span><span class="nb">{</span>]<span class="nb">}</span><span class="k">\hspace</span><span class="nb">{</span>0.3cm<span class="nb">}{</span><span class="k">\ttfamily</span> [static]<span class="nb">}}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>aea3203db9e218d3e5d60bdb4ebe2fa1f<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>aea3203db9e218d3e5d60bdb4ebe2fa1f<span class="nb">}</span>
<span class="nb">{</span><span class="k">\bfseries</span> Initial value<span class="k">\+</span>:<span class="nb">}</span>
<span class="k">\begin</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
= <span class="k">\{</span>
        NULL,
        NULL,
        NULL,
        <span class="nb">&amp;</span>wl<span class="k">\_</span>surface<span class="k">\_</span>interface,
        <span class="nb">&amp;</span><span class="k">\hyperlink</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>adf384de8d12d2edd7265ab85fd16b11c<span class="nb">}{</span>ivi<span class="k">\_</span>surface<span class="k">\_</span>interface<span class="nb">}</span>,
<span class="k">\}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>


Definition at line 69 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.

<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!vert<span class="k">\+\_\+</span>shader<span class="k">\+\_\+</span>text@<span class="nb">{</span>vert<span class="k">\+\_\+</span>shader<span class="k">\+\_\+</span>text<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>vert<span class="k">\+\_\+</span>shader<span class="k">\+\_\+</span>text@<span class="nb">{</span>vert<span class="k">\+\_\+</span>shader<span class="k">\+\_\+</span>text<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{vert\+\_\+shader\+\_\+text}{vert_shader_text}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>const char<span class="s">$</span><span class="nv">\ast</span><span class="s">$</span> vert<span class="k">\+\_\+</span>shader<span class="k">\+\_\+</span>text<span class="k">\hspace</span><span class="nb">{</span>0.3cm<span class="nb">}{</span><span class="k">\ttfamily</span> [static]<span class="nb">}}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a717575939a37d84dcd4cf0447a630834<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>a717575939a37d84dcd4cf0447a630834<span class="nb">}</span>
<span class="nb">{</span><span class="k">\bfseries</span> Initial value<span class="k">\+</span>:<span class="nb">}</span>
<span class="k">\begin</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>
=
    <span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;uniform mat4 rotation;<span class="s">\(</span><span class="nv">\backslash</span><span class="s">\)</span>n&quot;<span class="nb">}</span>
    <span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;attribute vec4 pos;<span class="s">\(</span><span class="nv">\backslash</span><span class="s">\)</span>n&quot;<span class="nb">}</span>
    <span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;attribute vec4 color;<span class="s">\(</span><span class="nv">\backslash</span><span class="s">\)</span>n&quot;<span class="nb">}</span>
    <span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;varying vec4 v<span class="k">\_</span>color;<span class="s">\(</span><span class="nv">\backslash</span><span class="s">\)</span>n&quot;<span class="nb">}</span>
    <span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;void main() <span class="k">\{</span><span class="s">\(</span><span class="nv">\backslash</span><span class="s">\)</span>n&quot;<span class="nb">}</span>
    <span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;  gl<span class="k">\_</span>Position = rotation * pos;<span class="s">\(</span><span class="nv">\backslash</span><span class="s">\)</span>n&quot;<span class="nb">}</span>
    <span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;  v<span class="k">\_</span>color = color;<span class="s">\(</span><span class="nv">\backslash</span><span class="s">\)</span>n&quot;<span class="nb">}</span>
    <span class="k">\textcolor</span><span class="nb">{</span>stringliteral<span class="nb">}{</span>&quot;<span class="k">\}</span><span class="s">\(</span><span class="nv">\backslash</span><span class="s">\)</span>n&quot;<span class="nb">}</span>
<span class="k">\end</span><span class="nb">{</span>DoxyCode<span class="nb">}</span>


Definition at line 154 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.

<span class="k">\index</span><span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}</span>!wm@<span class="nb">{</span>wm<span class="nb">}}</span>
<span class="k">\index</span><span class="nb">{</span>wm@<span class="nb">{</span>wm<span class="nb">}</span>!simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp@<span class="nb">{</span>simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp<span class="nb">}}</span>
<span class="k">\subsubsection</span><span class="na">[{\texorpdfstring{wm}{wm}}]</span><span class="nb">{</span><span class="k">\setlength</span><span class="nb">{</span><span class="k">\rightskip</span><span class="nb">}{</span>0pt plus 5cm<span class="nb">}</span>Lib<span class="k">\+</span>Windowmanager<span class="s">$</span><span class="nv">\ast</span><span class="s">$</span> wm<span class="nb">}</span><span class="k">\hypertarget</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ad1513698e07197206c290f94d7669d85<span class="nb">}{}</span><span class="k">\label</span><span class="nb">{</span>simple-egl<span class="nb">_</span>8cpp<span class="nb">_</span>ad1513698e07197206c290f94d7669d85<span class="nb">}</span>


Definition at line 67 of file simple-<span class="k">\/</span>egl.<span class="k">\+</span>cpp.
</pre></div>
</code></pre></td></tr></table>
</div> <!-- class=content -->
<div id="lfcollabprojects-footer">
  <div class="gray-diagonal">
    <div class="footer-inner">
      <p>Copyright &copy; 2015 The Linux Foundation. All rights reserved.</p>
      <p>
        Linux Foundation, Linux Standard Base, LSB, LSB Certified, IAccessible2,
        MeeGo are registered trademarks of the Linux Foundation.
      </p>
      <p>
        Linux is a registered
        <a href="http://www.linuxfoundation.org/programs/legal/trademark"
          >trademark</a
        >
        of Linus Torvalds. Please see our
        <a href="https://www.linuxfoundation.org/privacy">privacy policy</a>.
      </p>
    </div>
  </div>
</div>
</div> <!-- id=cgit -->
</body>
</html>
