SFML community forums
General => Feature requests => Topic started by: clort79 on January 21, 2020, 11:00:02 pm
-
As far as I can see, SFML does not support X11 'expose events'
https://www.x.org/releases/X11R7.7/doc/libX11/libX11/libX11.html#Exposure_Events (https://www.x.org/releases/X11R7.7/doc/libX11/libX11/libX11.html#Exposure_Events)
This means all SFML apps will need to redraw their window constantly, consuming excessive cpu resources under X11, unless a compositing windowmanager is used that renders windows to an offscreen buffer. We cannot guarantee such will be available.
Without such support, this is the result:
(https://user-images.githubusercontent.com/51511737/71822875-4a6b6000-3096-11ea-97b6-e0329be84779.png)
-
This means all SFML apps will need to redraw their window constantly
Yes, it's even written in the documentation and tutorials, in big red letters ;)
consuming excessive cpu resources under X11
"Excessive" is a little... excessive.
SFML is not a desktop UI framework, it's clearly not made for that.