[hatari-devel] Issue with switching - fullscreen/windowed mode

Matthias Arndt marndt at asmsoftware.de
Wed Feb 10 19:25:02 CET 2010


Am Mittwoch, den 10.02.2010, 19:10 +0100 schrieb npomarede at corp.free.fr:
> On Wed, 10 Feb 2010, Matthias Arndt wrote:
> 
> > Am Dienstag, den 09.02.2010, 22:45 +0100 schrieb npomarede at corp.free.fr:
> >> [suggestion to implement SDL_Surface scaling]
> >
> > Wouldn't it be better to offload that to the hardware and implement an
> > Open GL renderer instead which can be enabled if the users wants to?
> >
> > [...]
> The problem is that Hatari really depends on SDL, and I don't think SDL 
> abstracts some GL calls in an OS independant way ; and trying to implement 
> open gl for windows/linux/mac would be a huge task (but it's sure open gl 
> could do hardware zooming much faster)

Well, SDL + OpenGL is done in many many many applications and games
already. I'm sure it is no problem - and in the end all it adds is an
optional package, proviging the OpenGL is stuff is neatly encapsulated
somehow.

I'm 100% it can be done! As in the end all we need to have is define a
scene with viewing a flat panel - and texture that panel with the
current SDL screen contents.

I'm interested what the OSX users like Anders have to say about this
idea. I still think it's worth pursuing.

Matthias
-- 
Matthias Arndt <marndt at asmsoftware.de>
PGP-Key: http://www.final-memory.org/files/marndt.asc   ICQ: 40358321
>>> Jabber: simonsunnyboy at jabber.ccc.de <<<





More information about the hatari-devel mailing list