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: David Savinkoff <dsavnkff@xxxxxxxxx>
- Date: Tue, 15 Dec 2015 16:14:23 -0700 (MST)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=telus.net; s=neo; t=1450221264; bh=2pmWUCY9LL94g8TawLQRzj2Owg+bq7XHXBA8oPKzReA=; h=Date:From:To:Message-ID:In-Reply-To:References:Subject: MIME-Version:Content-Type:Content-Transfer-Encoding; b=DPimw2lJbE3YWKcT1RvLar9s6q8wQAeC02GogZguKPU1fTHSaigOs5A3yXDmQ8TyI +b7nbULcWiLB9eSqwNqHU58NB0Pkj9MLt7m79t4SYhCvXiVrmvSbAuISgXi9azhje8 LikO9T0j7OMawubJyKlUkUL9uWGs+1ACO1jUh6tv7WVp5yiPR4IKZuU41y/ZDq+9l/ cFFXbDi+jGkUoTS5NR6SJGn62Um0BSGbgf7++jAohxUJZvzXEEFDzYB7i/Ajs0kdV1 qGBoYY9qlbX7oyiNmF+0Kug5EZwUH9v6HOTRQWowNG1Wl35O/KXJE1gOv4O6md7txM Y3G5pfybwoWDw==
- Thread-index: 8u8o08OmI/mOI+eYHVbFGtzb5BOV0g==
- Thread-topic: Feedback SDL2 support
----- Thomas Huth wrote:
>
> Hi David,
>
> Am Sat, 12 Dec 2015 18:54:18 -0700 (MST)
> schrieb David Savinkoff:
> [...]
> > As an example, I choose 416x312 in the SDL menu and
> > can drag the window to any size including fullscreen.
> > (The SDL menu is in low-res mode too) -- good
> >
> > When I use "Keep Fullscreen Resolution" mode, the
> > SDL menu is in high-res mode AND my 416x312 is
> > not respected. (There must be some combination of
> > resolution possibilities etc. that is not considered)
>
> Indeed, the code still tried to do software scaling to reach the
> desktop resolution as good as possible. I've added now a little change
> so that the SDL2 hardware-accelerated scaling should be used instead.
> Please give it another try!
>
> Thomas
>
>
Hi Thomas,
This latest change made two improvements:
1) The SDL2 hardware-accelerated scaling works as expected.
2) My system has less problems (I didn't have to kill Hatari).
It seems that when switching from windowed to fullscreen,
fullscreen is usually 'minimized'. I have to unminimize
from the centos desktop taskbar to get fullscreen, however,
I may have to do this several times before I succeed to
get Hatari in fullscreen.
Switching from a successful Hatari fullscreen to windowed
mode seems to work properly.