Emil Ernerfeldt
1db291721f
Parallell tessellation ( #3934 )
...
* Part of https://github.com/emilk/egui/issues/1485
This adds a `rayon` feature to `epaint` and `egui` to parallelize
tessellation of large shapes, such as high-resolution plot lines.
2024-02-01 16:27:59 +01:00
Emil Ernerfeldt
401de05630
Use `Self` everywhere ( #3787 )
...
This turns on the clippy lint
[`clippy::use_self`](https://rust-lang.github.io/rust-clippy/v0.0.212/index.html#use_self )
and fixes it everywhere.
2024-01-08 17:41:21 +01:00
Emil Ernerfeldt
3c4223c6b1
Support images with rounded corners ( #3257 )
...
* Add `Rect::ZERO`
* Add `Rounding::ZERO`
* Add `RectShape::new`
* Add `Image::rounding` to support images with rounded corners
2023-08-15 09:29:30 +02:00
Emil Ernerfeldt
08fb447fb5
Increase MSRV to 1.67 ( #3234 )
...
* Bump MSRV to 1.67
* clippy fixes
* cargo clippy: inline format args
* Add `clippy::uninlined_format_args` to cranky lints
* Fix clippy on wasm
* More clippy fixes
2023-08-11 13:54:02 +02:00
Hoping White
430cbe541c
New feature to support unity vertex layout requirement ( #2493 )
...
* Update mesh.rs
adjust Vertex layout
* add unity feature
* add unity feature
* document the `unity` feature flag
---------
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
2023-02-04 15:33:41 +01:00
Emil Ernerfeldt
ea5c9483a2
Fix bug in `Mesh::split_to_u16` ( #2459 )
...
Co-authored-by: Vladislav Zhukov <vlad.zhukov@elektron.se>
2022-12-15 11:13:01 +01:00
Emil Ernerfeldt
5093b67e9b
Enable and fix some more clippy lints
2022-12-05 09:29:59 +01:00
Emil Ernerfeldt
041f2e64ba
Move all crates into a `crates` directory ( #1940 )
2022-08-20 10:41:49 +02:00