comp.lang.ada
 help / color / mirror / Atom feed
* Anouncement: OpenGL Binding w/ Ada-2012.
@ 2012-10-18 17:16 Shark8
  2012-10-24  3:38 ` joel.s.williamson
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Shark8 @ 2012-10-18 17:16 UTC (permalink / raw)


I've recently completed the initial binding for OpenGL to Ada 2012.
It's available at http://github.com/OneWingedShark/TAO-GL


Some notes:

1) Currently all the functions from OpenGL 1.1 are included; this is because I didn't realize at the time how dated the C-headers I started out with were -- though it makes little difference in the overall amount of work which is mostly reading documentation and typing/subtyping enumerations for the parameters.

2) The preconditions are at present mostly minimalistic (just the easy/straightforward preconditions), though all of them should have the correct restrictions regarding the "raises error between glBegin/glEnd" restriction.

3) There are a few points where the binding is not nearly thick enough for my taste, mostly because I'm unsure of how to correctly translate the function [parameters esp] into nice Ada; this usually results in an exposed System.Address parameter.

If you do give it a try, feel free to post impressions, ideas, suggestions.
Thank you.



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-10-29  2:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-18 17:16 Anouncement: OpenGL Binding w/ Ada-2012 Shark8
2012-10-24  3:38 ` joel.s.williamson
2012-10-24 20:33   ` Shark8
2012-10-24 16:32 ` Quentin Ochem
2012-10-24 20:40   ` Shark8
2012-10-25 22:22     ` Quentin Ochem
2012-10-26  1:46       ` Shark8
2012-10-26 13:50 ` Yannick Duchêne (Hibou57)
2012-10-27  1:56   ` Shark8

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox