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>
- Subject: RE: [hatari-devel] ST/STE High Resolution Scaling
- From: "Randy Hunsaker" <hunsra@xxxxxxxxxxx>
- Date: Wed, 18 Sep 2013 20:47:35 -0700
- Cc: <hatari-devel@xxxxxxxxxxxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1379562453; bh=nL/tZdK7xDUiqP5lJ8gk+7/U9AqyelknIw5cAMvlc2o=; h=Received:Received:From:To:Subject:Date:Message-ID:MIME-Version: Content-Type; b=Q7HTJIRKldjqVIrvYY0xRmpiygqhx/na4eb0kcxh02VIgpdYNqnU6IC5FobWQ7BWx yA9Z3X6nnrPwJypl63qb34eYIh+R95yaqC1P2srEuUP3IufUWd4uqRGuzay6cuhAR5 qwlUR3tXPdEh58vToX+SzQ0YQPlDh22KtOA7MWEH5SkbPgTT0XhjKZFNfWOHR62HzD 0utGXIcXz4+HVbAUnNyfHFADAyKkTsEIHCmMZxiL9/WXgMQKj/yyG/52XxIEsqGYFn GBUV31Oeu5MCfT7vmVjy1ziv5CbYtPkin6owIRHeQkkS+xHNmXVTd9HzP+JUfllxpu u/4E06SVQXzwg==
- Thread-index: AQHt3VWsDIbzWAK1h1B9zom1IpF8pAG/zW6DAicmZ+4CGBxoywLHIY16A1j2lK2ZLSBs8A==
Hi,
I think I have a model for scaling that will work. It involves using SDLs
OpenGL support, and converting the main SDL surface to a texture and
stretching it over a rectangle that represents the ST/STE screen. I've made
some preliminary code changes, and I need to link Hatari with the OpenGL
library to test them. I'm not very familiar with CMake, so I'm not sure how
to modify the CMake files to enabling linking with the library. Can you
suggest how to do this?
Thanks,
Randy
-----Original Message-----
From: Nicolas Pomarède [mailto:npomarede@xxxxxxxxxxxx]
Sent: Sunday, September 15, 2013 2:41 PM
To: Randy Hunsaker
Cc: hatari-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [hatari-devel] ST/STE High Resolution Scaling
On 13/09/2013 21:04, Randy Hunsaker wrote:
> 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
Hi
I didn't write this part, so I don't know the code path that much ; but
Screen_DrawFrame seems to be called in a few places, while Screen_Blit is
only called once at the end of Screen_DrawFrame.
So, if you want a quick way to test your code, I think Screen_Blit would be
better.
Nicolas
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.3408 / Virus Database: 3222/6669 - Release Date: 09/15/13