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

npomarede at corp.free.fr npomarede at corp.free.fr
Wed Feb 10 19:38:54 CET 2010


On Wed, 10 Feb 2010, Matthias Arndt wrote:

> 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.

Of course it can be done, but can sdl do all the work and 'hide' the open 
gl stuff on all platform/os ? Because I'm not sure adding a different 
backend than SDL is a good idea.

If by "no problem" you mean it's feasible, of course ; but it will take many 
hours/weeks of code to add an opengl layer and unless someone wants to do 
it, I'm afraid it will just stay on the todo list.


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

The problem is not the idea, the problem is "who will code it" :)

Nicolas




More information about the hatari-devel mailing list