Re: [hatari-devel] Feedback SDL2 support |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Feedback SDL2 support
- From: Bob Carpenter <hatari@xxxxxxxxxx>
- Date: Sat, 28 Nov 2015 18:58:50 -0600
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ripon89-us.20150623.gappssmtp.com; s=20150623; h=sender:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=UopSVBii3fdMk1bRyi5s/jU2CyzCMrRObGb0StU7SM4=; b=lrtG5r0dHpa95GOc7fxWyuUEWlRkVr/8b9bMi8qmxAuKa2KnTQx72lJJUn9FviNZ3C OqZJGZUddZ3cc1r/y15acqy55qNP1rbN4SIcK5sTHdPxd/6noOrgvJBLlcq8hHwmdSRu 1P2n2dAd1enfJOsjRqL1NNvzLEZ+RkwjDl4OQPW/jDN7YxANwyaXXfDiDn0nJYjU7RhU 1MWAuGw9QX+mRD137OBwas4RZ4FOouK932vULvwhpvwgqnkW303MzO86DuIWo23bIDIy /mLrzEuW+BDa6Cr8TQhiQH1y0MOxFpdYvOs7hnU/EnzWUwaGh59ZjOtP7qzKdFF9GkTW 0mew==
David,
I know that the OS X version has been very sensitive to full screen changes. I admit that I have not tried your patch yet. If Thomas is ready to commit the patch, I will try it on OS X to make sure it works on it. I know that we’ll definitely want SDL_WINDOW_INPUT_GRABBED. However, I’m not sure whether SDL_WINDOW_FULLSCREEN or SDL_WINDOW_FULLSCREEN_DESKTOP would be best.
Jerome,
What scrambled screens are you seeing? I just compiled the OS X version today and it looks fine. I still have the problem where the Preferences dialog will not appear when I select that menu item, but that is the main problem I have seen. I have only been using ST/STe mode. I have not used TT/Falcon mode. I am also not sure what I am supposed to see if I select “Keep desktop resolution”. If you have time, I am hoping that the new SDL2 options will be added to the OS X menu. I have tried to do it, but I got lost in the connection between the PrefsController code and the NIB file.
Thomas,
I see that two new SDL2 options have been added: Use linear scaling and Use VSync. I know that linear scaling fixes the screen problem where the GEM desktop (and possibly other screens) are very jaggy. However, I am not sure what Use VSync is supposed to do and whether I should use it or not.
Bob C
> On Nov 28, 2015, at 2:22 PM, David Savinkoff <dsavnkff@xxxxxxxxx> wrote:
>
> ----- Thomas Huth wrote:
>> Am Fri, 23 Oct 2015 20:31:28 +0200
>> schrieb Thomas Huth <th.huth@xxxxxx>:
>>
>>> Am Thu, 22 Oct 2015 06:11:45 -0600 (MDT)
>>> schrieb David Savinkoff <dsavnkff@xxxxxxxxx>:
>>> [...]
>>>>>>>> Hi Thomas,
>>>>>>>>
>>>>>>>> Here is a patch that gets Fullsrceen/Windowed toggling (F11)
>>>>>>>> to work significantly better on my CentOS 5 computer. The
>>>>>>>> FULLSCREEN and BORDERLESS flags are necessary to fix
>>>>>>>> two separate problems.
>>>>>>>>
>>>>>>>> Please try this patch on your system to investigate how
>>>>>>>> things change for you.
>>>>>>>>
>>>>>>>> Thank You,
>>>>>>>> David Savinkoff
>>>>
>>>> screen.c.2.diff is the best I can do tonight.
>>>
>>> Hi David,
>>>
>>> thanks for the testing! ... however, the SDL_WINDOW_FULLSCREEN_DESKTOP
>>> has been used there on purpose - some people (especially Mac OS X
>>> guys) wanted to have that feature with SDL2. But I think I could make
>>> it optional, i.e. selectable with an option in the GUI. I'll try to
>>> come up with a patch when I've got some spare time for this (but I
>>> want to work on the 8-bit rendering removal first).
>>
>> Done, now it's possible to use resolution switching with SDL2 in
>> fullscreen, too. Please have a look whether it is working as expected.
>>
>> Thomas
>>
>>
>
> Hi Thomas,
>
> There is a small error in your patch, which if corrected should
> make my system work better.
>
> Included is an attachment with further explanation.
>
> Sincerely,
> David Savinkoff
> <screen.c.patch.bug.txt>