readme 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. Free Pascal GL* (GL, GLU, GLUT, GLX) Units
  2. (c) 1999-2000 Sebastian Guenther, [email protected]
  3. subdirectory "build"
  4. --------------------
  5. This directory contains tools which create the sources of the real GL* units
  6. based on some template files. It contains its own README file, look there for
  7. further informations.
  8. subdirectory "linux"
  9. --------------------
  10. Contains the GL* units for Linux; currently you can use all GL, GLU and GLX
  11. functions as well as most GLUT functions. Automatic loading of GL extensions
  12. is not supported yet, but is planned for the future.
  13. Under Linux, the GL* units try to locate the underlying libraries at run-time;
  14. they search for the libraries in the following order:
  15. GL: (includes GLX)
  16. 1. libGL.so
  17. 2. libGL.so.1
  18. 3. libMesaGL.so.3
  19. GLU:
  20. 1. libGLU.so
  21. 2. libGLU.so.1
  22. 3. libMesaGLU.so.3
  23. GLUT:
  24. 1. libglut.so
  25. 2. libglut.so.3
  26. This should work on all more recent Linux installations.
  27. The GL unit has a variable called "GLDumpUnresolvedFunctions", and the GLUT
  28. unit one called "GLUTDumpUnresolvedFunctions". Set them to True in your
  29. applications if you want to get all function names dumped to the console
  30. which couldn't be resolved, i.e. which are not available in the loaded
  31. libraries.
  32. === gtkglarea: ===
  33. Additionally, there is an adaption for the gtkglarea (GTK GL area widget)
  34. available; as gtkglarea uses the XLib it is only available for Linux here.
  35. subdirectory "examples"
  36. -----------------------
  37. Only contains a test program called "glutdemo" at the moment, which
  38. demonstrates the use of the GL and GLUT units.
  39. Have fun,
  40. Sebastian