Simon Hausmann

Results 615 comments of Simon Hausmann

Valgrind log: ``` ==28079== Memcheck, a memory error detector ==28079== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al. ==28079== Using Valgrind-3.22.0 and LibVEX; rerun with -h for...

I tried the link and this is what I see: (Mobile Safari) ![IMG_0620](https://github.com/user-attachments/assets/7aca91c1-dd50-45ee-81bb-fbc5b15620e2) What am I missing?

When the frames are rendered, the timer properties evaluate to the correct value. The timer is still running though, which leads me to believe that the issue is with the...

Can confirm, this is due to "missing" pixel alignment. This for example "fixes" it in Skia: ```patch diff --git a/internal/renderers/skia/itemrenderer.rs b/internal/renderers/skia/itemrenderer.rs index 85bb766db..d4b7867a9 100644 --- a/internal/renderers/skia/itemrenderer.rs +++ b/internal/renderers/skia/itemrenderer.rs @@ -233,6...

I don't quite like the idea of fixing this in all renderers in all different `render_*` functions. So I'm leaning towards the approach that if we fix this, we fix...

I agree. I take that as a "yes" then :)

Here's another little example that reproduces this. Run with `SLINT_SCALE_FACTOR=1.5 cargo run -p slint-viewer --features renderer-skia`. The SVG icon is blurry at times. Same "fix" fixes it. [example.zip](https://github.com/user-attachments/files/17491287/example.zip)

Yes indeed. I think this is the problem: > macOS Monterey 12.7.6 We're using this [gpuResourceID](https://developer.apple.com/documentation/metal/mtltexture/gpuresourceid) API that is only in macOS 13. Perhaps there's a way to make the...