[hatari-devel] Issue with switching - fullscreen/windowed mode
Eero Tamminen
eerot at users.berlios.de
Thu Mar 4 23:14:31 CET 2010
Hi,
On Monday 08 February 2010, Jerome Vernet wrote:
> I tried your patch on my OSX Build. I do not have (with or without the
> patch) any garbage. The only thing I get is, in full screen, a bad
> centered screen and, when switch back to windowed mode, a large black
> vertical stripe on the right in hires Falcon mode. Two black stripe
> (right and left) in low res. This only happen with Falcon Modes, not ST
> Modes.
>
> When switching to full screen, SDL change the screen resolution to what,
> I suppose, best match the Atari resolution. But this will not cause any
> problem on my MacBook, even with Photoshop.
I've commited a fix for this issue.
I also commited preliminary support for Falcon/TT Monitor aspect ratio
correction (similar to ST-medrez vertical doubling). It also skips SDL
video mode setting when not needed (res, bpp etc are same).
For issues in this to be found easier, I disabled the old/incorrect
Falcon/TT rez zooming that was in hostscreen.c.
My plan is next to (as there were no comments against
the dialog split when I earlier sent the patch):
1. Split Monitor and Window configuration to separate dialogs in Hatari
options
2. Remove old "Zoom low rez" option
3. Add an option for "Max doubled size" Window dialog which will increase
the size of Falcon or TT resolutions by an integer scaling factor that
provides closest (but smaller) resolution than the specified max
resolution.
Although it may use scaling factor larger than 2, I'll call it "doubling"
to make it clear that it uses an integer scaling factor. Zooming gives
IMHO false expectation by implying something that would match
the selected max resolution exactly (but if you have better name
for this option, I'm all ears! :-))....
4. Add an option for "Keep aspect ratio" to the Monitor dialog.
Disabling this will disable both ST-medrez vertical doubling and
ST-lowerez doubling in addition to Falcon modes horizontal &
vertical doubling. Aspect ratio correction will be done only if
it also keeps below given "Max doubled size".
Most of 1-3 was in the patch I've sent earlier, it just needs an update
+ "Keep aspect ratio" functionality.
- Eero
More information about the hatari-devel
mailing list