Sat Sep 6 14:06:10 CEST 2008 Mikael Lax * Support anisotropic texture filtering. New patches: [Support anisotropic texture filtering. Mikael Lax **20080906120610] hunk ./gl/rasterization.lisp 280 - (%gl:tex-parameter-i target pname (if param 1 0))))) + (%gl:tex-parameter-i target pname (if param 1 0))) + (:texture-max-anisotropy-ext + (%gl:tex-parameter-f target pname param)))) Context: [Fix typo in glu/library.lisp Luis Oliveira **20080822204410] [Export pixel-store, pixel-transfer, pixel-map Andy Hefner **20080705011631] [Implement game-mode in glut:window Luis Oliveira **20080706205927 Patch courtesy of Dan Torop. ] [A few minor patches Luis Oliveira **20080706205121 - 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. ] [Fix bitrot in {push,pop}{,-client}-attrib and implement with-pushed-* macros Luis Oliveira **20080706203738] [Fix WITH-PUSHED-MATRIX to handle multiple return values properly. Luis Oliveira **20080706203629] [Minor tweaks to Charlie's patch. Luis Oliveira **20080706194908] [Get rid of *argcp* and *argv* Luis Oliveira **20080706194707 Checked FreeGLUT's source. No need to be paranoid there. ] [Int64EXT type handling charliemac+cl-opengl@gmail.com**20080504220941 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 ] [save-lisp-and-die fixes charliemac+cl-opengl@gmail.com**20080504030545 - 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. ] [OpenGL spec update charliemac+cl-opengl@gmail.com**20080504030320] [Fix typo: libGL => libGL.so Luis Oliveira **20080605215735] [Disable vb-array in the examples. Luis Oliveira **20080605215704] [check-error fix, :no-error versus :zero ahefner@gmail.com**20080529143342 Remove :no-error enum, which clashes with :zero, fixing check-error. ] [Better handling of mouse buttons. Luis Oliveira **20080307211912 Initial patches by Johann Korndoerfer and Charlie McMackin. ] [Implement gluBuild2DMipmaps Luis Oliveira **20080307210414 Patch courtesy of Johann Korndoerfer. ] [Work around floating-point errors in foreign code (again) Luis Oliveira **20080307204013] [Minor fix to examples/misc/molview.lisp Luis Oliveira **20071219125406] [Add molview.lisp to examples, courtesy of Doug Hoyte Luis Oliveira **20071219124311 - See - TODO: integrate with the cl-glut-examples system. ] [Speed up with-opengl-array for common array element types Bart Botta <00003b@gmail.com>**20071007041230 - 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. ] [Implement tex-gen. Fix two typos. Mikael Lax **20070925133055] [Implement some shader/program queries. Clear two FIXMEs. Mikael Lax **20070912144020] [Compressed textures and draw/read-pixels Mikael Lax **20070510115014] [glut package: fix spelling of solid-icosahedron Luis Oliveira **20070502184621] [glut/interface.lisp: fix bug re the ascii-to-char type Luis Oliveira **20070502182307] [sbcl/x86-64: disable floating point traps Luis Oliveira **20070403222155] [Fix the ensure-float type to work with doubles Luis Oliveira **20070323045220 Bug reported by alastair37. ] [with-foreign-matrix: use %gl:float instead of :float Luis Oliveira **20070323040609] [Preliminary support for vertex arrays and VBOs courtesy of Thomas Weidner. Luis Oliveira **20070314221152 ] [Remove useless cl-glut-examples-system package Luis Oliveira **20070311011401] [Small change to generate-gl-function Luis Oliveira **20070311002941 - test with pointerp and null-pointer-p ] [Fix name mangling Luis Oliveira **20070309070443 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). ] [More simplification. Luis Oliveira **20070307214020 - Use definline and import-export throughout the rest of the bindings. ] [Fix some function names, simplify lispifications Luis Oliveira **20070307191242 - Fixed regex in generate-funcs.lisp and regenerated funcs.lisp. - New macros import-export and definline. - Used them in opengl.lisp. ] [Fix type names in gl/util.lisp Luis Oliveira **20070307011242] [New DEFGLEXTFUN and other minor changes Luis Oliveira **20070307010114 - New DEFGLEXTFUN macro courtesy of Thomas Weidner. - GLUT: set %gl:*gl-get-proc-address* to glut:get-proc-address. ] [Change :color-buffer-bit to :color-buffer, etc, in the examples Luis Oliveira **20070306043408] [Fix typo in gl/opengl.lisp Luis Oliveira **20070306040804] [Add missing gl/bindings.lisp Luis Oliveira **20070306034316] [Fix glu, glut and gl/opengl.lisp with new names Luis Oliveira **20070306033727] [Mega patch from Bart Botta Luis Oliveira **20070306024546 - 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) ] [GL enum changes Luis Oliveira **20070305153651 - 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. ] [Add Lispy abstraction for GLUT's TIMER event. Luis Oliveira **20070304220421] [Make foreign types work with CFFI's new type system. Luis Oliveira **20070304220240] [Some old changes to the manual.. Luis Oliveira **20070304220205] [vertex array addition charliemac+cl-opengl@gmail.com**20061226010622 Added mostly working functionality for vertex arrays. "with-opengl-sequence" macro modified (hopefully correctly) in gl/util.lisp, possible danger of code breakage. ] [Misc patch Luis Oliveira **20061117024105 Patch courtesy of Bart Botta. ] [Applied patch from Bart Botta Oliver Markovic **20061112111533] [Pushed wrong version of render-to-texture.lisp; fixed Oliver Markovic **20061111152828] [Add render-to-texture example Oliver Markovic **20061111151241 - Add new example in examples/misc/ illustrating the use of FBOs ] [Add support for buffer objects Oliver Markovic **20061111151103 - Add vertex and pixel buffer objects - Add support for the EXT_framebuffer_object extension ] [Fix downcasing issues with enum generation. James Bielman **20060830200239] [Implement GLU projection functions. James Bielman **20060828054332 - New exported functions: GLU:PROJECT, GLU:UN-PROJECT, GLU:UN-PROJECT4. - New utility macro: WITH-OPENGL-ARRAYS for binding multiple arrays. ] [Implement numeric OpenGL state querying functions. James Bielman **20060828054131 - New exported functions: GET-BOOLEAN, GET-DOUBLE, GET-FLOAT, GET-INTEGER, and GET-ENUM. These functions are able to automatically return the correct number of return values when the query enum is in the *QUERY-ENUM-SIZES* table. ] [Replace separate enum types with generated GL:ENUM. James Bielman **20060828052308] [Add a script to generate OpenGL constants from the specifiction. James Bielman **20060828051427] [Add OpenGL specification data files for enum values. James Bielman **20060828051348] [Define foreign functions inline via DEFGLFUN helper macro. James Bielman **20060828045747] [Move GL function DEFCFUNs into funcs.lisp. James Bielman **20060828045514] [More 64-bit-cleanliness fixes, use ints instead of longs. James Bielman **20060828044816] [Fix bug in WITH-OPENGL-ARRAY when VAR and LISP-ARRAY are the same. James Bielman **20060823210517] [Use :INT as the base type for GL:INT and GL:SIZEI. James Bielman **20060823171453 - Using :LONG broke on 64-bit Linux. According to the GL header on my Linux system, GLint and GLsizei are of C type 'int'. ] [Minor fix to glut/interface.lisp Luis Oliveira **20060703224124] [CL-GLUT update Luis Oliveira **20060624235928 - Fix foreign-symbol-pointer usage in glut/fonts.lisp. - Move enums next to the DEFCFUNs where they're used. - Rework the CL-GLUT CLOS interface. - Reorganize examples and rewrite them using the updated CLOS interface. ] [s/windows/cffi-features:windows Luis Oliveira **20060425212810] [Convert array contents to floats in MAP1 and MAP2. James Bielman **20060412015458] [Add evaluator constants to the ENABLE-CAP enum. James Bielman **20060412015045] [New example: glut-teapot.lisp Luis Oliveira **20060326211537 Also, fixed a typo in the README and added a README for the examples. ] [GLUT: add missing event and fix typo Luis Oliveira **20060221054305 - Missing event: passive-motion. - fullscreen -> full-screen - move the (setf title) magic to a :before method. ] [Minor fixes to the examples Luis Oliveira **20060221054151 - add ignore declarations to unused arguments. - use MOD! ] [Oops. Forgot to darcs add examples/mesademos/package.lisp Luis Oliveira **20060219211853] [More examples Luis Oliveira **20060218054241 - New examples: rb{6,7,8,9,10,11,12,13}. - Use with-new-list in mesademos/gears.lisp. - Add copyright notices to examples. - Fix example 4 which was drawing *halftone* twice. ] [with-new-list, with-primitive and call-lists Luis Oliveira **20060218051830] [GLUT: use gl:ensure-double Luis Oliveira **20060217231013] [Small change to with-opengl-sequence Luis Oliveira **20060217224915 - Make it convert the sequence's elements to float or double when the type is gl:float or gl:double respectively. Breaks when type isn't constant, oops. ] [Tiny update to GLU Luis Oliveira **20060217222227 - Mostly move files around. (remind not to create stub files again, ugh) - Added some new functions. ] [New types: gl:ensure-double and gl:ensure-float Luis Oliveira **20060217221729 - Define and export ensure-double and ensure-float. (these need a recent CFFI) - Also export some types that'll be needed for GLU. Maybe a gl-types package would be a good idea? ] [Oops. Forgot darcs add. Luis Oliveira **20060207034827] [New examples Luis Oliveira **20060207032245 - New 5 examples from the redbook. - 2 GLU functions needed for the examples. - Added gl:polygon-stipple needed for one of the examples. - Fixed silly bugs in cl-glut's ascii-to-char type and the base-window initialize-instance. - Moved window's title initform to a special. ] [Preliminary CLOS interface to GLUT Luis Oliveira **20060206182638 - Removed a german 'ss' from rasterization.lisp which was upsetting SBCL. - New macro WITH-PUSHED-MATRIX. WITH-MATRIX might be a better name? - New experimental CLOS-based interface to GLUT. - New example using the new CLOS interface. Moved old gears exmample to gears-raw.lisp. ] [Optimizations (needs recent CFFI again) Luis Oliveira **20060203014020 - Add declarations in gears.lisp - Define the gl:* types to have no translation ] [Use internal-time-units-per-second Luis Oliveira **20060202200413] [Add fps counter to examples/mesademos/gears.lisp Luis Oliveira **20060202195354] [Texturing functions added. Oliver Markovic **20060202185907 - Added preliminary support for glTexImage and glTexSubImage. I'm still not sure on how to handle the data. - Added glCopyTexImage and glCopyTexSubImage - Added glAreTexturesResident and glPrioritizeTextures along with TEXTURE-RESIDENT-P and PRIORITIZE-TEXTURE, which are hopefully less awkward to use than the direct translations. - Added glTexEnv. ] [Oops. Missing glut/main.lisp file. Luis Oliveira **20060202190632] [GLUT update, less straw. Luis Oliveira **20060202124342 (requires recent cffi patches fixing defcenum issue and implementing defbitfield) - add missing depends-on to funcs in cl-opengl.asd - complete glut bindings. next step: high level interface. ] [Add glutSetOption. Alexey Dvoychenkov **20060202031904] [Big patch, lots of straw again. Luis Oliveira **20060201164339 - GLU: added asd file and stub .lisp files. - Examples: - added cl-glut-examples.asd - new example: gears.lisp - GLUT: added asd file and implemented a few routines. (mostly those needed by the gears.lisp example) - Add my name to HEADER too. - 3 separate manuals is probably overkill? Use only one for now. - GL: - fixed enums, these should canonicalize to GLenum, not int. - renamed gl types from GLfoo to gl:foo (and exported them) - fixed erroneus check-type. - look for libGL.so.N if libGL.so isn't found. - removed some tabs from the files. - added missing space between ":constant-attenuation" and "linear-attenuation". - added missing (declare (ignore ..)) to avoid warnings. - fixed a small bug/typo where a foreign array was being accessed as if it were Lisp array. - change ;;;-comments to ;;-comments in package.lisp in order to indent well. ] [Add documentation structure. Luis Oliveira **20060201013908 Just straw, no content. Taken from cffi mostly. ] [Minor changes Luis Oliveira **20060131190956 - added HEADER file. - changed library.lisp to use BSD license. - removed tabs from state.lisp ] [Added examples directory. Oliver Markovic **20060131120521] [Initial revision. Oliver Markovic **20060131115438] Patch bundle hash: 9daa731e9f74e6b7989ce5d19fd711a8a251165e