2008/9/17 Martin Kielhorn kielhorn.martin@googlemail.com:
The interesting part is that with sb-sys:without-gcing and sb-sys:vector-sap the starting-pointer of the array can be extracted and used in gl:tex-sub-image-2d.
Using SB-SYS:WITH-PINNED-OBJECTS instead of SB-SYS:WITHOUT-GCING would probably be a good idea. See also CFFI::WITH-POINTER-TO-VECTOR-DATA and CFFI::MAKE-SHAREABLE-BYTE-VECTOR.