Commit graph

17 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
bc611cf51c Make image support optional in iced_wgpu
This reduces binary size when image rendering is not necessary a
considerable amount.
2020-01-20 11:19:42 +01:00
Héctor Ramón Jiménez
514ccf8a72 Cache Svg load result properly
This avoids trying to reload the file constantly on every frame.
2019-12-15 07:07:49 +01:00
Héctor Ramón Jiménez
232d4873ba Put svg rendering behind a feature gate
This reduces binary size when SVG supoprt is not needed.
2019-12-15 06:45:20 +01:00
Héctor Ramón Jiménez
09707f29fc Rerasterize SVGs when resized and refactor a bit 2019-12-15 06:19:07 +01:00
Malte Veerman
895eaef99b Merged svg pipeline into image 2019-12-12 01:14:54 +01:00
Héctor Ramón Jiménez
561c3641c6 Merge branch 'master' into feature/image-from-bytes 2019-12-04 04:01:12 +01:00
Héctor Ramón Jiménez
67570a0a1d Add repr(C) to GPU types 2019-12-01 19:03:05 +01:00
Héctor Ramón Jiménez
fab6d79e84 Implement basic image cache trimming in iced_wgpu 2019-11-30 02:55:14 +01:00
Héctor Ramón Jiménez
505588d585 Allow to load an image from memory
New `image::Handle` opaque type uniquely identifying some `image::Data`,
allowing reliable caching.
2019-11-29 21:44:39 +01:00
Héctor Ramón Jiménez
700390bdb2 Use explicit Uniforms type in image pipeline 2019-11-24 17:25:54 +01:00
Héctor Ramón Jiménez
1a6333c7f3 Fix copy image instance size in iced_wgpu 2019-11-24 17:25:28 +01:00
Héctor Ramón Jiménez
422e2a6194 Avoid panic when image load fails in iced_wgpu 2019-11-24 12:03:12 +01:00
Héctor Ramón Jiménez
6a0e442ad6 Write docs for iced_wgpu 2019-11-22 22:14:24 +01:00
Héctor Ramón Jiménez
298c42ac5f Replace nalgebra with glam
`glam` compiles much faster and leverages SIMD nicely.
2019-10-31 01:41:04 +01:00
Héctor Ramón Jiménez
0a0aa3edd9 Implement clipping for images 2019-10-27 02:29:23 +01:00
Héctor Ramón Jiménez
2f8e9dbe59 Remove warnings in wgpu::image 2019-10-23 02:34:30 +02:00
Héctor Ramón Jiménez
38b6c84e77 Implement basic image rendering in iced_wgpu 2019-10-23 01:21:23 +02:00