comp.lang.ada
 help / color / mirror / Atom feed
From: Vadim Godunko <vgodunko@gmail.com>
Subject: Re: OpenGL and QtAda 3.1
Date: Thu, 14 Jan 2010 01:00:46 -0800 (PST)
Date: 2010-01-14T01:00:46-08:00	[thread overview]
Message-ID: <9399ec84-91c4-4e05-a389-06f95ed6a6d9@q4g2000yqm.googlegroups.com> (raw)
In-Reply-To: 916b0968-0014-4fcd-b7b1-69ade4288dac@p24g2000yqm.googlegroups.com

On Jan 13, 9:40 pm, Alexis <jose_alexis_paez_thurg...@hotmail.com>
wrote:
>
> I'm interested in using OpenGL with QtAda on Windows and GNAT 2009. So
> far I have managed to subclass a Q_GL_Widget, but OpenGL support seems
> to be lacking, thus I cannot call any glXXX functions like
> glClearColor.
>
> In the past I have managed to use OpenGL with Ada using the Win32
> bindings in Win32Ada, but I'd like to do it in a "proper" and portable
> way for Qt. From checking the MSVC version it seems that Qt in Windows
> falls back to whatever native OpenGL implementation it can find on the
> machine. I guess this is what we should do in QtAda?
>
OpenGL is portable by its nature, except the interface with underling
OS/window system. Qt just fill this hole and provide portable way to
construct OpenGL window and handle events. Thus, you still need to use
some OpenGL binding to access to portable part of OpenGL API.



  reply	other threads:[~2010-01-14  9:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-13 20:40 OpenGL and QtAda 3.1 Alexis
2010-01-14  9:00 ` Vadim Godunko [this message]
2010-01-14 15:05   ` Gautier write-only
  -- strict thread matches above, loose matches on Subject: below --
2010-01-13 20:39 Alexis
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox