4 years agoFix regression on freeglut platforms.
Luis Oliveira [Sat, 29 Aug 2009 13:39:49]
Fix regression on freeglut platforms.

Ignore-this: 4aacad022ed099458c00b55cdab68a6a

Using freeglut, the MAIN-LOOP does exit at some point but
*GLUT-INITIALIZED-P* does not reflect that. So let's use
(GETP :INIT-STATE) again to check for such cases.

4 years agoUse the GLUT Framework on Darwin
Luis Oliveira [Sat, 25 Jul 2009 15:55:54]
Use the GLUT Framework on Darwin


Patch courtesy of Xristos <xristos@suspicious.org> and others.

5 years agoUse single-floats instead of short-floats for the %GL:FLOAT type.
Luis Oliveira [Mon, 22 Jun 2009 03:57:42]
Use single-floats instead of short-floats for the %GL:FLOAT type.

Ignore-this: 24a86fa8c156fe631a0d58fd7aed39c

5 years agoUse explicit single-float constants.
Luis Oliveira [Tue, 02 Jun 2009 06:03:49]
Use explicit single-float constants.

Ignore-this: 3f23f145012658b2cbfa3c6f9aeb4b5b

Use 1.0s0 so that cl-opengl compilation is not dependent on
*READ-DEFAULT-FLOAT-FORMAT* being bound to SINGLE-FLOAT.

Reported by Sumant Oemrawsingh.

5 years agoDon't use cffi-features.
Luis Oliveira [Fri, 26 Sep 2008 13:24:46]
Don't use cffi-features.

5 years agoglu additions
mcdermott.michaelj@gmail.com [Fri, 26 Sep 2008 13:02:38]
glu additions

Added support for the following glu functions:
gluQuadOrientation
gluQuadTexture
gluQuadNormals
Also defined the C structures needed for these functions.
Set all three of the above to be exported.
Added the glu Sphere function to the export list.

5 years agoPacking pixel storage modes
Andy Hefner [Fri, 26 Sep 2008 09:11:09]
Packing pixel storage modes

5 years agoSupport anisotropic texture filtering.
Mikael Lax [Sat, 06 Sep 2008 05:06:10]
Support anisotropic texture filtering.

5 years agoFix typo in glu/library.lisp
Luis Oliveira [Fri, 22 Aug 2008 13:44:10]
Fix typo in glu/library.lisp

6 years agoExport pixel-store, pixel-transfer, pixel-map
Andy Hefner [Fri, 04 Jul 2008 18:16:31]
Export pixel-store, pixel-transfer, pixel-map

6 years agoImplement game-mode in glut:window
Luis Oliveira [Sun, 06 Jul 2008 13:59:27]
Implement game-mode in glut:window


Patch courtesy of Dan Torop.

6 years agoA few minor patches
Luis Oliveira [Sun, 06 Jul 2008 13:51:21]
A few minor patches


- in gl:tex-parameter's :texture-border-color use "elt" rather than
"aref", to be consistent with other calls in the file
- in gl:fog, implement :fog-color
- change names of some gluPerspective parameters to match their standard
names

Patch courtesy of Dan Torop.

6 years agoFix bitrot in {push,pop}{,-client}-attrib and implement with-pushed-* macros
Luis Oliveira [Sun, 06 Jul 2008 13:37:38]
Fix bitrot in {push,pop}{,-client}-attrib and implement with-pushed-* macros

6 years agoFix WITH-PUSHED-MATRIX to handle multiple return values properly.
Luis Oliveira [Sun, 06 Jul 2008 13:36:29]
Fix WITH-PUSHED-MATRIX to handle multiple return values properly.

6 years agoMinor tweaks to Charlie's patch.
Luis Oliveira [Sun, 06 Jul 2008 12:49:08]
Minor tweaks to Charlie's patch.

6 years agoGet rid of *argcp* and *argv*
Luis Oliveira [Sun, 06 Jul 2008 12:47:07]
Get rid of *argcp* and *argv*


Checked FreeGLUT's source. No need to be paranoid there.

6 years agoInt64EXT type handling
charliemac+cl-opengl@gmail.com [Sun, 04 May 2008 15:09:41]
Int64EXT type handling

