Skip to content
OpenGL and OpenGL ES reference page sources, and generated HTML used as backing store for
HTML XSLT PHP Hack Python Makefile Other
Branch: master
Clone or download
Latest commit 8acb9c7 Apr 25, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
es1.1 Fixed typos Nov 4, 2018
es2.0 Fixed typos Nov 4, 2018
es3.0 Fixed typos Nov 4, 2018
es3.1 Fix equivalent call in glDispatchComputeIndirect Feb 5, 2019
gl2.1 Fixed typos Dec 19, 2018
gl4 Fixes #66 Apr 26, 2019
inc Checkpoint - use Apache copyright on Makefiles, strip old junk, unify Jan 23, 2017
mancommon Fixed typos Nov 4, 2018
.htaccess Clean up old .htaccess rules to allow redirects from old SDK areas Feb 6, 2017 Create Oct 10, 2018
Makefile Fix for public bug 1266 + minor docs improvements Feb 4, 2017
README.adoc Fix typo Feb 4, 2017
index.php Update copyright date Mar 28, 2018



OpenGLR and OpenGL ES reference page sources, and generated HTML used as backing store for .

Directory Structure

There are separate ref page sets for each of the following apis:

  • es1.1 - OpenGL ES 1.1 (fixed function)

  • es2.0 - OpenGL ES 2.0

  • es3.0 - OpenGL ES 3.0

  • es3.1 - OpenGL ES 3.1

  • es3 - OpenGL ES 3.x (will always be the latest ES, currently 3.2)

  • gl2.1 - OpenGL 2.1 (including fixed functionality)

  • gl4 - OpenGL 4.x (will always be the latest GL, currently 4.5)


The ref pages rely on the Docbook 4 and 5 toolchains, DTDs, XSL, etc. Tools you’ll need to build include:

  • xsltproc (Debian 'xsltproc' package, might also be 'libxslt').

  • Docbook stylesheets (Debian 'docbook-xsl' and 'docbook-xsl-ns' packages, might also be 'docbook-style-xsl').

    • If your XML catalog does not resolve the stylesheet URIs in the man page sources to a local reference to the installed stylesheets, processing will be very, very slow. You can find out if this is happening by invoking one of the xsltproc commands in the build with the '--nonet' argument.

  • MathML 2.0 DTD (Debian 'w3-dtd-mathml' package)

  • Docboook MathML Module 1.1 (Debian 'docbook-mathml' package, or install into your local XML catalog).

  • GNU Make.

If you’re using Ubuntu, or the Windows 10 Ubuntu subsystem, the required package names are probably basically the same as Debian.

It’s possible to build the ref pages on Mac OS X and Cygwin, but we don’t have current package names or instructions for those environments. If you do, please submit a pull request adding details to this README.

Ref Pages in Subversion are Deprecated

The reference pages were formerly maintained in Khronos Subversion. The Subversion copies will not be removed, but are no longer being maintained or exposed via the and websites.

Future Plans

We’re interested in migrating from Docbook to asciidoc, but if and only if we can find a robust way to automatically convert Docbook <refentry> documents into asciidoc, including handling XIncludes, imbedded MathML into LaTeX math, etc. We’ve tried several XSLT scripts and other conversion tools without success.

We’ll accept reasonable pull requests to improve the current ref pages, but aren’t going to put a lot of effort into them ourselves.


For historical reasons, the ref pages are under a mix of open source licenses from Khronos, SGI, 3Dlabs, and others. We are unable to change many of those licenses, because the original authors are no longer in business (SGI, 3Dlabs). Ideally we’d like to end up with a Creative Commons license on all the ref pages and Apache 2.0 on all the scripts and tools, but it’s unlikely that will ever be possible.

You can’t perform that action at this time.