Re: [AD] OpenGL

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Tue, 2006-07-25 at 17:00 +0200, Milan Mimica wrote:
> Elias Pschernig wrote:
> >
> > Yes. So basically, we would have two sorts of drivers: Those without
> > OpenGL, who implement the Allegro graphics API in the same way as 4.2
> > drivers. And those who use OpenGL. This second group does not need to
> > implement anything else besides providing the OpenGL context, since
> > after that, a platform independent implementation of the Allegro
> > graphics API in OpenGL should be used.
> 
> Could the second sort of driver be a "system provided accelerated 
> driver", not strictly defined as OpenGL? It could be DirectX on Windows 
> if someone implements it. Perhaps it would add yet another vtable layer 
> to allegro. The user could choose then.
> 

No. An accelerated DX driver would be a normal driver from the first
group. The point about the second group is, that you use the OpenGL API
in addition or instead of the Allegro API. Maybe it shouldn't even be a
second group, but each driver simply could have the option to create a
window with an OpenGL context, if requested.

DirectX in any case should always be hidden from the user.

-- 
Elias Pschernig





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/