https://github.com/3b/cl-opengl
cl-opengl is a set of CFFI bindings to the OpenGL, GLU and GLUT APIs.
https://github.com/3b/cl-opengl
Last synced: about 1 month ago
JSON representation
cl-opengl is a set of CFFI bindings to the OpenGL, GLU and GLUT APIs.
- Host: GitHub
- URL: https://github.com/3b/cl-opengl
- Owner: 3b
- License: other
- Created: 2009-09-18T01:00:10.000Z (over 16 years ago)
- Default Branch: master
- Last Pushed: 2025-12-04T14:18:45.000Z (4 months ago)
- Last Synced: 2026-03-02T22:55:33.955Z (about 2 months ago)
- Language: Common Lisp
- Homepage: http://common-lisp.net/project/cl-opengl/
- Size: 2.97 MB
- Stars: 292
- Watchers: 23
- Forks: 59
- Open Issues: 38
-
Metadata Files:
- Readme: README
- License: COPYING
Awesome Lists containing this project
- awesome-cl - cl-opengl - CFFI bindings to OpenGL, GLU and GLUT APIs. [3-clause BSD][15]. (Miscellaneous ##)
README
cl-opengl is a set of bindings and utilities for accessing the OpenGL,
GLU and GLUT APIs using CFFI.
The examples/ directory contains a couple of examples using cl-glut,
cl-opengl and cl-glu. Note, however, that you can use each of these
independently. In particular, you can use a windowing toolkit other
than (Free)GLUT, if you wish.
build-time configuration:
By default, cl-opengl checks for errors after GL calls where valid,
and disables FP traps around ffi calls to match assumptions of C code
in drivers.
If these cause performance or other problems, they can be disabled by
pushing :cl-opengl-no-check-error or :cl-opengl-no-masked-traps onto
*features* before compiling cl-opengl (probably will need to clear
.fasl caches or force a rebuild with asdf if cl-opengl has been loaded
previously). When disabling the per-call masked fp traps in cl-opengl,
you might need to do so yourself to run on some drivers. See
with-float-traps-masked in the float-features library for a portable
wrapper.