peter 8bb847b862 Merged revisions 8534-8537,8539-8546,8554,8560,8569,8575-8576,8581-8587,8590,8593-8594,8596,8600,8605,8607,8611,8625,8630-8638,8640-8641,8644,8648-8649,8659,8661,8665,8667,8681-8682,8686-8687,8702,8705,8710-8714,8719,8721-8723,8726-8728,8730-8732,8736,8743,8745-8753,8757-8760,8762-8764,8766-8769,8782-8783,8795,8797,8822,8831,8843,8845,8848-8849,8851,8856,8859,8861,8863,8871,8876-8877,8879-8889,8891-8897,8912-8914,8916-8917,8922,8924,8928,8930,8934,8940,8942,8950,8955,8973,8976-8977,8983-8984,8996,8998,9000-9007 via svnmerge from 18 年之前
..
examples edfb121c83 * regenerated with darwin/ppc64 support 18 年之前
Makefile edfb121c83 * regenerated with darwin/ppc64 support 18 年之前
Makefile.fpc 90e313f3f9 * Version 2.2.1 18 年之前
fpmake.inc 01379673e2 Merged revisions 7085 via svnmerge from 18 年之前
fpmake.pp ec05423779 + Initial implementation 20 年之前
gl.pp bffb8ffd15 Merged revisions 7083,7089 via svnmerge from 18 年之前
glext.pp bffb8ffd15 Merged revisions 7083,7089 via svnmerge from 18 年之前
glu.pp bffb8ffd15 Merged revisions 7083,7089 via svnmerge from 18 年之前
glunits.txt 4ace790492 * remove $Log 20 年之前
glut.pp 8bb847b862 Merged revisions 8534-8537,8539-8546,8554,8560,8569,8575-8576,8581-8587,8590,8593-8594,8596,8600,8605,8607,8611,8625,8630-8638,8640-8641,8644,8648-8649,8659,8661,8665,8667,8681-8682,8686-8687,8702,8705,8710-8714,8719,8721-8723,8726-8728,8730-8732,8736,8743,8745-8753,8757-8760,8762-8764,8766-8769,8782-8783,8795,8797,8822,8831,8843,8845,8848-8849,8851,8856,8859,8861,8863,8871,8876-8877,8879-8889,8891-8897,8912-8914,8916-8917,8922,8924,8928,8930,8934,8940,8942,8950,8955,8973,8976-8977,8983-8984,8996,8998,9000-9007 via svnmerge from 18 年之前
glx.pp 1b7f4b1e90 * adds "T" variants to types (delphi compat in the least) 19 年之前
readme 1f2b762ce4 * Finally, the new units are available: Match the C headers more closely; 23 年之前
tinygl.inc 981dd043e4 + removed unnecessary typecasts causing troubles 19 年之前
tinyglh.inc e1aa3018f6 * Few more changes for MorphOS OpenGL support 20 年之前

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