Re: [hatari-devel] Suggested patch to fix the SDL GUI on KMS/DRM |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Suggested patch to fix the SDL GUI on KMS/DRM
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Sun, 1 Nov 2020 09:37:37 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1604219859; bh=uUrJ1YBPCHdMxBrESdUhxpZNL/8n0GTOD86kKnt6VvM=; h=Date:From:To:Subject:From; b=LwMYiiLaa+YBNfu+7MF42svcG8/FEzjW+ebA5tCwlU64Qolrd3qey8NjKdCrgD1DZ T0m4xwsmZyeCxx82PbyoNJStPf4mlUh48f4I8FmxBiW9pX5dCSkqrQLxzBrERwjAlK NkB8/Hve+RNSYk5OijASMQHTLuN4RuYKtxtx5sXNYSYRkOSvIsA9bRyj4PL6VhGmvT IirQd4etGtIAKGjNL7NenEBlTN53X9Vl1simKphiAU1Ui9i8IpW3sfrreNlvDbG3KW cPkzJCL2qtUsDMmARLdJN4WsBdmDRxoVpsspMgkhmv6A5r8IW2Rqm6qsqxk3HcO/Hy 50cnosDVg7lQg==
Am Sun, 1 Nov 2020 09:22:29 +0100
schrieb Christer Solskogen <christer.solskogen@xxxxxxxxx>:
> On Sun, Nov 1, 2020 at 7:17 AM Thomas Huth <th.huth@xxxxxxxxx> wrote:
>
> > Am Sat, 31 Oct 2020 09:11:08 +0100
> > schrieb Nicolas Pomarède <npomarede@xxxxxxxxxxxx>:
> >
> > I've now added a slightly more complex patch which only calls this
> > function if hardware accelerated rendering is used. So with software
> > rendering, we can still spare these cycles, and with hardware
> > rendering it should not matter too much from a performance point of
> > view anyway, so we should be on the safe side here now.
> >
> >
> It's still a bit buggy. Pressing the buttons in the menu doesn't work
> properly. It seems to me it's missing a redraw or something like that.
Where is it buggy? On the Rasberri Pi? Wayland? Both? Does it work if
you change SDL_UpdateRects() to call SDL_RenderClear() unconditionally?
Thomas