Open GL Bindings (was Re: GPGPU Arrays)

Anders F Björklund afb at algonet.se
Thu Jul 12 01:44:53 PDT 2007


Tristam MacDonald wrote:

> So don't use derelict - I don't since I didn't want to port it to
> Mac. Honestly, all you need is a GL header file (run h2d on gl.h and
> do 5 minutes search & replace - or automate it in perl, whatever),
> and a platform context toolkit, such as GLFW or SDL, of which several
> are already around.

I put my bindings up at http://www.algonet.se/~afb/d/ a few years ago,
generated with... you guessed it: http://www.algonet.se/~afb/d/h2d.pl

...
> I would say templated-containers are desperately needed, before
> everyone rolls their own non-compatible versions. But GUI stuff (and
> I include OpenGL) in the core library? That requires unified
> cross-platform GUI toolkits, and I don't really think you will find
> anyone willing to invest a few million man-hours in that can of
> worms. What is wrong with just using wxD or similar, rather than
> polluting the standard lib?

Well put, but it wouldn't be too wrong to have e.g. old OpenGL 1.2
bindings or something simple for GUI like MinWin in the core either ?

--anders



More information about the Digitalmars-d mailing list