slint/internal/backends/linuxkms
Simon Hausmann e1c5f4ff03 linuxkms: Fix support for "refresh_full_speed" in SLINT_DEBUG_PERFORMANCE
We trigger update_timers_and_animations() every time the event loop wakes up.
If there's a real animation in the UI going on, that'll also trigger a
request_redraw() call and all will be well.

But when the only source of animation is set_has_active_animations() from
RenderingMetricsCollector, then we might end up in a situation where the event
loop is woken up before the rendered frame is on the screen, which means we
invoke update_timers_and_animations(), but we won't render because the
previous frame isn't shown yet. When it is shown and our presentation callback
is invoked, has_active_animations() is false again.

So instead, remember if we need to re-render once after rendering()
and use that to decide if we need to re-render in the presentation callback.
2024-01-11 11:23:18 +01:00
..
calloop_backend linuxkms: decouple event loop from window adapter (#4144) 2023-12-12 13:06:36 +01:00
display Minor cleanup 2024-01-08 09:56:14 +01:00
LICENSES Update license symlinks 2023-08-16 11:46:15 +02:00
renderer Minor cleanup 2024-01-08 09:56:14 +01:00
calloop_backend.rs LinuxKMS: Add initial support for software rendering with Skia 2024-01-07 11:54:29 +01:00
Cargo.toml Add support for compiling the linuxkms backend without libseat support 2023-12-11 17:36:17 +01:00
display.rs LinuxKMS: Add initial support for software rendering with Skia 2024-01-07 11:54:29 +01:00
drmoutput.rs LinuxKMS: Add initial support for software rendering with Skia 2024-01-07 11:54:29 +01:00
fullscreenwindowadapter.rs linuxkms: Fix support for "refresh_full_speed" in SLINT_DEBUG_PERFORMANCE 2024-01-11 11:23:18 +01:00
lib.rs LinuxKMS: Add initial support for software rendering with Skia 2024-01-07 11:54:29 +01:00
mouse-pointer.svg linuxkms: Tweak mouse cursor appearance 2023-07-31 20:11:15 +02:00
noop_backend.rs Add basic support for libseat 2023-07-28 13:40:37 +02:00
README.md Janitor: linuxkms: slint-ui.com -> slint.dev 2023-10-11 08:28:31 +02:00

NOTE: This library is an internal crate of the Slint project. This crate should not be used directly by applications using Slint. You should use the slint crate instead.

WARNING: This crate does not follow the semver convention for versioning and can only be used with version = "=x.y.z" in Cargo.toml.