From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,886c71cc8d798d67 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.224.189.16 with SMTP id dc16mr6661298qab.0.1351049906343; Tue, 23 Oct 2012 20:38:26 -0700 (PDT) Received: by 10.52.93.229 with SMTP id cx5mr2492521vdb.19.1351049906288; Tue, 23 Oct 2012 20:38:26 -0700 (PDT) Path: r17ni57592152qap.0!nntp.google.com!x14no6137663qar.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 23 Oct 2012 20:38:26 -0700 (PDT) In-Reply-To: <277d0e8f-6b00-44e9-8d1f-1d25007fcc72@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=99.236.119.223; posting-account=Cz99mgoAAACdj8bP9GLLNb4jt9xtAynd NNTP-Posting-Host: 99.236.119.223 References: <277d0e8f-6b00-44e9-8d1f-1d25007fcc72@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <86af1284-8617-490e-8c1b-27d76aaae74d@googlegroups.com> Subject: Re: Anouncement: OpenGL Binding w/ Ada-2012. From: joel.s.williamson@gmail.com Injection-Date: Wed, 24 Oct 2012 03:38:26 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-10-23T20:38:26-07:00 List-Id: 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. >=20 > It's available at http://github.com/OneWingedShark/TAO-GL >=20 >=20 >=20 >=20 >=20 > Some notes: >=20 >=20 >=20 > 1) Currently all the functions from OpenGL 1.1 are included; this is beca= use 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 wh= ich is mostly reading documentation and typing/subtyping enumerations for t= he parameters. >=20 >=20 >=20 > 2) The preconditions are at present mostly minimalistic (just the easy/st= raightforward preconditions), though all of them should have the correct re= strictions regarding the "raises error between glBegin/glEnd" restriction. >=20 >=20 >=20 > 3) There are a few points where the binding is not nearly thick enough fo= r my taste, mostly because I'm unsure of how to correctly translate the fun= ction [parameters esp] into nice Ada; this usually results in an exposed Sy= stem.Address parameter. >=20 >=20 >=20 > If you do give it a try, feel free to post impressions, ideas, suggestion= s. >=20 > Thank you. Do you intend to get this working with modern OpenGL (ie 3+), as I was disa= ppointed 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.