From: David L. <dl...@po...> - 2017-08-13 16:16:37
|
The SDL2 port should, in theory, already be scaling the guest OS' resolution up to the host OS', albeit only in fullscreen mode. What it doesn't do, however, is: 1. maintain aspect ratio. It'll stretch the guest OS' display to match the host OS'. SDL2 does have functionality to help with this, though. 2. use anti-aliasing when either of the scaling ratios have fractional components. This seems like an easy enough add, though. I'll record TODOs/issues for both of these, at my port's repo (at https://github.com/davidludwig/macemu). On Sat, Aug 12, 2017 at 8:25 AM, Ricky Zhang <zha...@gm...> wrote: > Thanks for sharing this! This will be a superb work to renovate BII. > > I don’t mean to hijack your thread. But since you touch SDL2 topic, I > wonder how to make it looks nicer in hi-res monitor. Even in 2K monitor > nowadays, I think the font size and game screen is way too small. > > I know that mini Mac has zoom 2X feature. My educated guess is that the > zoom implement this way — If there is a pixel like [x, y, RGB(r,g,b)], then > zoom 2 X is to draw a 2X2 matrix: > > [x, y, RGB(r,g,b)], [x+1, y, RGB(r,g,b)] > [x, y+1, RGB(r,g,b)], [x+1, y+1, RGB(r,g,b)] > > I can imagine in some cases it won’t looks good. Thus, we need to smooth > it with anti-aliasing. But this is beyond my expertise. > > If anyone has insight to solve this problem in hi-res, please let me know. > > thanks, > Ricky > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > basilisk-devel mailing list > bas...@li... > https://lists.sourceforge.net/lists/listinfo/basilisk-devel > |