comp.lang.ada
 help / color / mirror / Atom feed
From: Shark8 <onewingedshark@gmail.com>
Subject: Anouncement: OpenGL Binding w/ Ada-2012.
Date: Thu, 18 Oct 2012 10:16:51 -0700 (PDT)
Date: 2012-10-18T10:16:51-07:00	[thread overview]
Message-ID: <277d0e8f-6b00-44e9-8d1f-1d25007fcc72@googlegroups.com> (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.



             reply	other threads:[~2012-10-18 17:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-18 17:16 Shark8 [this message]
2012-10-24  3:38 ` Anouncement: OpenGL Binding w/ Ada-2012 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
replies disabled

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