1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 22:30:03 -04:00

Add a galley cache to Fonts to avoid doing the same layout each frame

This commit is contained in:
Emil Ernerfeldt
2021-03-29 22:06:55 +02:00
parent f9c4be33a7
commit 94baf98eab
5 changed files with 135 additions and 12 deletions

10
Cargo.lock generated
View File

@@ -840,6 +840,7 @@ dependencies = [
"ahash",
"atomic_refcell",
"emath",
"ordered-float",
"parking_lot",
"rusttype",
"serde",
@@ -1618,6 +1619,15 @@ version = "11.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575"
[[package]]
name = "ordered-float"
version = "2.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "766f840da25490628d8e63e529cd21c014f6600c6b8517add12a6fa6167a6218"
dependencies = [
"num-traits",
]
[[package]]
name = "osmesa-sys"
version = "0.1.2"