Re: [hatari-devel] Suggested patch to fix the SDL GUI on KMS/DRM

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi,

On 10/31/20 10:59 AM, Jens Guenther wrote:
Why is the call necessary with KMS/DRM and Wayland? Does it have any
side effects there beside clearing the surface?

IMHO this is just a "workaround", but I'm also not an expert ... ;-)
Replacing "SDL_RenderClear" with "SDL_RenderDrawPoint" or similar
functions also fixes it for Wayland ...

I guess it's related to how SDL2 and the HW
accelerated 3D driver behind it work. Any kind
of SDL draw command could "force" things to be
resolved before being presented...

I assume the problem this solves doesn't happen
with SDL1 / SW rendering?


	- Eero




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/