From: Vadim Godunko <vgodunko@gmail.com>
Subject: Re: Status of openGL support in GtkAda.
Date: Mon, 2 Oct 2023 01:44:16 -0700 (PDT) [thread overview]
Message-ID: <ca0fd6b5-b779-4903-b39a-bad8dacb9975n@googlegroups.com> (raw)
In-Reply-To: <uegvba$3e3of$1@dont-email.me>
On Thursday, September 21, 2023 at 12:37:02 PM UTC+4, Rod Kay wrote:
>
> Has anyone had any success using openGL in GtkAda ?
>
> I tried a quick test today and although the 'Gtk.GLArea' and
> 'Gdk.GLContext' packages are present, I was unable to get a GL context.
>
> Also, the testgtk program has no openGL demo, as it used to have.
>
> I used openGL/GtkAda to good effect many years ago. Has openGL
> support then been dropped completely ?
>
> I recall there was a Gtk3 bug related to openGL and thought that
> might possibly be the reason why it is absent in GtkAda. Does GtkAda use
> Gtk4, yet ?
>
> I'm quite keen to try my hand at game programming (and have
> developed an Ada game engine library), so any advice/info would be
> greatly appreciated.
>
Rod,
GtkAda is binding for Gtk+ 3.24.x version, it doesn't support Gtk 4.
GtkAda doesn't provide OpenGL API binding, but supports OpenGL. There is no example in testgtk for this reason - it requires OpenGL API binding.
next prev parent reply other threads:[~2023-10-02 8:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-21 8:38 Status of openGL support in GtkAda Rod Kay
2023-10-02 8:44 ` Vadim Godunko [this message]
2023-10-30 9:15 ` Rod Kay
2023-10-30 9:34 ` Rod Kay
2023-10-30 9:39 ` Rod Kay
2023-10-30 10:54 ` Rod Kay
2023-10-30 9:43 ` Rod Kay
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox