slint/internal/core
Simon Hausmann 2d2eb70b51 Fix panic about multiple mutable borrows with the software renderer
When using repeaters - like in the slide puzzle - and during renderer a component
gets deleted, we call free_graphics_resources and try to free
the dirty rectangle list in the partial renderer cache. At that point the cache is
already mutably borrowed, which causes a panic.

As remedy, apply the mutable borrow more fine grained and not right when calling
render().
2022-06-10 08:38:34 +02:00
..
graphics Fix interpolation between gradiants of different size 2022-05-20 09:06:55 +02:00
items Fix formatting 2022-06-08 09:23:31 +02:00
LICENSES Fix LICENSES symlinks 2022-02-09 17:05:47 +01:00
model janitor: Use is_empty over comparison with len 2022-05-22 11:59:00 +02:00
swrenderer Move the software renderer to core 2022-06-04 13:40:50 +02:00
textlayout text handling: clean up font traits 2022-05-16 08:21:14 +02:00
accessibility.rs Basic Slint accessibility support (#1294) 2022-06-08 20:42:10 +02:00
animations.rs Debug: make sure that more properties have debug_name 2022-02-18 17:40:17 +01:00
api.rs C++: implement Window::on_close_requested 2022-03-17 14:49:12 +01:00
backend.rs Begin rasterizing glyphs for glyph embedding 2022-02-15 15:52:24 +01:00
callbacks.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
Cargo.toml Move the software renderer to core 2022-06-04 13:40:50 +02:00
component.rs Basic Slint accessibility support (#1294) 2022-06-08 20:42:10 +02:00
graphics.rs Put the new cache in corelib and use it in the GL backend 2022-05-31 10:48:24 +02:00
input.rs janitor: Use is_empty over comparison with len 2022-05-22 11:59:00 +02:00
item_focus.rs Basic Slint accessibility support (#1294) 2022-06-08 20:42:10 +02:00
item_rendering.rs Fix panic about multiple mutable borrows with the software renderer 2022-06-10 08:38:34 +02:00
item_tree.rs Basic Slint accessibility support (#1294) 2022-06-08 20:42:10 +02:00
items.rs Pass the ItemRc to each draw_function 2022-05-31 10:48:24 +02:00
layout.rs Declare .slint enum in one place in i-slint-common 2022-04-14 19:17:48 +02:00
lengths.rs Move the software renderer to core 2022-06-04 13:40:50 +02:00
lib.rs Basic Slint accessibility support (#1294) 2022-06-08 20:42:10 +02:00
model.rs Add model adapters 2022-05-11 15:50:43 +02:00
properties.rs Model: Do not register row data tracker if not needed 2022-04-19 15:12:15 +02:00
README.md Change the Url from sixtyfps.io to slint-ui.com 2022-02-08 08:52:46 +01:00
rtti.rs Declare .slint enum in one place in i-slint-common 2022-04-14 19:17:48 +02:00
sharedvector.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
slice.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
string.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
swrenderer.rs Fix panic about multiple mutable borrows with the software renderer 2022-06-10 08:38:34 +02:00
tests.rs Compile fix for the MCU simulator 2022-06-07 00:05:01 +02:00
textlayout.rs swrenderer: move some computation outside of loop 2022-06-08 16:36:46 +02:00
timers.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
window.rs Basic Slint accessibility support (#1294) 2022-06-08 20:42:10 +02:00

Slint Runtime Library

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.