Split text measurements cache from rendering cache

This speeds up layouting in the most common scenario considerably!
🎉
This commit is contained in:
Héctor Ramón Jiménez 2019-11-11 06:07:31 +01:00
parent d4d14b68f4
commit 860a6923bb
9 changed files with 53 additions and 24 deletions

View file

@ -10,6 +10,7 @@ repository = "https://github.com/hecrj/iced"
[dependencies]
iced_native = { version = "0.1.0-alpha", path = "../native" }
wgpu = "0.4"
glyph_brush = "0.6"
wgpu_glyph = { version = "0.5", git = "https://github.com/hecrj/wgpu_glyph", branch = "feature/scissoring" }
raw-window-handle = "0.3"
image = "0.22"