102f4aeb0Sopenharmony_ci<?xml version="1.0" encoding="UTF-8"?> 202f4aeb0Sopenharmony_ci<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.2//EN" "DTD/docbook/docbookx.dtd"> 302f4aeb0Sopenharmony_ci<!-- 402f4aeb0Sopenharmony_ci Copyright 2003-2010 Khronos Group. 502f4aeb0Sopenharmony_ci This material may be distributed subject to the terms and conditions set forth in 602f4aeb0Sopenharmony_ci the Open Publication License, v 1.0, 8 June 1999. 702f4aeb0Sopenharmony_ci http://opencontent.org/openpub/ 802f4aeb0Sopenharmony_ci--> 902f4aeb0Sopenharmony_ci<book xmlns:xi="http://www.w3.org/2001/XInclude"> 1002f4aeb0Sopenharmony_ci <title> 1102f4aeb0Sopenharmony_ci EGL Reference Manual 1202f4aeb0Sopenharmony_ci </title> 1302f4aeb0Sopenharmony_ci <subtitle> 1402f4aeb0Sopenharmony_ci Version 1.4 1502f4aeb0Sopenharmony_ci </subtitle> 1602f4aeb0Sopenharmony_ci <bookinfo> 1702f4aeb0Sopenharmony_ci <author> 1802f4aeb0Sopenharmony_ci <firstname>Claude</firstname> 1902f4aeb0Sopenharmony_ci <surname>Knaus</surname> 2002f4aeb0Sopenharmony_ci </author> 2102f4aeb0Sopenharmony_ci <author> 2202f4aeb0Sopenharmony_ci <firstname>Jon</firstname> 2302f4aeb0Sopenharmony_ci <surname>Leech</surname> 2402f4aeb0Sopenharmony_ci </author> 2502f4aeb0Sopenharmony_ci <date>October 2010</date> 2602f4aeb0Sopenharmony_ci <releaseinfo>Draft Version 20101012</releaseinfo> 2702f4aeb0Sopenharmony_ci <subjectset> 2802f4aeb0Sopenharmony_ci <subject>EGL</subject> 2902f4aeb0Sopenharmony_ci </subjectset> 3002f4aeb0Sopenharmony_ci <keywordset> 3102f4aeb0Sopenharmony_ci <keyword>EGL</keyword> 3202f4aeb0Sopenharmony_ci <keyword>man</keyword> 3302f4aeb0Sopenharmony_ci <keyword>reference</keyword> 3402f4aeb0Sopenharmony_ci </keywordset> 3502f4aeb0Sopenharmony_ci <xi:include href="legal-notice.xml"/> 3602f4aeb0Sopenharmony_ci </bookinfo> 3702f4aeb0Sopenharmony_ci <toc> 3802f4aeb0Sopenharmony_ci <title>Contents</title> 3902f4aeb0Sopenharmony_ci <!-- generated by LaTeX --> 4002f4aeb0Sopenharmony_ci </toc> 4102f4aeb0Sopenharmony_ci <chapter> 4202f4aeb0Sopenharmony_ci <title>Preface</title> 4302f4aeb0Sopenharmony_ci <sect1> 4402f4aeb0Sopenharmony_ci <title>Style Conventions</title> 4502f4aeb0Sopenharmony_ci <para> 4602f4aeb0Sopenharmony_ci The following style conventions apply to this document: 4702f4aeb0Sopenharmony_ci </para> 4802f4aeb0Sopenharmony_ci <variablelist> 4902f4aeb0Sopenharmony_ci <varlistentry> 5002f4aeb0Sopenharmony_ci <term><function>Bold</function></term> 5102f4aeb0Sopenharmony_ci <listitem><para>Command and function names</para></listitem> 5202f4aeb0Sopenharmony_ci </varlistentry> 5302f4aeb0Sopenharmony_ci <varlistentry> 5402f4aeb0Sopenharmony_ci <term><parameter>Italics</parameter></term> 5502f4aeb0Sopenharmony_ci <listitem>Variables and parameters</listitem> 5602f4aeb0Sopenharmony_ci </varlistentry> 5702f4aeb0Sopenharmony_ci <varlistentry> 5802f4aeb0Sopenharmony_ci <term>Regular</term> 5902f4aeb0Sopenharmony_ci <listitem><para>Ordinary text</para></listitem> 6002f4aeb0Sopenharmony_ci </varlistentry> 6102f4aeb0Sopenharmony_ci <varlistentry> 6202f4aeb0Sopenharmony_ci <term><constant>Monospace</constant></term> 6302f4aeb0Sopenharmony_ci <listitem><para>Constants and source code</para></listitem> 6402f4aeb0Sopenharmony_ci </varlistentry> 6502f4aeb0Sopenharmony_ci </variablelist> 6602f4aeb0Sopenharmony_ci </sect1> 6702f4aeb0Sopenharmony_ci </chapter> 6802f4aeb0Sopenharmony_ci <chapter> 6902f4aeb0Sopenharmony_ci <title>Summary of Commands and Routines</title> 7002f4aeb0Sopenharmony_ci <sect1> 7102f4aeb0Sopenharmony_ci <title>EGL Functions</title> 7202f4aeb0Sopenharmony_ci <para>Manage or query display connections:</para> 7302f4aeb0Sopenharmony_ci <simplelist type="vert"> 7402f4aeb0Sopenharmony_ci <member><citerefentry><refentrytitle>eglGetDisplay</refentrytitle></citerefentry></member> 7502f4aeb0Sopenharmony_ci <member><citerefentry><refentrytitle>eglInitialize</refentrytitle></citerefentry></member> 7602f4aeb0Sopenharmony_ci <member><citerefentry><refentrytitle>eglQueryString</refentrytitle></citerefentry></member> 7702f4aeb0Sopenharmony_ci <member><citerefentry><refentrytitle>eglTerminate</refentrytitle></citerefentry></member> 7802f4aeb0Sopenharmony_ci </simplelist> 7902f4aeb0Sopenharmony_ci <para>Request EGL and client API extension functions:</para> 8002f4aeb0Sopenharmony_ci <simplelist type="vert"> 8102f4aeb0Sopenharmony_ci <member><citerefentry><refentrytitle>eglGetProcAddress</refentrytitle></citerefentry></member> 8202f4aeb0Sopenharmony_ci </simplelist> 8302f4aeb0Sopenharmony_ci <para>Query errors:</para> 8402f4aeb0Sopenharmony_ci <simplelist type="vert"> 8502f4aeb0Sopenharmony_ci <member><citerefentry><refentrytitle>eglGetError</refentrytitle></citerefentry></member> 8602f4aeb0Sopenharmony_ci </simplelist> 8702f4aeb0Sopenharmony_ci <para>Request or query frame buffer configurations:</para> 8802f4aeb0Sopenharmony_ci <simplelist type="vert"> 8902f4aeb0Sopenharmony_ci <member><citerefentry><refentrytitle>eglGetConfigs</refentrytitle></citerefentry></member> 9002f4aeb0Sopenharmony_ci <member><citerefentry><refentrytitle>eglChooseConfig</refentrytitle></citerefentry></member> 9102f4aeb0Sopenharmony_ci <member><citerefentry><refentrytitle>eglGetConfigAttrib</refentrytitle></citerefentry></member> 9202f4aeb0Sopenharmony_ci </simplelist> 9302f4aeb0Sopenharmony_ci <para>Manage or query the current rendering API:</para> 9402f4aeb0Sopenharmony_ci <simplelist type="vert"> 9502f4aeb0Sopenharmony_ci <member><citerefentry><refentrytitle>eglBindAPI</refentrytitle></citerefentry></member> 9602f4aeb0Sopenharmony_ci <member><citerefentry><refentrytitle>eglQueryAPI</refentrytitle></citerefentry></member> 9702f4aeb0Sopenharmony_ci </simplelist> 9802f4aeb0Sopenharmony_ci <para>Manage or query EGL rendering contexts:</para> 9902f4aeb0Sopenharmony_ci <simplelist type="vert"> 10002f4aeb0Sopenharmony_ci <member><citerefentry><refentrytitle>eglCreateContext</refentrytitle></citerefentry></member> 10102f4aeb0Sopenharmony_ci <member><citerefentry><refentrytitle>eglDestroyContext</refentrytitle></citerefentry></member> 10202f4aeb0Sopenharmony_ci <member><citerefentry><refentrytitle>eglQueryContext</refentrytitle></citerefentry></member> 10302f4aeb0Sopenharmony_ci <member><citerefentry><refentrytitle>eglMakeCurrent</refentrytitle></citerefentry></member> 10402f4aeb0Sopenharmony_ci <member><citerefentry><refentrytitle>eglGetCurrentContext</refentrytitle></citerefentry></member> 10502f4aeb0Sopenharmony_ci <member><citerefentry><refentrytitle>eglGetCurrentSurface</refentrytitle></citerefentry></member> 10602f4aeb0Sopenharmony_ci <member><citerefentry><refentrytitle>eglGetCurrentDisplay</refentrytitle></citerefentry></member> 10702f4aeb0Sopenharmony_ci </simplelist> 10802f4aeb0Sopenharmony_ci <para>Manage or query EGL surfaces:</para> 10902f4aeb0Sopenharmony_ci <simplelist type="vert"> 11002f4aeb0Sopenharmony_ci <member><citerefentry><refentrytitle>eglCreateWindowSurface</refentrytitle></citerefentry></member> 11102f4aeb0Sopenharmony_ci <member><citerefentry><refentrytitle>eglCreatePixmapSurface</refentrytitle></citerefentry></member> 11202f4aeb0Sopenharmony_ci <member><citerefentry><refentrytitle>eglCreatePbufferSurface</refentrytitle></citerefentry></member> 11302f4aeb0Sopenharmony_ci <member><citerefentry><refentrytitle>eglDestroySurface</refentrytitle></citerefentry></member> 11402f4aeb0Sopenharmony_ci <member><citerefentry><refentrytitle>eglSurfaceAttrib</refentrytitle></citerefentry></member> 11502f4aeb0Sopenharmony_ci <member><citerefentry><refentrytitle>eglQuerySurface</refentrytitle></citerefentry></member> 11602f4aeb0Sopenharmony_ci </simplelist> 11702f4aeb0Sopenharmony_ci <para>Synchronize execution:</para> 11802f4aeb0Sopenharmony_ci <simplelist type="vert"> 11902f4aeb0Sopenharmony_ci <member><citerefentry><refentrytitle>eglSwapInterval</refentrytitle></citerefentry></member> 12002f4aeb0Sopenharmony_ci <member><citerefentry><refentrytitle>eglWaitClient</refentrytitle></citerefentry></member> 12102f4aeb0Sopenharmony_ci <member><citerefentry><refentrytitle>eglWaitGL</refentrytitle></citerefentry></member> 12202f4aeb0Sopenharmony_ci <member><citerefentry><refentrytitle>eglWaitNative</refentrytitle></citerefentry></member> 12302f4aeb0Sopenharmony_ci </simplelist> 12402f4aeb0Sopenharmony_ci <para>Post and copy buffers:</para> 12502f4aeb0Sopenharmony_ci <simplelist type="vert"> 12602f4aeb0Sopenharmony_ci <member><citerefentry><refentrytitle>eglCopyBuffers</refentrytitle></citerefentry></member> 12702f4aeb0Sopenharmony_ci <member><citerefentry><refentrytitle>eglSwapBuffers</refentrytitle></citerefentry></member> 12802f4aeb0Sopenharmony_ci </simplelist> 12902f4aeb0Sopenharmony_ci <para>Bind pixel buffer surfaces to OpenGL ES textures:</para> 13002f4aeb0Sopenharmony_ci <simplelist type="vert"> 13102f4aeb0Sopenharmony_ci <member><citerefentry><refentrytitle>eglBindTexImage</refentrytitle></citerefentry></member> 13202f4aeb0Sopenharmony_ci <member><citerefentry><refentrytitle>eglReleaseTexImage</refentrytitle></citerefentry></member> 13302f4aeb0Sopenharmony_ci </simplelist> 13402f4aeb0Sopenharmony_ci </sect1> 13502f4aeb0Sopenharmony_ci </chapter> 13602f4aeb0Sopenharmony_ci <chapter> 13702f4aeb0Sopenharmony_ci <title>EGL Reference Pages</title> 13802f4aeb0Sopenharmony_ci <xi:include href="eglBindAPI.xml"/> 13902f4aeb0Sopenharmony_ci <xi:include href="eglBindTexImage.xml"/> 14002f4aeb0Sopenharmony_ci <xi:include href="eglChooseConfig.xml"/> 14102f4aeb0Sopenharmony_ci <xi:include href="eglCopyBuffers.xml"/> 14202f4aeb0Sopenharmony_ci <xi:include href="eglCreateContext.xml"/> 14302f4aeb0Sopenharmony_ci <xi:include href="eglCreatePbufferSurface.xml"/> 14402f4aeb0Sopenharmony_ci <xi:include href="eglCreatePixmapSurface.xml"/> 14502f4aeb0Sopenharmony_ci <xi:include href="eglCreateWindowSurface.xml"/> 14602f4aeb0Sopenharmony_ci <xi:include href="eglDestroyContext.xml"/> 14702f4aeb0Sopenharmony_ci <xi:include href="eglDestroySurface.xml"/> 14802f4aeb0Sopenharmony_ci <xi:include href="eglGetConfigAttrib.xml"/> 14902f4aeb0Sopenharmony_ci <xi:include href="eglGetConfigs.xml"/> 15002f4aeb0Sopenharmony_ci <xi:include href="eglGetCurrentContext.xml"/> 15102f4aeb0Sopenharmony_ci <xi:include href="eglGetCurrentDisplay.xml"/> 15202f4aeb0Sopenharmony_ci <xi:include href="eglGetCurrentSurface.xml"/> 15302f4aeb0Sopenharmony_ci <xi:include href="eglGetDisplay.xml"/> 15402f4aeb0Sopenharmony_ci <xi:include href="eglGetError.xml"/> 15502f4aeb0Sopenharmony_ci <xi:include href="eglGetProcAddress.xml"/> 15602f4aeb0Sopenharmony_ci <xi:include href="eglInitialize.xml"/> 15702f4aeb0Sopenharmony_ci <xi:include href="eglIntro.xml"/> 15802f4aeb0Sopenharmony_ci <xi:include href="eglMakeCurrent.xml"/> 15902f4aeb0Sopenharmony_ci <xi:include href="eglQueryAPI.xml"/> 16002f4aeb0Sopenharmony_ci <xi:include href="eglQueryContext.xml"/> 16102f4aeb0Sopenharmony_ci <xi:include href="eglQueryString.xml"/> 16202f4aeb0Sopenharmony_ci <xi:include href="eglQuerySurface.xml"/> 16302f4aeb0Sopenharmony_ci <xi:include href="eglReleaseTexImage.xml"/> 16402f4aeb0Sopenharmony_ci <xi:include href="eglReleaseThread.xml"/> 16502f4aeb0Sopenharmony_ci <xi:include href="eglSurfaceAttrib.xml"/> 16602f4aeb0Sopenharmony_ci <xi:include href="eglSwapBuffers.xml"/> 16702f4aeb0Sopenharmony_ci <xi:include href="eglSwapInterval.xml"/> 16802f4aeb0Sopenharmony_ci <xi:include href="eglTerminate.xml"/> 16902f4aeb0Sopenharmony_ci <xi:include href="eglWaitClient.xml"/> 17002f4aeb0Sopenharmony_ci <xi:include href="eglWaitGL.xml"/> 17102f4aeb0Sopenharmony_ci <xi:include href="eglWaitNative.xml"/> 17202f4aeb0Sopenharmony_ci </chapter> 17302f4aeb0Sopenharmony_ci <xi:include href="license-full.xml"/> 17402f4aeb0Sopenharmony_ci</book> 175