1<?php 2$static_title = 'Khronos OpenGL® Registry'; 3 4include_once("../../assets/static_pages/khr_page_top.php"); 5?> 6 7<p> The OpenGL Registry contains specifications of the core API and 8 shading language; specifications of Khronos- and vendor-approved 9 OpenGL extensions; header files corresponding to the specifications; and 10 related documentation including specifications, extensions, and headers 11 for the GLX, WGL, and GLU APIs. </p> 12 13<p> The OpenGL registry is part of the <a 14 href="http://www.khronos.org/registry/OpenGL/"> Combined OpenGL Registry </a> 15 for OpenGL, OpenGL ES, and OpenGL SC, which includes the <a 16 href="xml/README.md">XML API registry</a> of reserved enumerants and 17 functions. </p> 18 19<p> <b>Table of Contents</b> 20<ul> 21<li> <b><a href="docs/update_policy.php">Working Group Policy</a></b> for 22 when Specifications and extensions will be updated. </li> 23<li> <b><a href="#apispecs">Current OpenGL API, Shading Language, GLX, 24 and Related Specifications and Reference Pages</a></b> </li> 25<li> <a href="#headers">Core API and Extension Header Files</a> </li> 26<li> <b> 27 <a href="https://www.khronos.org/files/ip-disclosures/opengl/"> IP 28 Disclosures</a> Potentially Affecting OpenGL Implementations 29 </b></li> 30<li> <b> Extension Specifications </b> 31 <ul> 32 <li> <a href="#arbextspecs">OpenGL ARB Extensions Specifications</a> </li> 33 <li> <a href="#otherextspecs">OpenGL Vendor and EXT Extension Specifications</a> 34 </li> 35 </ul> </li> 36<li> Older Material for Reference 37 <ul> 38 <li> <b><a href="#oldspecs">Older OpenGL and GLX Specifications and 39 Reference Pages</a></b> </li> 40 <li> <a href="#abi">OpenGL Application Binary Interface for Linux</a> 41 </li> 42 </ul> </li> 43</ul> 44 45<hr> 46 47<h2> <a name="apispecs"></a> 48 Current OpenGL API, OpenGL Shading Language and GLX Specifications and 49 Reference Pages </h2> 50 51<ul> 52<li> <b> Current Specifications (OpenGL 4.6) </b> 53<li> OpenGL 4.6 API Specification (October 22, 2019) 54 <ul> 55 <li> <a href="specs/gl/glspec46.core.pdf"> Core Profile Specification 56 </a> </li> 57 <li> <a href="specs/gl/glspec46.core.withchanges.pdf"> Core Profile 58 Specification with changes marked </a> </li> 59 <li> <a href="specs/gl/glspec46.compatibility.pdf"> Compatibility Profile 60 Specification </a> </li> 61 <li> <a href="specs/gl/glspec46.compatibility.withchanges.pdf"> 62 Compatibility Profile Specification with changes marked </a> 63 </li> 64 </ul> </li> 65<li> OpenGL Shading Language 4.60 Specification (July 10, 2019) 66 <a href="specs/gl/GLSLangSpec.4.60.html"> (HTML) </a> </li> 67 <a href="specs/gl/GLSLangSpec.4.60.pdf"> (PDF) </a> </li> 68 69<li> <a href="http://www.khronos.org/registry/OpenGL-Refpages/gl4/"> OpenGL 4.5 API and 70 Shading Language Reference Pages </a> (not yet updated) </li> 71 72<li> <b> OpenGL X Window System Binding (GLX 1.4) Specification </b> </li> 73<li> <a href="specs/gl/glx1.4.pdf"> GLX 1.4 Specification </a> </li> 74 75<li> <a href="https://www.khronos.org/developers/reference-cards"> OpenGL 76 Quick Reference Card </a> (available for different API versions). </li> 77</ul> 78 79 80<h2> <a name="headers"></a> API and Extension Header Files </h2> 81 82<p> Because extensions vary from platform to platform and driver to 83 driver, OpenGL developers can't expect interfaces for all extensions 84 to be defined in the standard <tt>gl.h</tt>, <tt>glx.h</tt>, and 85 <tt>wgl.h</tt> header files supplied with the OS / graphics drivers. 86 Additional header files are provided here, including: </p> 87 88<p> Almost all of the headers described below depend on a platform header 89 file common to multiple Khronos APIs called 90 <tt><KHR/khrplatform.h></tt>. </p> 91 92 93<ul> 94<li> <tt><a href="api/GL/glext.h"><GL/glext.h></a></tt> - OpenGL 95 1.2 and above compatibility profile and extension interfaces. </li> 96<li> <tt><a href="api/GL/glcorearb.h"><GL/glcorearb.h></a></tt> - 97 OpenGL core profile and ARB extension interfaces, as described in 98 appendix G.2 of the OpenGL 4.3 Specification. Does not include 99 interfaces found only in the compatibility profile. </li> 100<li> <tt><a href="api/GL/glxext.h"><GL/glxext.h></a></tt> - GLX 101 1.3 and above API and GLX extension interfaces. </li> 102<li> <tt><a href="api/GL/wglext.h"><GL/wglext.h></a></tt> - WGL 103 extension interfaces. </li> 104</ul> 105 106<p> These headers define interfaces including enumerants; prototypes; and, 107 for platforms supporting dynamic runtime extension queries, such as 108 Linux and Microsoft Windows, function pointer typedefs. Please report 109 problems as <a 110 href="https://github.com/KhronosGroup/OpenGL-Registry/issues/">Issues</a> 111 in the <a href="index.php#repository">OpenGL-Registry</a> repository. 112 </p> 113 114<p> <a name="headerskhr"></a> <b> Khronos Shared Platform Header 115 (<tt><KHR/khrplatform.h></tt>) </b> </p> 116 117<ul> 118<li> The OpenGL headers all depend on the shared 119 <a href="https://www.khronos.org/registry/EGL/api/KHR/khrplatform.h"> 120 <tt><KHR/khrplatform.h></tt></a> header from the <a 121 href="http://www.khronos.org/registry/EGL/"> EGL Registry </a>. 122 This is a new dependency, introduced in 123 <a href="https://github.com/KhronosGroup/OpenGL-Registry/pull/183"> 124 OpenGL-Registry pull request 183</a> for increased compatibility 125 between OpenGL and OpenGL ES headers. </li> 126</ul> 127 128 129<hr> 130 131<!-- Older Material --> 132 133<h2> <a name="oldspecs"></a> 134 Older OpenGL and GLX Specifications and Reference Pages 135 </h2> 136 137<ul> 138 139 <!-- Does not link to diff/withchanges specs, yet --> 140<li> <b> OpenGL 4.5 </b> 141<li> <a href="specs/gl/glspec45.core.pdf"> (API Core Profile) </a> </li> 142<li> <a href="specs/gl/glspec45.compatibility.pdf"> (API Compatibility Profile) </a> </li> 143<li> <a href="specs/gl/GLSLangSpec.4.50.pdf"> OpenGL Shading Language 144 4.50 Specification </a> </li> 145 146<li> <b> OpenGL 4.4 </b> 147<li> <a href="specs/gl/glspec44.core.pdf"> (API Core Profile) </a> </li> 148<li> <a href="specs/gl/glspec44.compatibility.pdf"> (API Compatibility Profile) </a> </li> 149<li> <a href="specs/gl/GLSLangSpec.4.40.pdf"> OpenGL Shading Language 150 4.40 Specification </a> </li> 151 152<li> <b> OpenGL 4.3 </b> 153<li> <a href="specs/gl/glspec43.core.pdf"> (API Core Profile) </a> </li> 154<li> <a href="specs/gl/glspec43.compatibility.pdf"> (API Compatibility Profile) </a> </li> 155<li> <a href="specs/gl/GLSLangSpec.4.30.pdf"> OpenGL Shading Language 156 4.30 Specification </a> </li> 157 158<li> <b> OpenGL 4.2 </b> 159<li> <a href="specs/gl/glspec42.core.pdf"> (API Core Profile) </a> </li> 160<li> <a href="specs/gl/glspec42.compatibility.pdf"> (API Compatibility Profile) </a> </li> 161<li> <a href="specs/gl/GLSLangSpec.4.20.pdf"> OpenGL Shading Language 162 4.20 Specification </a> </li> 163 164<li> <b> OpenGL 4.1 </b> 165<li> <a href="specs/gl/glspec41.core.pdf"> (API Core Profile) </a> </li> 166<li> <a href="specs/gl/glspec41.compatibility.pdf"> (API Compatibility Profile) </a> </li> 167<li> <a href="specs/gl/GLSLangSpec.4.10.pdf"> OpenGL Shading Language 4.10 168 Specification </a> </li> 169 170<li> <b> OpenGL 4.0 </b> 171<li> <a href="specs/gl/glspec40.core.pdf"> (API Core Profile) </a> </li> 172<li> A <a href="http://www.cutt.co.jp/book/978-4-87783-255-1.html"> Japanese 173 translation </a> of the API core profile specification is also 174 available. </li> 175<li> <a href="specs/gl/glspec40.compatibility.pdf"> (API Compatibility Profile) </a> </li> 176<li> <a href="specs/gl/GLSLangSpec.4.00.pdf"> OpenGL Shading Language 4.00 177 Specification </a> </li> 178 179<li> <b> OpenGL 3.3 </b> 180<li> <a href="specs/gl/glspec33.core.pdf"> (API Core Profile) </a> </li> 181<li> <a href="specs/gl/glspec33.compatibility.pdf"> (API Compatibility Profile) </a> </li> 182<li> <a href="specs/gl/GLSLangSpec.3.30.pdf"> OpenGL Shading Language 183 3.30 Specification </a> </li> 184 185<li> <b> OpenGL 3.2 </b> 186<li> <a href="specs/gl/glspec32.core.pdf"> (API Core Profile) </a> </li> 187<li> <a href="specs/gl/glspec32.compatibility.pdf"> (API Compatibility Profile) </a> </li> 188<li> <a href="specs/gl/GLSLangSpec.1.50.pdf"> OpenGL Shading Language 189 1.50 Specification </a> </li> 190 191<li> <b> OpenGL 3.1 </b> 192<li> <a href="specs/gl/glspec31.pdf"> (API Specification) </a> </li> 193<li> <a href="specs/gl/glspec31undep.pdf"> 194 (with GL_ARB_compatibility extension) </a> </li> 195<li> <a href="specs/gl/GLSLangSpec.1.40.pdf"> OpenGL Shading Language 196 1.40 Specification </a> </li> 197 198<li> <b> OpenGL 3.0 </b> 199<li> <a href="specs/gl/glspec30.pdf"> (API Specification) </a> </li> 200<li> <a href="specs/gl/GLSLangSpec.1.30.pdf"> OpenGL Shading Language 201 1.30 Specification </a> </li> 202 203<li> <b> OpenGL 2.1 </b> 204<li> <a href="specs/gl/glspec21.pdf"> (API Specification) </a> </li> 205<li> <a href="specs/gl/GLSLangSpec.1.20.pdf"> OpenGL Shading Language 206 1.20 Specification </a> </li> 207 208<li> <b> OpenGL 2.1 Reference Pages </b> 209<li> <a href="http://www.khronos.org/registry/OpenGL-Refpages/gl2.1/"> OpenGL 2.1 Reference 210 Pages </a> </li> 211 212<li> <b> OpenGL 2.0 </b> 213 214<li> <a href="specs/gl/glspec20.pdf"> (API Specification) </a> </li> 215<li> <a href="specs/gl/GLSLangSpec.1.10.pdf"> OpenGL Shading Language 216 1.10 Specification </a> </li> 217 218<li> <b> OpenGL 1.x </b> 219 220<li> <a href="specs/gl/glspec15.pdf"> OpenGL 1.5 API Specification </a> 221<li> <a href="specs/gl/glspec14.pdf"> OpenGL 1.4 API Specification </a> 222<li> <a href="specs/gl/glspec13.pdf"> OpenGL 1.3 API Specification </a> 223<li> <a href="specs/gl/glspec121.pdf"> OpenGL 1.2.1 API Specification </a> 224<li> <a href="specs/gl/glspec11.pdf"> OpenGL 1.1 API Specification </a> 225<li> <a href="specs/gl/glspec10.pdf"> OpenGL 1.0 API Specification </a> 226 227<li> <b> Older GLX Specifications </b> 228 229<li> <a href="specs/gl/glx1.3.pdf"> GLX 1.3 Specification </a> 230<li> <a href="specs/gl/glxencode1.3.pdf"> GLX 1.3 Protocol Encoding 231 Specification </a> 232<li> <a href="specs/gl/glx1.2.ps"> GLX 1.2 Specification (PostScript format) </a> 233<li> <a href="specs/gl/GLXprotocol.ps"> GLX Protocol Slides (PostScript 234 format; only of historical interest) </a> 235 236<li> <b> OpenGL Utility Library (GLU) Specification </b> 237<li> <a href="specs/gl/glu1.3.pdf"> GLU 1.3 Specification (November 4, 1998) </a> 238 239</ul> 240 241<h2> <a name="abi"></a> 242 OpenGL Application Binary Interface for Linux </h2> 243 244<p> The <a href="ABI/">OpenGL Application Binary Interface for Linux</a> is 245 also available. Note that the ABI is extremely old and of little use 246 today. </p> 247 248<h2> <a name="arbextspecs"></a> 249 ARB and KHR Extensions by number</h2> 250 251<?php include("extensions/arbext.php"); ?> 252 253<h2> <a name="otherextspecs"></a> 254 Vendor and EXT Extensions by number</h2> 255 256<?php include("extensions/glext.php"); ?> 257 258<?php include_once("../../assets/static_pages/khr_page_bottom.php"); ?> 259</body> 260</html> 261