Initial handling for type Int64EXT from the gl spec files. If this is the correct path, :int64-ext and
:uint64-ext will need to be handled in gl/types.lisp

6 years agosave-lisp-and-die fixes
charliemac+cl-opengl@gmail.com [Sat, 03 May 2008 20:05:45]
save-lisp-and-die fixes

- Add function (glut::ensure-init) which is only used when saving a core. It ensures *argcp* and *argv* are
(cffi:null-pointer) in the core
- Make (glut:init) run initialization of base-window class rather than on load. Without this users of this
library would need to include a manual call to (glut:init) before running their own toplevel function.


6 years agoOpenGL spec update
charliemac+cl-opengl@gmail.com [Sat, 03 May 2008 20:03:20]
OpenGL spec update

6 years agoFix typo: libGL => libGL.so
Luis Oliveira [Thu, 05 Jun 2008 14:57:35]
Fix typo: libGL => libGL.so

6 years agoDisable vb-array in the examples.
Luis Oliveira [Thu, 05 Jun 2008 14:57:04]
Disable vb-array in the examples.

6 years agocheck-error fix, :no-error versus :zero
ahefner@gmail.com [Thu, 29 May 2008 07:33:42]
check-error fix, :no-error versus :zero

Remove :no-error enum, which clashes with :zero, fixing check-error.

6 years agoBetter handling of mouse buttons.
Luis Oliveira [Fri, 07 Mar 2008 13:19:12]
Better handling of mouse buttons.


Initial patches by Johann Korndoerfer and Charlie McMackin.

6 years agoImplement gluBuild2DMipmaps
Luis Oliveira [Fri, 07 Mar 2008 13:04:14]
Implement gluBuild2DMipmaps


Patch courtesy of Johann Korndoerfer.

6 years agoWork around floating-point errors in foreign code (again)
Luis Oliveira [Fri, 07 Mar 2008 12:40:13]
Work around floating-point errors in foreign code (again)

6 years agoMinor fix to examples/misc/molview.lisp
Luis Oliveira [Wed, 19 Dec 2007 04:54:06]
Minor fix to examples/misc/molview.lisp

6 years agoAdd molview.lisp to examples, courtesy of Doug Hoyte
Luis Oliveira [Wed, 19 Dec 2007 04:43:11]
Add molview.lisp to examples, courtesy of Doug Hoyte


- See <http://article.gmane.org/gmane.lisp.cl-opengl.devel/116>
- TODO: integrate with the cl-glut-examples system.

6 years agoSpeed up with-opengl-array for common array element types
Bart Botta [Sat, 06 Oct 2007 21:12:30]
Speed up with-opengl-array for common array element types


- Pull type checks outside the copy loop in with-opengl-array for some
common element types, so cffi can optimize the conversions, array access,
etc.
Speeds up tex-image-2d of a 1024x1024 RGBA unsigned byte texture ~100x
(from ~23sec w/~3.5GB consed, to ~0.25sec w/0 consed) on SBCL 1.0.2

Handles all the types currently returned by symbolic-type->real-type,
so should be good enough for tex-image-*. May need more types if
with-opengl-array is used elsewhere, but falls through to the old
code in that case, so should still work.

6 years agoImplement tex-gen. Fix two typos.
Mikael Lax [Tue, 25 Sep 2007 06:30:55]
Implement tex-gen. Fix two typos.

6 years agoImplement some shader/program queries. Clear two FIXMEs.
Mikael Lax [Wed, 12 Sep 2007 07:40:20]
Implement some shader/program queries. Clear two FIXMEs.

7 years agoCompressed textures and draw/read-pixels
Mikael Lax [Thu, 10 May 2007 04:50:14]
Compressed textures and draw/read-pixels

7 years agoglut package: fix spelling of solid-icosahedron
Luis Oliveira [Wed, 02 May 2007 11:46:21]
glut package: fix spelling of solid-icosahedron

7 years agoglut/interface.lisp: fix bug re the ascii-to-char type
Luis Oliveira [Wed, 02 May 2007 11:23:07]
glut/interface.lisp: fix bug re the ascii-to-char type

