From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-91-241.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.0 required=3.0 tests=FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:a05:620a:198d:b0:774:feb:2628 with SMTP id bm13-20020a05620a198d00b007740feb2628mr190390qkb.13.1696236257470; Mon, 02 Oct 2023 01:44:17 -0700 (PDT) X-Received: by 2002:a05:6870:1a89:b0:1e0:fa9f:1536 with SMTP id ef9-20020a0568701a8900b001e0fa9f1536mr4535434oab.3.1696236257179; Mon, 02 Oct 2023 01:44:17 -0700 (PDT) Path: eternal-september.org!news.eternal-september.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 2 Oct 2023 01:44:16 -0700 (PDT) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=31.146.150.216; posting-account=niG3UgoAAAD7iQ3takWjEn_gw6D9X3ww NNTP-Posting-Host: 31.146.150.216 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Status of openGL support in GtkAda. From: Vadim Godunko Injection-Date: Mon, 02 Oct 2023 08:44:17 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 2204 Xref: news.eternal-september.org comp.lang.ada:65765 List-Id: On Thursday, September 21, 2023 at 12:37:02=E2=80=AFPM UTC+4, Rod Kay wrote= : >=20 > Has anyone had any success using openGL in GtkAda ?=20 >=20 > I tried a quick test today and although the 'Gtk.GLArea' and=20 > 'Gdk.GLContext' packages are present, I was unable to get a GL context.= =20 >=20 > Also, the testgtk program has no openGL demo, as it used to have.=20 >=20 > I used openGL/GtkAda to good effect many years ago. Has openGL=20 > support then been dropped completely ?=20 >=20 > I recall there was a Gtk3 bug related to openGL and thought that=20 > might possibly be the reason why it is absent in GtkAda. Does GtkAda use= =20 > Gtk4, yet ?=20 >=20 > I'm quite keen to try my hand at game programming (and have=20 > developed an Ada game engine library), so any advice/info would be=20 > greatly appreciated.=20 >=20 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.