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

Kåre Andersen kareandersen at gmail.com
Wed Feb 10 19:42:06 CET 2010


On Wed, Feb 10, 2010 at 7:38 PM,  <npomarede at corp.free.fr> wrote:
> 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" :)

Well, I already did, but no one seemed to care. Just using an
opengl-context even gives scaling in window mode with no extra fuzz...

Now, I don't care anymore - and use linux instead to make it bareable.

/Kåre



More information about the hatari-devel mailing list