summaryrefslogtreecommitdiffstats
path: root/glow
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-07-22 18:27:33 +0700
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-07-22 18:27:33 +0700
commit357a8a95c9820651110fe4d80d8d33a2678827c0 (patch)
tree54f81a25537b793f6a83cda58549a6cb1e1d9eb9 /glow
parent217f5be8272f48a5b043d066ed1788cc127e1164 (diff)
downloadiced-357a8a95c9820651110fe4d80d8d33a2678827c0.tar.gz
iced-357a8a95c9820651110fe4d80d8d33a2678827c0.tar.bz2
iced-357a8a95c9820651110fe4d80d8d33a2678827c0.zip
Introduce `text_multithreading` to `Settings`
Diffstat (limited to 'glow')
-rw-r--r--glow/src/settings.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/glow/src/settings.rs b/glow/src/settings.rs
index cf8e891f..f3dddfaf 100644
--- a/glow/src/settings.rs
+++ b/glow/src/settings.rs
@@ -18,9 +18,13 @@ pub struct Settings {
/// If enabled, spread text workload in multiple threads when multiple cores
/// are available.
+ ///
+ /// By default, it is disabled.
pub text_multithreading: bool,
/// The antialiasing strategy that will be used for triangle primitives.
+ ///
+ /// By default, it is `None`.
pub antialiasing: Option<Antialiasing>,
}