1<refentry xmlns="http://docbook.org/ns/docbook" version="5.0" xml:base="" xml:id="eglGetCurrentContext"> 2 <info> 3 <copyright> 4 <year>2003-2014</year> 5 <holder>The Khronos Group Inc.</holder> 6 </copyright> 7 </info> 8 <refmeta> 9 <refentrytitle>eglGetCurrentContext</refentrytitle> 10 <manvolnum>3G</manvolnum> 11 </refmeta> 12 <refnamediv> 13 <refname>eglGetCurrentContext</refname> 14 <refpurpose> 15 return the current <acronym>EGL</acronym> rendering context 16 </refpurpose> 17 </refnamediv> 18 <refsynopsisdiv> 19 <title>C Specification</title> 20 <funcsynopsis> 21 <funcprototype> 22 <funcdef>EGLContext <function>eglGetCurrentContext</function></funcdef> 23 <void/> 24 </funcprototype> 25 </funcsynopsis> 26 </refsynopsisdiv> 27 <refsect1 xml:id="description"><title>Description</title> 28 <para> 29 <function>eglGetCurrentContext</function> returns the current 30 <acronym>EGL</acronym> rendering context, as specified by 31 <citerefentry><refentrytitle>eglMakeCurrent</refentrytitle></citerefentry>. 32 If no context is current, <constant>EGL_NO_CONTEXT</constant> is returned. 33 </para> 34 </refsect1> 35 <refsect1 xml:id="seealso"><title>See Also</title> 36 <para> 37 <citerefentry><refentrytitle>eglCreateContext</refentrytitle></citerefentry>, 38 <citerefentry><refentrytitle>eglMakeCurrent</refentrytitle></citerefentry> 39 </para> 40 </refsect1> 41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="copyright.xml"/> 42</refentry> 43