Use Bytes as the Container of ImageBuffer
Since we don't need to mutate images once loaded, we avoid unnecessary extra allocations.
This commit is contained in:
parent
7c084d9695
commit
45254ab88c
5 changed files with 105 additions and 109 deletions
|
|
@ -136,8 +136,8 @@ iced_winit = { version = "0.13.0-dev", path = "winit" }
|
|||
|
||||
async-std = "1.0"
|
||||
bitflags = "2.0"
|
||||
bytes = "1.6"
|
||||
bytemuck = { version = "1.0", features = ["derive"] }
|
||||
bytes = "1.6"
|
||||
cosmic-text = "0.10"
|
||||
dark-light = "1.0"
|
||||
futures = "0.3"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue