RE: [hatari-devel] ST/STE High Resolution Scaling |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: 'Nicolas Pomarède' <npomarede@xxxxxxxxxxxx>, <hatari-devel@xxxxxxxxxxxxxxxxxxx>
- Subject: RE: [hatari-devel] ST/STE High Resolution Scaling
- From: "Randy Hunsaker" <hunsra@xxxxxxxxxxx>
- Date: Fri, 13 Sep 2013 12:04:42 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1379099078; bh=7n0BSBBbKRbc72nkV08A/oP+f6QEVYeYWroatUENDRc=; h=Received:Received:From:To:Subject:Date:Message-ID:MIME-Version: Content-Type; b=adtA009L+hu2PbfpkiQ6fGZTDp+ttzAN1sov/P4n+F3/Nppz1HVD3ombZBECJ/lnS mtHis2xikE5fD14n+de+gLjmGLtmYYz3k2aQPkEXQU5w+4KARw4mmHVvgx3pZAFR47 YP0GL9eUbog4zcJORs+nQLzMZUoGo+sodDXZnUstdZkgJUWDj9wIHWW2LWIRKbC+M2 oxnfroWwbN+xFdWVoqW+NgIc7JR4coOVoUefwEPFqzGLzb+Y+gGXT/dqoqcBLy1Ds6 S05ckcfKuOMsPgLBSiaNosC/cChTX3Z3LMMczJIl3e6COnjL29mFRSpXXGI8ai3urn 8Yr3BMVFx7E8g==
- Thread-index: AQHt3VWsDIbzWAK1h1B9zom1IpF8pAG/zW6DAicmZ+4CGBxoy5lVsu/A
Hi Nicolas,
That sounds like a better solution. I'll take a look at doing that. I
assume the best place to add the 2nd pass would be in Screen_DrawFrame() or
Screen_Blit() in screen.c. Does that sound reasonable, or should I be
looking elsewhere?
Thanks,
Randy
-----Original Message-----
From: Nicolas Pomarède [mailto:npomarede@xxxxxxxxxxxx]
Sent: Friday, September 13, 2013 11:36 AM
To: hatari-devel@xxxxxxxxxxxxxxxxxxx
Cc: Randy Hunsaker
Subject: Re: [hatari-devel] ST/STE High Resolution Scaling
On 13/09/2013 20:13, Randy Hunsaker wrote:
> Thanks for the quick reply, Nicolas. I'll take a look at the source
> code and see what can be done. If I feel adventurous, I'll take a
> stab at doing this for all resolutions with hardware scaling.
>
> -Randy
You can add specific code for monochrome x2, but in the end I think it would
be better to have an optional SDL 2nd pass to take the current SDL bitmap
and apply some zooming effects (such as the ones used in several emulators
to do x2 or x4 with some filters (bilinear and so on))
By working on SDL bitmap, you only have to write a function to transform a
w1Xh1 image to another w2Xh2 image, without having to deal with the ST's
planar conversion. So the zooming function can apply to any ST video mode.
By doing so, the text used in Hatari (F12 menu and other) would of course be
zoomed and maybe it could be better to zoom only the ST part of the bitmap,
not the UI part added by Hatari, but that's could be fine tuned after.
Nicolas
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.3408 / Virus Database: 3222/6663 - Release Date: 09/13/13