mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 23:00:04 -04:00
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.
This commit is contained in:
@@ -66,7 +66,12 @@ persistence = ["serde", "epaint/serde", "ron"]
|
||||
## Enable profiling with the [`puffin`](https://docs.rs/puffin) crate.
|
||||
##
|
||||
## Only enabled on native, because of the low resolution (1ms) of clocks in browsers.
|
||||
puffin = ["dep:puffin"]
|
||||
puffin = ["dep:puffin", "epaint/puffin"]
|
||||
|
||||
## Enable parallel tessellation using [`rayon`](https://docs.rs/rayon).
|
||||
##
|
||||
## This can help performance for graphics-intense applications.
|
||||
rayon = ["epaint/rayon"]
|
||||
|
||||
## Allow serialization using [`serde`](https://docs.rs/serde).
|
||||
serde = ["dep:serde", "epaint/serde", "accesskit?/serde"]
|
||||
|
||||
Reference in New Issue
Block a user