View Single Post
Old 10 April 2021, 00:33   #394
FrodeSolheim
FS-UAE Developer
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 40
Posts: 3,992
Another possible reason for slowdown is that the chosen OpenGL pixel format hits a slow (conversion) path in the OpenGL driver. Also, on this old system, using 16-bit color should be much faster, so if you locate this code:

Code:
static int fsemu_video_default_format(void)
{
#ifdef FSEMU_LINUX_ARM
    return FSEMU_VIDEO_FORMAT_RGB565;
#else
    return FSEMU_VIDEO_FORMAT_BGRA;
#endif
}
in fsemu-video.c, you can change this to always returning FSEMU_VIDEO_FORMAT_RGB565:

Code:
static int fsemu_video_default_format(void)
{
    return FSEMU_VIDEO_FORMAT_RGB565;
}
(PS: I would also consider checking out the inline tip I mentioned)
FrodeSolheim is offline  
 
Page generated in 0.05776 seconds with 11 queries