Commit graph

9 commits

Author SHA1 Message Date
Michael Aaron Murphy
8cf372c9b9
perf: inline public getters/setters, and use non-generic inner functions
To reduce compile-times and avoid some overhead to binary size, this will modify some of our
generic functions to use non-generic inner functions where possible. The inner functions are
marked carefully with `#[inline(never)]` to prevent being inlined by LLVM at their callsites

While looking for generic functions to optimize, I have also taken the opportunity to annotate
public non-generic getters and setters with `#[inline]` to ensure that LLVM will inline them
across crate boundaries. By default, only generic functions are automatically inlined, and
only when enabling fat LTO are constant functions reliably inlined across crate boundaries.
2025-03-21 13:31:34 +01:00
Ashley Wulber
337b80d4ca
feat: Tooltips and Better Surface Management 2025-03-14 16:56:21 +01:00
Ashley Wulber
2ecef3c7b2 feat: better a11y support 2024-11-11 15:02:04 -07:00
Vukašin Vojinović
127ce17b85 improv: add window border 2024-11-05 10:02:19 +01:00
Ashley Wulber
0491c4baaa libcosmic updates 2024-10-18 14:04:39 -04:00
Ashley Wulber
173ddca60f fix: refactor dnd impl to support responsive widget 2024-05-31 19:14:58 -04:00
Ashley Wulber
fa31f42cd8 fix: dnd 2024-04-04 18:47:06 -06:00
Ashley Wulber
745cba1c2c feat: add drag_destinations for container widgets 2024-04-01 22:14:42 +02:00
Michael Murphy
2d41a9e65d
refactor(widget): rename cosmic_container to layer_container 2024-03-12 16:19:35 +01:00
Renamed from src/widget/cosmic_container.rs (Browse further)