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">eglGetCurrentContext - 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="eglGetCurrentContext"> 11 <div class="titlepage"/> 12 <div class="refnamediv"> 13 <h2>Name</h2> 14 <p>eglGetCurrentContext — 15 return the current <abbr class="acronym">EGL</abbr> rendering context 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">EGLContext <strong class="fsfunc">eglGetCurrentContext</strong>(</code> 25 </td> 26 <td><code>void)</code>;</td> 27 <td> </td> 28 </tr> 29 </table> 30 <div class="funcprototype-spacer"> </div> 31 </div> 32 </div> 33 <div class="refsect1" id="description"> 34 <h2>Description</h2> 35 <p> 36 <code class="function">eglGetCurrentContext</code> returns the current 37 <abbr class="acronym">EGL</abbr> rendering context, as specified by 38 <a class="citerefentry" href="eglMakeCurrent.xhtml"><span class="citerefentry"><span class="refentrytitle">eglMakeCurrent</span></span></a>. 39 If no context is current, <code class="constant">EGL_NO_CONTEXT</code> is returned. 40 </p> 41 </div> 42 <div class="refsect1" id="seealso"> 43 <h2>See Also</h2> 44 <p> 45 <a class="citerefentry" href="eglCreateContext.xhtml"><span class="citerefentry"><span class="refentrytitle">eglCreateContext</span></span></a>, 46 <a class="citerefentry" href="eglMakeCurrent.xhtml"><span class="citerefentry"><span class="refentrytitle">eglMakeCurrent</span></span></a> 47 </p> 48 </div> 49 <p> 50 </p> 51 <div class="refsect3" id="copyright"> 52 <img src="KhronosLogo.jpg"/> 53 <p> 54 Copyright © 2003-2014 The Khronos Group Inc. 55 Permission is hereby granted, free of charge, to any person obtaining a 56 copy of this software and/or associated documentation files (the 57 "Materials"), to deal in the Materials without restriction, including 58 without limitation the rights to use, copy, modify, merge, publish, 59 distribute, sublicense, and/or sell copies of the Materials, and to 60 permit persons to whom the Materials are furnished to do so, subject to 61 the condition that this copyright notice and permission notice shall be included 62 in all copies or substantial portions of the Materials. 63 </p> 64 </div> 65 <p> 66</p> 67 </div> 68 <footer/> 69 </body> 70</html> 71