#190 Patch: Add freeglut support for Regal

open
nobody
moderate (59)
5
2013-12-08
2013-01-18
Nigel Stewart
No

Regal is an open-source GL-alike cross-platform user-space OpenGL layer.
https://github.com/p3/regal

The purpose of this patch is to support building freeglut in Regal-mode - including
<GL/Regal.h> rather than various GL/ES/GLX platform-specific headers.

I've had success running some simple desktop GL/GLUT programs on ARM Linux
with EGL/ES 2.0 using freeglut and Regal. The EGL and ES 2.0 support in
freeglut was well suited to this, and the freeglut sources have been rolled into
the Regal tree. Upstreaming this for easier maintenance.

This patch should have no side-effects unless FREEGLUT_REGAL is defined
at compile-time.

- Nigel Stewart

Discussion