[Pharo-project] OpenGL in Pharo?

Levente Uzonyi leves at elte.hu
Fri Nov 18 03:03:01 EST 2011

On Fri, 18 Nov 2011, Igor Stasenko wrote:

> 2011/11/18 Levente Uzonyi <leves at 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

Why is it faster? Can you give me some pointers?

> 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.
> I also plan to integrate it with JIT, so when you invoking a method
> with native code, it will just run this code without extra checks and
> popping out of 'jit' mode.

It seems to me that besides the marshalling part, everything can/could be 
done with FFI too. Am I right?


>> Levente
> -- 
> Best regards,
> Igor Stasenko.

More information about the Pharo-dev mailing list