slint/sixtyfps_runtime/rendering_backends/gl
Simon Hausmann d4385280eb Fix disappearing images or panics when hiding and showing a window with wayland
Properly release GL resource when unmapping a window and detect stale
cache indices using a generation count. This fixes the disappearing
images (GL textures would be invalid and need to be re-created) as well
as the panics when an item's cache index ended up being re-used because
some other item was drawn first and allocated that indices. The latter
is fixed by using a generational counter on the cache that's bumped when
clearing, instead of a single "cache_ok" bool.
2021-05-28 09:16:24 +02:00
..
fonts Implement basic font fallbacks for WASM and macOS 2021-01-14 08:53:14 +01:00
Cargo.toml Switch to femtovg's TextContext API 2021-05-27 15:52:54 +02:00
eventloop.rs Try to create the window with a proper size already 2021-05-21 18:43:41 +02:00
fonts.rs GL backend: Move all font related code into the fonts module 2021-05-27 18:51:32 +02:00
graphics_window.rs Fix disappearing images or panics when hiding and showing a window with wayland 2021-05-28 09:16:24 +02:00
images.rs Encapsulate the winit WindowContext and wasm winit::Window handling 2021-05-27 15:53:33 +02:00
lib.rs Fix disappearing images or panics when hiding and showing a window with wayland 2021-05-28 09:16:24 +02:00
svg.rs GL: Fix rendering of scaled SVG for which height > width 2021-02-16 10:42:13 +01:00