1<?xml version="1.0" encoding="UTF-8" standalone="no"?> 2<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title xmlns:xlink="http://www.w3.org/1999/xlink">eglWaitNative - EGL Reference Pages</title> 5 <link rel="stylesheet" type="text/css" href="khronos-man.css"/> 6 <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"/> 7 </head> 8 <body> 9 <header/> 10 <div class="refentry" id="eglWaitNative"> 11 <div class="titlepage"/> 12 <div class="refnamediv"> 13 <h2>Name</h2> 14 <p>eglWaitNative — 15 complete native execution prior to subsequent GL rendering calls 16 </p> 17 </div> 18 <div class="refsynopsisdiv"> 19 <h2>C Specification</h2> 20 <div class="funcsynopsis"> 21 <table style="border: 0; cellspacing: 0; cellpadding: 0;" class="funcprototype-table"> 22 <tr> 23 <td> 24 <code class="funcdef">EGLBoolean <strong class="fsfunc">eglWaitNative</strong>(</code> 25 </td> 26 <td>EGLint <var class="pdparam">engine</var><code>)</code>;</td> 27 </tr> 28 </table> 29 <div class="funcprototype-spacer"> </div> 30 </div> 31 </div> 32 <div class="refsect1" id="parameters"> 33 <h2>Parameters</h2> 34 <div class="variablelist"> 35 <dl class="variablelist"> 36 <dt> 37 <span class="term"> 38 <em class="parameter"> 39 <code>engine</code> 40 </em> 41 </span> 42 </dt> 43 <dd> 44 <p> 45 Specifies a particular marking engine to be waited on. 46 Must be <code class="constant">EGL_CORE_NATIVE_ENGINE</code>. 47 </p> 48 </dd> 49 </dl> 50 </div> 51 </div> 52 <div class="refsect1" id="description"> 53 <h2>Description</h2> 54 <p> 55 Native rendering calls made prior to <code class="function">eglWaitNative</code> 56 are guaranteed to be executed before GL rendering calls made after 57 <code class="function">eglWaitNative</code>. 58 </p> 59 <p> 60 <code class="function">eglWaitNative</code> 61 is ignored if there is no current 62 <abbr class="acronym">EGL</abbr> 63 rendering context. 64 </p> 65 </div> 66 <div class="refsect1" id="errors"> 67 <h2>Errors</h2> 68 <p> 69 <code class="constant">EGL_BAD_PARAMETER</code> is generated if 70 <em class="parameter"><code>engine</code></em> is not a recognized marking engine. 71 </p> 72 <p> 73 <code class="constant">EGL_BAD_CURRENT_SURFACE</code> 74 is generated if the surface associated with the current context has a 75 native window or pixmap, and that window or pixmap is no longer valid. 76 </p> 77 </div> 78 <div class="refsect1" id="seealso"> 79 <h2>See Also</h2> 80 <p> 81 <a class="citerefentry" href="glFinish.xhtml"><span class="citerefentry"><span class="refentrytitle">glFinish</span></span></a>, 82 <a class="citerefentry" href="glFlush.xhtml"><span class="citerefentry"><span class="refentrytitle">glFlush</span></span></a>, 83 <a class="citerefentry" href="eglWaitClient.xhtml"><span class="citerefentry"><span class="refentrytitle">eglWaitClient</span></span></a>, 84 <a class="citerefentry" href="eglWaitGL.xhtml"><span class="citerefentry"><span class="refentrytitle">eglWaitGL</span></span></a> 85 </p> 86 </div> 87 <p> 88 </p> 89 <div class="refsect3" id="copyright"> 90 <img src="KhronosLogo.jpg"/> 91 <p> 92 Copyright © 2003-2014 The Khronos Group Inc. 93 Permission is hereby granted, free of charge, to any person obtaining a 94 copy of this software and/or associated documentation files (the 95 "Materials"), to deal in the Materials without restriction, including 96 without limitation the rights to use, copy, modify, merge, publish, 97 distribute, sublicense, and/or sell copies of the Materials, and to 98 permit persons to whom the Materials are furnished to do so, subject to 99 the condition that this copyright notice and permission notice shall be included 100 in all copies or substantial portions of the Materials. 101 </p> 102 </div> 103 <p> 104</p> 105 </div> 106 <footer/> 107 </body> 108</html> 109