102f4aeb0Sopenharmony_ci<?xml version="1.0" encoding="UTF-8" standalone="no"?> 202f4aeb0Sopenharmony_ci<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"> 302f4aeb0Sopenharmony_ci <head> 402f4aeb0Sopenharmony_ci <title xmlns:xlink="http://www.w3.org/1999/xlink">eglGetCurrentContext - EGL Reference Pages</title> 502f4aeb0Sopenharmony_ci <link rel="stylesheet" type="text/css" href="khronos-man.css"/> 602f4aeb0Sopenharmony_ci <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"/> 702f4aeb0Sopenharmony_ci </head> 802f4aeb0Sopenharmony_ci <body> 902f4aeb0Sopenharmony_ci <header/> 1002f4aeb0Sopenharmony_ci <div class="refentry" id="eglGetCurrentContext"> 1102f4aeb0Sopenharmony_ci <div class="titlepage"/> 1202f4aeb0Sopenharmony_ci <div class="refnamediv"> 1302f4aeb0Sopenharmony_ci <h2>Name</h2> 1402f4aeb0Sopenharmony_ci <p>eglGetCurrentContext — 1502f4aeb0Sopenharmony_ci return the current <abbr class="acronym">EGL</abbr> rendering context 1602f4aeb0Sopenharmony_ci </p> 1702f4aeb0Sopenharmony_ci </div> 1802f4aeb0Sopenharmony_ci <div class="refsynopsisdiv"> 1902f4aeb0Sopenharmony_ci <h2>C Specification</h2> 2002f4aeb0Sopenharmony_ci <div class="funcsynopsis"> 2102f4aeb0Sopenharmony_ci <table style="border: 0; cellspacing: 0; cellpadding: 0;" class="funcprototype-table"> 2202f4aeb0Sopenharmony_ci <tr> 2302f4aeb0Sopenharmony_ci <td> 2402f4aeb0Sopenharmony_ci <code class="funcdef">EGLContext <strong class="fsfunc">eglGetCurrentContext</strong>(</code> 2502f4aeb0Sopenharmony_ci </td> 2602f4aeb0Sopenharmony_ci <td><code>void)</code>;</td> 2702f4aeb0Sopenharmony_ci <td> </td> 2802f4aeb0Sopenharmony_ci </tr> 2902f4aeb0Sopenharmony_ci </table> 3002f4aeb0Sopenharmony_ci <div class="funcprototype-spacer"> </div> 3102f4aeb0Sopenharmony_ci </div> 3202f4aeb0Sopenharmony_ci </div> 3302f4aeb0Sopenharmony_ci <div class="refsect1" id="description"> 3402f4aeb0Sopenharmony_ci <h2>Description</h2> 3502f4aeb0Sopenharmony_ci <p> 3602f4aeb0Sopenharmony_ci <code class="function">eglGetCurrentContext</code> returns the current 3702f4aeb0Sopenharmony_ci <abbr class="acronym">EGL</abbr> rendering context, as specified by 3802f4aeb0Sopenharmony_ci <a class="citerefentry" href="eglMakeCurrent.xhtml"><span class="citerefentry"><span class="refentrytitle">eglMakeCurrent</span></span></a>. 3902f4aeb0Sopenharmony_ci If no context is current, <code class="constant">EGL_NO_CONTEXT</code> is returned. 4002f4aeb0Sopenharmony_ci </p> 4102f4aeb0Sopenharmony_ci </div> 4202f4aeb0Sopenharmony_ci <div class="refsect1" id="seealso"> 4302f4aeb0Sopenharmony_ci <h2>See Also</h2> 4402f4aeb0Sopenharmony_ci <p> 4502f4aeb0Sopenharmony_ci <a class="citerefentry" href="eglCreateContext.xhtml"><span class="citerefentry"><span class="refentrytitle">eglCreateContext</span></span></a>, 4602f4aeb0Sopenharmony_ci <a class="citerefentry" href="eglMakeCurrent.xhtml"><span class="citerefentry"><span class="refentrytitle">eglMakeCurrent</span></span></a> 4702f4aeb0Sopenharmony_ci </p> 4802f4aeb0Sopenharmony_ci </div> 4902f4aeb0Sopenharmony_ci <p> 5002f4aeb0Sopenharmony_ci </p> 5102f4aeb0Sopenharmony_ci <div class="refsect3" id="copyright"> 5202f4aeb0Sopenharmony_ci <img src="KhronosLogo.jpg"/> 5302f4aeb0Sopenharmony_ci <p> 5402f4aeb0Sopenharmony_ci Copyright © 2003-2014 The Khronos Group Inc. 5502f4aeb0Sopenharmony_ci Permission is hereby granted, free of charge, to any person obtaining a 5602f4aeb0Sopenharmony_ci copy of this software and/or associated documentation files (the 5702f4aeb0Sopenharmony_ci "Materials"), to deal in the Materials without restriction, including 5802f4aeb0Sopenharmony_ci without limitation the rights to use, copy, modify, merge, publish, 5902f4aeb0Sopenharmony_ci distribute, sublicense, and/or sell copies of the Materials, and to 6002f4aeb0Sopenharmony_ci permit persons to whom the Materials are furnished to do so, subject to 6102f4aeb0Sopenharmony_ci the condition that this copyright notice and permission notice shall be included 6202f4aeb0Sopenharmony_ci in all copies or substantial portions of the Materials. 6302f4aeb0Sopenharmony_ci </p> 6402f4aeb0Sopenharmony_ci </div> 6502f4aeb0Sopenharmony_ci <p> 6602f4aeb0Sopenharmony_ci</p> 6702f4aeb0Sopenharmony_ci </div> 6802f4aeb0Sopenharmony_ci <footer/> 6902f4aeb0Sopenharmony_ci </body> 7002f4aeb0Sopenharmony_ci</html> 71