1<?xml version="1.0" encoding="UTF-8"?> 2<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" 3 "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> 4<refentry xml:base="" id="eglGetCurrentContext"> 5 <refentryinfo> 6 <copyright> 7 <year>2003-2014</year> 8 <holder>The Khronos Group Inc.</holder> 9 </copyright> 10 </refentryinfo> 11 <refmeta> 12 <refentrytitle>eglGetCurrentContext</refentrytitle> 13 <manvolnum>3G</manvolnum> 14 </refmeta> 15 <refnamediv> 16 <refname>eglGetCurrentContext</refname> 17 <refpurpose> 18 return the current <acronym>EGL</acronym> rendering context 19 </refpurpose> 20 </refnamediv> 21 <refsynopsisdiv> 22 <title>C Specification</title> 23 <funcsynopsis> 24 <funcprototype> 25 <funcdef>EGLContext <function>eglGetCurrentContext</function></funcdef> 26 <void/> 27 </funcprototype> 28 </funcsynopsis> 29 </refsynopsisdiv> 30 <refsect1 id="description"><title>Description</title> 31 <para> 32 <function>eglGetCurrentContext</function> returns the current 33 <acronym>EGL</acronym> rendering context, as specified by 34 <citerefentry><refentrytitle>eglMakeCurrent</refentrytitle></citerefentry>. 35 If no context is current, <constant>EGL_NO_CONTEXT</constant> is returned. 36 </para> 37 </refsect1> 38 <refsect1 id="seealso"><title>See Also</title> 39 <para> 40 <citerefentry><refentrytitle>eglCreateContext</refentrytitle></citerefentry>, 41 <citerefentry><refentrytitle>eglMakeCurrent</refentrytitle></citerefentry> 42 </para> 43 </refsect1> 44 <refsect3 id="Copyright"><title></title> 45 <!-- Content included from copyright.inc.xsl --> 46 <imageobject> 47 <imagedata fileref="KhronosLogo.jpg" format="jpg" /> 48 </imageobject> 49 <para /> 50 </refsect3> 51</refentry> 52