[cl-opengl-devel] Texture Example

Luís Oliveira luismbo at gmail.com
Wed Sep 17 11:12:48 UTC 2008


2008/9/17 Martin Kielhorn <kielhorn.martin at 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.

-- 
Luís Oliveira
http://student.dei.uc.pt/~lmoliv/



More information about the cl-opengl-devel mailing list