comp.lang.ada
 help / color / mirror / Atom feed
From: joel.s.williamson@gmail.com
Subject: Re: Anouncement: OpenGL Binding w/ Ada-2012.
Date: Tue, 23 Oct 2012 20:38:26 -0700 (PDT)
Date: 2012-10-23T20:38:26-07:00	[thread overview]
Message-ID: <86af1284-8617-490e-8c1b-27d76aaae74d@googlegroups.com> (raw)
In-Reply-To: <277d0e8f-6b00-44e9-8d1f-1d25007fcc72@googlegroups.com>

On Thursday, October 18, 2012 1:16:52 PM UTC-4, Shark8 wrote:
> 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.

Do you intend to get this working with modern OpenGL (ie 3+), as I was disappointed to see that the existing Ada bindings are only for OpenGL 2.1 and being able to use current OpenGL from current Ada would be great.

Keep up the good work.



  reply	other threads:[~2012-10-24  3:38 UTC|newest]

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