[ruby-opengl-devel] dynamic loading + fixes

Jan Dvorak jan.dvorak at kraxnet.cz
Tue Feb 27 17:30:35 EST 2007

And following up, with 1.5 functionality.
The VBO (vertex buffer object) mapping is read-only, as glMapBuffer returns 
pointer to driver memory which should be directly modified by client program, 
which can't be elegantly done in Ruby - so Gl.glMapBuffer makes copy of the 
memory chunk and returns it as classical string. (Users still have to call 
Gl.glUnmapBuffer afterwards. ). For this reason, Gl.glGetBufferPointerv also 
returns 'nil' regardless of whatever is mapped.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.5.patch
Type: text/x-diff
Size: 10607 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/ruby-opengl-devel/attachments/20070227/3528468a/attachment-0001.bin 

More information about the ruby-opengl-devel mailing list