peter 323d6cf640 * use -O2 for 2.1.1 compilers 19 سال پیش
..
examples 323d6cf640 * use -O2 for 2.1.1 compilers 19 سال پیش
Makefile 323d6cf640 * use -O2 for 2.1.1 compilers 19 سال پیش
Makefile.fpc ee1fba0822 - removed dllfuncs unit, use dynlibs from the rtl instead 19 سال پیش
fpmake.inc ec05423779 + Initial implementation 20 سال پیش
fpmake.pp ec05423779 + Initial implementation 20 سال پیش
gl.pp 5e0ebb6139 * fixed opengl package compilation on Win32 19 سال پیش
glext.pp ee1fba0822 - removed dllfuncs unit, use dynlibs from the rtl instead 19 سال پیش
glu.pp 5e0ebb6139 * fixed opengl package compilation on Win32 19 سال پیش
glunits.txt 4ace790492 * remove $Log 20 سال پیش
glut.pp 5e0ebb6139 * fixed opengl package compilation on Win32 19 سال پیش
glx.pp ee1fba0822 - removed dllfuncs unit, use dynlibs from the rtl instead 19 سال پیش
readme 1f2b762ce4 * Finally, the new units are available: Match the C headers more closely; 23 سال پیش
tinygl.inc e1aa3018f6 * Few more changes for MorphOS OpenGL support 19 سال پیش
tinyglh.inc e1aa3018f6 * Few more changes for MorphOS OpenGL support 19 سال پیش

readme

New Free Pascal OpenGL (GL, GLU, GLUT, GLX) Units
GLX unit (c) 1999-2002 Sebastian Guenther, [email protected]
other units adapted to Free Pascal from the delphi3d.net units
by Tom Nuydens ([email protected]), see http://www.delphi3d.net/

You might have a look at the original readme, glunits.txt, as well


Some remarks:
* The new OpenGL units are not 100% compatible to the old ones; the new units
use exactly the same function declarations as their C counterpart.
* Platform compatiblity: You can work on all targets exactly as on Win32;
for example, you can use wglGetProcAddress for loading OpenGL extensions even
on Unix based systems. A future release of the glext unit might have helper
functions for loading specific extensions. (There is a small problem with
Free Pascal: In FPC mode, you cannot assign a pointer, as returned by
wglGetProcAddress, to a variable which holds a function pointer. Currently
you have to compile your programs in Delphi mode, if they are using OpenGL
extensions)
* GLUT on Win32: Get the glut32.dll from here:
http://www.xmission.com/~nate/glut.html
* GTKGLArea: The GL Area widget for GTK is available in the GTK package