On Fri, Nov 18, 2011 at 9:54 AM, Igor Stasenko <siguctua@gmail.com> wrote:
2011/11/18 Levente Uzonyi <leves@elte.hu>:
On Thu, 17 Nov 2011, Javier Pimás wrote:
We are advancing on making OpenGL work with NativeBoost right now. If you have to write an app that uses OpenGL now, I would strongly recommend you to use NBOpenGL. It's
I see the hype about NBOpenGL, but I don't see how is it better than the FFI based OpenGL implementation. Can someone shed some light on it?
The marshalling code is faster. It also deals nice with per-context feature availability (depending on context you created, some functions may be availabale, some not). And it contains a lot of extensions (over 3000 OpenGL functions), up to version 3.1 , because all functions are automatically generated from specs taken from official source. A future versions of OpenGL is easy to use: you just regenerate sources from specs.
Looks great Igor ! I'm a bit curious, how this generation is automatically done ? Could you use the same technique for others C librairies ? Regards, -- Serge Stinckwich UMI UMMISCO 209 (IRD/UPMC), Hanoi, Vietnam Matsuno Laboratory, Kyoto University, Japan (until 12/2011) http://www.mechatronics.me.kyoto-u.ac.jp/ Every DSL ends up being Smalltalk http://doesnotunderstand.org/