xref: /third_party/openGLES/index_gl.php (revision 5bd8dead)
15bd8deadSopenharmony_ci<?php
25bd8deadSopenharmony_ci$static_title = 'Khronos OpenGL&reg; Registry';
35bd8deadSopenharmony_ci
45bd8deadSopenharmony_ciinclude_once("../../assets/static_pages/khr_page_top.php");
55bd8deadSopenharmony_ci?>
65bd8deadSopenharmony_ci
75bd8deadSopenharmony_ci<p> The OpenGL Registry contains specifications of the core API and
85bd8deadSopenharmony_ci    shading language; specifications of Khronos- and vendor-approved
95bd8deadSopenharmony_ci    OpenGL extensions; header files corresponding to the specifications; and
105bd8deadSopenharmony_ci    related documentation including specifications, extensions, and headers
115bd8deadSopenharmony_ci    for the GLX, WGL, and GLU APIs. </p>
125bd8deadSopenharmony_ci
135bd8deadSopenharmony_ci<p> The OpenGL registry is part of the <a
145bd8deadSopenharmony_ci    href="http://www.khronos.org/registry/OpenGL/"> Combined OpenGL Registry </a>
155bd8deadSopenharmony_ci    for OpenGL, OpenGL ES, and OpenGL SC, which includes the <a
165bd8deadSopenharmony_ci    href="xml/README.adoc">XML API registry</a> of reserved enumerants and
175bd8deadSopenharmony_ci    functions. </p>
185bd8deadSopenharmony_ci
195bd8deadSopenharmony_ci<p> <b>Table of Contents</b>
205bd8deadSopenharmony_ci<ul>
215bd8deadSopenharmony_ci<li> <b><a href="docs/update_policy.php">Working Group Policy</a></b> for
225bd8deadSopenharmony_ci     when Specifications and extensions will be updated. </li>
235bd8deadSopenharmony_ci<li> <b><a href="#apispecs">Current OpenGL API, Shading Language, GLX,
245bd8deadSopenharmony_ci     and Related Specifications and Reference Pages</a></b> </li>
255bd8deadSopenharmony_ci<li> <a href="#headers">Core API and Extension Header Files</a> </li>
265bd8deadSopenharmony_ci<li> <b>
275bd8deadSopenharmony_ci     <a href="https://www.khronos.org/files/ip-disclosures/opengl/"> IP
285bd8deadSopenharmony_ci     Disclosures</a> Potentially Affecting OpenGL Implementations
295bd8deadSopenharmony_ci     </b></li>
305bd8deadSopenharmony_ci<li> <b> Extension Specifications </b>
315bd8deadSopenharmony_ci    <ul>
325bd8deadSopenharmony_ci    <li> <a href="#arbextspecs">OpenGL ARB Extensions Specifications</a> </li>
335bd8deadSopenharmony_ci    <li> <a href="#otherextspecs">OpenGL Vendor and EXT Extension Specifications</a>
345bd8deadSopenharmony_ci         </li>
355bd8deadSopenharmony_ci    </ul> </li>
365bd8deadSopenharmony_ci<li> Older Material for Reference
375bd8deadSopenharmony_ci    <ul>
385bd8deadSopenharmony_ci    <li> <b><a href="#oldspecs">Older OpenGL and GLX Specifications and
395bd8deadSopenharmony_ci         Reference Pages</a></b> </li>
405bd8deadSopenharmony_ci    <li> <a href="#abi">OpenGL Application Binary Interface for Linux</a>
415bd8deadSopenharmony_ci         </li>
425bd8deadSopenharmony_ci    </ul> </li>
435bd8deadSopenharmony_ci</ul>
445bd8deadSopenharmony_ci
455bd8deadSopenharmony_ci<hr>
465bd8deadSopenharmony_ci
475bd8deadSopenharmony_ci<h2> <a name="apispecs"></a>
485bd8deadSopenharmony_ci     Current OpenGL API, OpenGL Shading Language and GLX Specifications and
495bd8deadSopenharmony_ci     Reference Pages </h2>
505bd8deadSopenharmony_ci
515bd8deadSopenharmony_ci<ul>
525bd8deadSopenharmony_ci<li> <b> Current Specifications (OpenGL 4.6) </b>
535bd8deadSopenharmony_ci<li> OpenGL 4.6 API Specification (May 5, 2022)
545bd8deadSopenharmony_ci    <ul>
555bd8deadSopenharmony_ci    <li> <a href="specs/gl/glspec46.core.pdf"> Core Profile Specification
565bd8deadSopenharmony_ci         </a> </li>
575bd8deadSopenharmony_ci    <li> <a href="specs/gl/glspec46.core.withchanges.pdf"> Core Profile
585bd8deadSopenharmony_ci         Specification with changes marked </a> </li>
595bd8deadSopenharmony_ci    <li> <a href="specs/gl/glspec46.compatibility.pdf"> Compatibility Profile
605bd8deadSopenharmony_ci         Specification </a> </li>
615bd8deadSopenharmony_ci    <li> <a href="specs/gl/glspec46.compatibility.withchanges.pdf">
625bd8deadSopenharmony_ci         Compatibility Profile Specification with changes marked </a>
635bd8deadSopenharmony_ci         </li>
645bd8deadSopenharmony_ci    </ul> </li>
655bd8deadSopenharmony_ci<li> OpenGL Shading Language 4.60 Specification (July 10, 2019)
665bd8deadSopenharmony_ci     <a href="specs/gl/GLSLangSpec.4.60.html"> (HTML) </a> </li>
675bd8deadSopenharmony_ci     <a href="specs/gl/GLSLangSpec.4.60.pdf"> (PDF) </a> </li>
685bd8deadSopenharmony_ci
695bd8deadSopenharmony_ci<li> <a href="http://www.khronos.org/registry/OpenGL-Refpages/gl4/"> OpenGL 4.5 API and
705bd8deadSopenharmony_ci     Shading Language Reference Pages </a> (not yet updated) </li>
715bd8deadSopenharmony_ci
725bd8deadSopenharmony_ci<li> <b> OpenGL X Window System Binding (GLX 1.4) Specification </b> </li>
735bd8deadSopenharmony_ci<li> <a href="specs/gl/glx1.4.pdf"> GLX 1.4 Specification </a> </li>
745bd8deadSopenharmony_ci
755bd8deadSopenharmony_ci<li> <a href="https://www.khronos.org/developers/reference-cards"> OpenGL
765bd8deadSopenharmony_ci     Quick Reference Card </a> (available for different API versions). </li>
775bd8deadSopenharmony_ci</ul>
785bd8deadSopenharmony_ci
795bd8deadSopenharmony_ci
805bd8deadSopenharmony_ci<h2> <a name="headers"></a> API and Extension Header Files </h2>
815bd8deadSopenharmony_ci
825bd8deadSopenharmony_ci<p> Because extensions vary from platform to platform and driver to
835bd8deadSopenharmony_ci    driver, OpenGL developers can't expect interfaces for all extensions
845bd8deadSopenharmony_ci    to be defined in the standard <tt>gl.h</tt>, <tt>glx.h</tt>, and
855bd8deadSopenharmony_ci    <tt>wgl.h</tt> header files supplied with the OS / graphics drivers.
865bd8deadSopenharmony_ci    Additional header files are provided here, including: </p>
875bd8deadSopenharmony_ci
885bd8deadSopenharmony_ci<p> Almost all of the headers described below depend on a platform header
895bd8deadSopenharmony_ci    file common to multiple Khronos APIs called
905bd8deadSopenharmony_ci    <tt>&lt;KHR/khrplatform.h&gt;</tt>. </p>
915bd8deadSopenharmony_ci
925bd8deadSopenharmony_ci
935bd8deadSopenharmony_ci<ul>
945bd8deadSopenharmony_ci<li> <tt><a href="api/GL/glext.h">&lt;GL/glext.h&gt;</a></tt> - OpenGL
955bd8deadSopenharmony_ci     1.2 and above compatibility profile and extension interfaces. </li>
965bd8deadSopenharmony_ci<li> <tt><a href="api/GL/glcorearb.h">&lt;GL/glcorearb.h&gt;</a></tt> -
975bd8deadSopenharmony_ci     OpenGL core profile and ARB extension interfaces, as described in
985bd8deadSopenharmony_ci     appendix G.2 of the OpenGL 4.3 Specification. Does not include
995bd8deadSopenharmony_ci     interfaces found only in the compatibility profile. </li>
1005bd8deadSopenharmony_ci<li> <tt><a href="api/GL/glxext.h">&lt;GL/glxext.h&gt;</a></tt> - GLX
1015bd8deadSopenharmony_ci     1.3 and above API and GLX extension interfaces. </li>
1025bd8deadSopenharmony_ci<li> <tt><a href="api/GL/wglext.h">&lt;GL/wglext.h&gt;</a></tt> - WGL
1035bd8deadSopenharmony_ci     extension interfaces. </li>
1045bd8deadSopenharmony_ci</ul>
1055bd8deadSopenharmony_ci
1065bd8deadSopenharmony_ci<p> These headers define interfaces including enumerants; prototypes; and,
1075bd8deadSopenharmony_ci    for platforms supporting dynamic runtime extension queries, such as
1085bd8deadSopenharmony_ci    Linux and Microsoft Windows, function pointer typedefs. Please report
1095bd8deadSopenharmony_ci    problems as <a
1105bd8deadSopenharmony_ci    href="https://github.com/KhronosGroup/OpenGL-Registry/issues/">Issues</a>
1115bd8deadSopenharmony_ci    in the <a href="index.php#repository">OpenGL-Registry</a> repository.
1125bd8deadSopenharmony_ci    </p>
1135bd8deadSopenharmony_ci
1145bd8deadSopenharmony_ci<p> <a name="headerskhr"></a> <b> Khronos Shared Platform Header
1155bd8deadSopenharmony_ci    (<tt>&lt;KHR/khrplatform.h&gt;</tt>) </b> </p>
1165bd8deadSopenharmony_ci
1175bd8deadSopenharmony_ci<ul>
1185bd8deadSopenharmony_ci<li> The OpenGL headers all depend on the shared
1195bd8deadSopenharmony_ci     <a href="https://www.khronos.org/registry/EGL/api/KHR/khrplatform.h">
1205bd8deadSopenharmony_ci     <tt>&lt;KHR/khrplatform.h&gt;</tt></a> header from the <a
1215bd8deadSopenharmony_ci     href="http://www.khronos.org/registry/EGL/"> EGL Registry </a>.
1225bd8deadSopenharmony_ci     This is a new dependency, introduced in
1235bd8deadSopenharmony_ci     <a href="https://github.com/KhronosGroup/OpenGL-Registry/pull/183">
1245bd8deadSopenharmony_ci     OpenGL-Registry pull request 183</a> for increased compatibility
1255bd8deadSopenharmony_ci     between OpenGL and OpenGL ES headers. </li>
1265bd8deadSopenharmony_ci</ul>
1275bd8deadSopenharmony_ci
1285bd8deadSopenharmony_ci
1295bd8deadSopenharmony_ci<hr>
1305bd8deadSopenharmony_ci
1315bd8deadSopenharmony_ci<!-- Older Material -->
1325bd8deadSopenharmony_ci
1335bd8deadSopenharmony_ci<h2> <a name="oldspecs"></a>
1345bd8deadSopenharmony_ci     Older OpenGL and GLX Specifications and Reference Pages
1355bd8deadSopenharmony_ci     </h2>
1365bd8deadSopenharmony_ci
1375bd8deadSopenharmony_ci<ul>
1385bd8deadSopenharmony_ci
1395bd8deadSopenharmony_ci    <!-- Does not link to diff/withchanges specs, yet -->
1405bd8deadSopenharmony_ci<li> <b> OpenGL 4.5 </b>
1415bd8deadSopenharmony_ci<li> <a href="specs/gl/glspec45.core.pdf"> (API Core Profile) </a> </li>
1425bd8deadSopenharmony_ci<li> <a href="specs/gl/glspec45.compatibility.pdf"> (API Compatibility Profile) </a> </li>
1435bd8deadSopenharmony_ci<li> <a href="specs/gl/GLSLangSpec.4.50.pdf"> OpenGL Shading Language
1445bd8deadSopenharmony_ci     4.50 Specification </a> </li>
1455bd8deadSopenharmony_ci
1465bd8deadSopenharmony_ci<li> <b> OpenGL 4.4 </b>
1475bd8deadSopenharmony_ci<li> <a href="specs/gl/glspec44.core.pdf"> (API Core Profile) </a> </li>
1485bd8deadSopenharmony_ci<li> <a href="specs/gl/glspec44.compatibility.pdf"> (API Compatibility Profile) </a> </li>
1495bd8deadSopenharmony_ci<li> <a href="specs/gl/GLSLangSpec.4.40.pdf"> OpenGL Shading Language
1505bd8deadSopenharmony_ci     4.40 Specification </a> </li>
1515bd8deadSopenharmony_ci
1525bd8deadSopenharmony_ci<li> <b> OpenGL 4.3 </b>
1535bd8deadSopenharmony_ci<li> <a href="specs/gl/glspec43.core.pdf"> (API Core Profile) </a> </li>
1545bd8deadSopenharmony_ci<li> <a href="specs/gl/glspec43.compatibility.pdf"> (API Compatibility Profile) </a> </li>
1555bd8deadSopenharmony_ci<li> <a href="specs/gl/GLSLangSpec.4.30.pdf"> OpenGL Shading Language
1565bd8deadSopenharmony_ci     4.30 Specification </a> </li>
1575bd8deadSopenharmony_ci
1585bd8deadSopenharmony_ci<li> <b> OpenGL 4.2 </b>
1595bd8deadSopenharmony_ci<li> <a href="specs/gl/glspec42.core.pdf"> (API Core Profile) </a> </li>
1605bd8deadSopenharmony_ci<li> <a href="specs/gl/glspec42.compatibility.pdf"> (API Compatibility Profile) </a> </li>
1615bd8deadSopenharmony_ci<li> <a href="specs/gl/GLSLangSpec.4.20.pdf"> OpenGL Shading Language
1625bd8deadSopenharmony_ci     4.20 Specification </a> </li>
1635bd8deadSopenharmony_ci
1645bd8deadSopenharmony_ci<li> <b> OpenGL 4.1 </b>
1655bd8deadSopenharmony_ci<li> <a href="specs/gl/glspec41.core.pdf"> (API Core Profile) </a> </li>
1665bd8deadSopenharmony_ci<li> <a href="specs/gl/glspec41.compatibility.pdf"> (API Compatibility Profile) </a> </li>
1675bd8deadSopenharmony_ci<li> <a href="specs/gl/GLSLangSpec.4.10.pdf"> OpenGL Shading Language 4.10
1685bd8deadSopenharmony_ci     Specification </a> </li>
1695bd8deadSopenharmony_ci
1705bd8deadSopenharmony_ci<li> <b> OpenGL 4.0 </b>
1715bd8deadSopenharmony_ci<li> <a href="specs/gl/glspec40.core.pdf"> (API Core Profile) </a> </li>
1725bd8deadSopenharmony_ci<li> A <a href="http://www.cutt.co.jp/book/978-4-87783-255-1.html"> Japanese
1735bd8deadSopenharmony_ci     translation </a> of the API core profile specification is also
1745bd8deadSopenharmony_ci     available. </li>
1755bd8deadSopenharmony_ci<li> <a href="specs/gl/glspec40.compatibility.pdf"> (API Compatibility Profile) </a> </li>
1765bd8deadSopenharmony_ci<li> <a href="specs/gl/GLSLangSpec.4.00.pdf"> OpenGL Shading Language 4.00
1775bd8deadSopenharmony_ci     Specification </a> </li>
1785bd8deadSopenharmony_ci
1795bd8deadSopenharmony_ci<li> <b> OpenGL 3.3 </b>
1805bd8deadSopenharmony_ci<li> <a href="specs/gl/glspec33.core.pdf"> (API Core Profile) </a> </li>
1815bd8deadSopenharmony_ci<li> <a href="specs/gl/glspec33.compatibility.pdf"> (API Compatibility Profile) </a> </li>
1825bd8deadSopenharmony_ci<li> <a href="specs/gl/GLSLangSpec.3.30.pdf"> OpenGL Shading Language
1835bd8deadSopenharmony_ci     3.30 Specification </a> </li>
1845bd8deadSopenharmony_ci
1855bd8deadSopenharmony_ci<li> <b> OpenGL 3.2 </b>
1865bd8deadSopenharmony_ci<li> <a href="specs/gl/glspec32.core.pdf"> (API Core Profile) </a> </li>
1875bd8deadSopenharmony_ci<li> <a href="specs/gl/glspec32.compatibility.pdf"> (API Compatibility Profile) </a> </li>
1885bd8deadSopenharmony_ci<li> <a href="specs/gl/GLSLangSpec.1.50.pdf"> OpenGL Shading Language
1895bd8deadSopenharmony_ci     1.50 Specification </a> </li>
1905bd8deadSopenharmony_ci
1915bd8deadSopenharmony_ci<li> <b> OpenGL 3.1 </b>
1925bd8deadSopenharmony_ci<li> <a href="specs/gl/glspec31.pdf"> (API Specification) </a> </li>
1935bd8deadSopenharmony_ci<li> <a href="specs/gl/glspec31undep.pdf">
1945bd8deadSopenharmony_ci        (with GL_ARB_compatibility extension) </a> </li>
1955bd8deadSopenharmony_ci<li> <a href="specs/gl/GLSLangSpec.1.40.pdf"> OpenGL Shading Language
1965bd8deadSopenharmony_ci     1.40 Specification </a> </li>
1975bd8deadSopenharmony_ci
1985bd8deadSopenharmony_ci<li> <b> OpenGL 3.0 </b>
1995bd8deadSopenharmony_ci<li> <a href="specs/gl/glspec30.pdf"> (API Specification) </a> </li>
2005bd8deadSopenharmony_ci<li> <a href="specs/gl/GLSLangSpec.1.30.pdf"> OpenGL Shading Language
2015bd8deadSopenharmony_ci     1.30 Specification </a> </li>
2025bd8deadSopenharmony_ci
2035bd8deadSopenharmony_ci<li> <b> OpenGL 2.1 </b>
2045bd8deadSopenharmony_ci<li> <a href="specs/gl/glspec21.pdf"> (API Specification) </a> </li>
2055bd8deadSopenharmony_ci<li> <a href="specs/gl/GLSLangSpec.1.20.pdf"> OpenGL Shading Language
2065bd8deadSopenharmony_ci     1.20 Specification </a> </li>
2075bd8deadSopenharmony_ci
2085bd8deadSopenharmony_ci<li> <b> OpenGL 2.1 Reference Pages </b>
2095bd8deadSopenharmony_ci<li> <a href="http://www.khronos.org/registry/OpenGL-Refpages/gl2.1/"> OpenGL 2.1 Reference
2105bd8deadSopenharmony_ci     Pages </a> </li>
2115bd8deadSopenharmony_ci
2125bd8deadSopenharmony_ci<li> <b> OpenGL 2.0 </b>
2135bd8deadSopenharmony_ci
2145bd8deadSopenharmony_ci<li> <a href="specs/gl/glspec20.pdf"> (API Specification) </a> </li>
2155bd8deadSopenharmony_ci<li> <a href="specs/gl/GLSLangSpec.1.10.pdf"> OpenGL Shading Language
2165bd8deadSopenharmony_ci     1.10 Specification </a> </li>
2175bd8deadSopenharmony_ci
2185bd8deadSopenharmony_ci<li> <b> OpenGL 1.x </b>
2195bd8deadSopenharmony_ci
2205bd8deadSopenharmony_ci<li> <a href="specs/gl/glspec15.pdf"> OpenGL 1.5 API Specification </a>
2215bd8deadSopenharmony_ci<li> <a href="specs/gl/glspec14.pdf"> OpenGL 1.4 API Specification </a>
2225bd8deadSopenharmony_ci<li> <a href="specs/gl/glspec13.pdf"> OpenGL 1.3 API Specification </a>
2235bd8deadSopenharmony_ci<li> <a href="specs/gl/glspec121.pdf"> OpenGL 1.2.1 API Specification </a>
2245bd8deadSopenharmony_ci<li> <a href="specs/gl/glspec11.pdf"> OpenGL 1.1 API Specification </a>
2255bd8deadSopenharmony_ci<li> <a href="specs/gl/glspec10.pdf"> OpenGL 1.0 API Specification </a>
2265bd8deadSopenharmony_ci
2275bd8deadSopenharmony_ci<li> <b> Older GLX Specifications </b>
2285bd8deadSopenharmony_ci
2295bd8deadSopenharmony_ci<li> <a href="specs/gl/glx1.3.pdf"> GLX 1.3 Specification </a>
2305bd8deadSopenharmony_ci<li> <a href="specs/gl/glxencode1.3.pdf"> GLX 1.3 Protocol Encoding
2315bd8deadSopenharmony_ci     Specification </a>
2325bd8deadSopenharmony_ci<li> <a href="specs/gl/glx1.2.ps"> GLX 1.2 Specification (PostScript format) </a>
2335bd8deadSopenharmony_ci<li> <a href="specs/gl/GLXprotocol.ps"> GLX Protocol Slides (PostScript
2345bd8deadSopenharmony_ci     format; only of historical interest) </a>
2355bd8deadSopenharmony_ci
2365bd8deadSopenharmony_ci<li> <b> OpenGL Utility Library (GLU) Specification </b>
2375bd8deadSopenharmony_ci<li> <a href="specs/gl/glu1.3.pdf"> GLU 1.3 Specification (November 4, 1998) </a>
2385bd8deadSopenharmony_ci
2395bd8deadSopenharmony_ci</ul>
2405bd8deadSopenharmony_ci
2415bd8deadSopenharmony_ci<h2> <a name="abi"></a>
2425bd8deadSopenharmony_ci    OpenGL Application Binary Interface for Linux </h2>
2435bd8deadSopenharmony_ci
2445bd8deadSopenharmony_ci<p> The <a href="ABI/">OpenGL Application Binary Interface for Linux</a> is
2455bd8deadSopenharmony_ci    also available. Note that the ABI is extremely old and of little use
2465bd8deadSopenharmony_ci    today. </p>
2475bd8deadSopenharmony_ci
2485bd8deadSopenharmony_ci<h2> <a name="arbextspecs"></a>
2495bd8deadSopenharmony_ci     ARB and KHR Extensions by number</h2>
2505bd8deadSopenharmony_ci
2515bd8deadSopenharmony_ci<?php include("extensions/arbext.php"); ?>
2525bd8deadSopenharmony_ci
2535bd8deadSopenharmony_ci<h2> <a name="otherextspecs"></a>
2545bd8deadSopenharmony_ci     Vendor and EXT Extensions by number</h2>
2555bd8deadSopenharmony_ci
2565bd8deadSopenharmony_ci<?php include("extensions/glext.php"); ?>
2575bd8deadSopenharmony_ci
2585bd8deadSopenharmony_ci<?php include_once("../../assets/static_pages/khr_page_bottom.php"); ?>
2595bd8deadSopenharmony_ci</body>
2605bd8deadSopenharmony_ci</html>
261