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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,75fb93409baf1e22 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder.news-service.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: "Alex R. Mosteo" Newsgroups: comp.lang.ada Subject: Re: OpenGL in Ada Followup-To: comp.lang.ada Date: Wed, 06 Oct 2010 11:51:14 +0200 Organization: A noiseless patient Spider Message-ID: References: <22b09ff3-9ff1-4694-9edc-8e9f60d4281a@w19g2000yqb.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Injection-Date: Wed, 6 Oct 2010 09:51:03 +0000 (UTC) Injection-Info: mx03.eternal-september.org; posting-host="w8g++bW4v3KH0+SqtoCNSw"; logging-data="14658"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18L+LOTs23UiEw3cJd9diNz" User-Agent: KNode/4.4.6 Cancel-Lock: sha1:gkWVFe9DYO8tGLFBLvUMk/0Hu3U= Xref: g2news1.google.com comp.lang.ada:14409 Date: 2010-10-06T11:51:14+02:00 List-Id: Yves Bailly wrote: > On Oct 6, 5:45 am, a...@anon.org wrote: >> >> The complete Ada openGL source bindings can be found at: >> adaopengl.sourceforge.net >> All you needs is to download and install openGL engine set up for your >> OS. > > I've used this binding, unfortunately it's now quite outdated. For > what I can see, it only provides support for OpenGL up to 1.3, however > we're now at 4.1, with shaders and many other shiny things. That's why > I created this program. Subprograms are resolved dynamically at > runtime, if the underlying OpenGL engine doesn't provide a function > (because it's not up-to-date or the hardware itself doesn't provide > it), then the function pointer is simply set to "null". > > OpenGL is a moving thing. Since a few years we can see a new > specification every 6 months or so, a hand-made only binding seems too > much work, at least for me. There is this struggle between automatic complete bindings and manual, thick good-looking bindings... I'm a fan of completeness and automation, but it's difficult to get bearable results (case in point: SWIG). I'm curious about the binding you get with your translator. Is your binding available somewhere?