7 years agosbcl/x86-64: disable floating point traps
Luis Oliveira [Tue, 03 Apr 2007 15:21:55]
sbcl/x86-64: disable floating point traps

7 years agoFix the ensure-float type to work with doubles
Luis Oliveira [Thu, 22 Mar 2007 21:52:20]
Fix the ensure-float type to work with doubles


Bug reported by alastair37.

7 years agowith-foreign-matrix: use %gl:float instead of :float
Luis Oliveira [Thu, 22 Mar 2007 21:06:09]
with-foreign-matrix: use %gl:float instead of :float

7 years agoPreliminary support for vertex arrays and VBOs courtesy of Thomas Weidner.
Luis Oliveira [Wed, 14 Mar 2007 15:11:52]
Preliminary support for vertex arrays and VBOs courtesy of Thomas Weidner.

7 years agoRemove useless cl-glut-examples-system package
Luis Oliveira [Sat, 10 Mar 2007 17:14:01]
Remove useless cl-glut-examples-system package

7 years agoSmall change to generate-gl-function
Luis Oliveira [Sat, 10 Mar 2007 16:29:41]
Small change to generate-gl-function


- test with pointerp and null-pointer-p

7 years agoFix name mangling
Luis Oliveira [Thu, 08 Mar 2007 23:04:43]
Fix name mangling


Patch courtesy of Bart Botta.

- fixes lispification of a bunch of the new function names.
- more type info for array of pointer args (:pointer (:pointer type))
instead of (:pointer :pointer).

7 years agoMore simplification.
Luis Oliveira [Wed, 07 Mar 2007 13:40:20]
More simplification.


- Use definline and import-export throughout the rest of the bindings.

7 years agoFix some function names, simplify lispifications
Luis Oliveira [Wed, 07 Mar 2007 11:12:42]
Fix some function names, simplify lispifications


- Fixed regex in generate-funcs.lisp and regenerated funcs.lisp.
- New macros import-export and definline.
- Used them in opengl.lisp.

7 years agoFix type names in gl/util.lisp
Luis Oliveira [Tue, 06 Mar 2007 17:12:42]
Fix type names in gl/util.lisp

7 years agoNew DEFGLEXTFUN and other minor changes
Luis Oliveira [Tue, 06 Mar 2007 17:01:14]
New DEFGLEXTFUN and other minor changes


- New DEFGLEXTFUN macro courtesy of Thomas Weidner.
- GLUT: set %gl:*gl-get-proc-address* to glut:get-proc-address.

7 years agoChange :color-buffer-bit to :color-buffer, etc, in the examples
Luis Oliveira [Mon, 05 Mar 2007 20:34:08]
Change :color-buffer-bit to :color-buffer, etc, in the examples

7 years agoFix typo in gl/opengl.lisp
Luis Oliveira [Mon, 05 Mar 2007 20:08:04]
Fix typo in gl/opengl.lisp

7 years agoAdd missing gl/bindings.lisp
Luis Oliveira [Mon, 05 Mar 2007 19:43:16]
Add missing gl/bindings.lisp

7 years agoFix glu, glut and gl/opengl.lisp with new names
Luis Oliveira [Mon, 05 Mar 2007 19:37:27]
Fix glu, glut and gl/opengl.lisp with new names

7 years agoMega patch from Bart Botta
Luis Oliveira [Mon, 05 Mar 2007 18:45:46]
Mega patch from Bart Botta


- Merged Bart Botta's stuff for generating gl/funcs.lisp from the .spec files.
Also adds new cl-opengl-bindings package with low-level functions.
Fixed some parsing bugs.
- Updated for OpenGL 2.1. (enums, too)

7 years agoGL enum changes
Luis Oliveira [Mon, 05 Mar 2007 07:36:51]
GL enum changes


- Updated .spec files for OpenGL 2.1.
- Two changes to generate-enums.lisp:
* print the symbols lower-cased;
* generates some aliases for symbols ending in -bits and -bit.
e.g.: :color-buffer-bit and :color-buffer.
- Regenerated gl/constants.lisp.

Next ->