RE: [hatari-devel] ST/STE High Resolution Scaling

[ Thread Index | Date Index | More Archives ]


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?


-----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


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

No virus found in this message.
Checked by AVG -
Version: 2013.0.3408 / Virus Database: 3222/6669 - Release Date: 09/15/13

Mail converted by MHonArc 2.6.19+