Commit graph

686 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
c319f5113b
Move Pipeline struct definition after Layer in quad submodules 2023-05-30 01:35:06 +02:00
Héctor Ramón Jiménez
ef547469fd
Improve boundaries between quad submodules in iced_wgpu 2023-05-30 01:33:50 +02:00
Héctor Ramón Jiménez
5fdc5affce
Rename quad_order variable to kind in quad::Pipeline::render 2023-05-30 01:17:03 +02:00
Héctor Ramón Jiménez
9659e6a848
Improve consistency of match branches in quad::Batch::add 2023-05-30 01:16:30 +02:00
Héctor Ramón Jiménez
cd7d33aa8e
Simplify order match statement in quad::Batch::add 2023-05-30 01:14:41 +02:00
Héctor Ramón Jiménez
6d650e7f99
Rename quad::Order to quad::Kind 2023-05-30 01:08:35 +02:00
Héctor Ramón Jiménez
fe9da174ca
Move layer::quad types to quad module
Not sure why I split these to begin with!
2023-05-30 01:08:34 +02:00
Bingus
eb6c663420
Adjusted Quads struct to be opaque quad::Layer. 2023-05-29 12:24:35 -07:00
Bingus
3f141459a6
Fixed issue where quads of different types were not ordered. 2023-05-29 12:14:11 -07:00
Héctor Ramón Jiménez
8ca7b884c0
Make Packed fully opaque
... by only allowing direct conversion from our `Gradient` types
2023-05-29 20:56:51 +02:00
Bingus
902e333148
Changed gradient::Packed to be repr(C) for direct gpu upload. 2023-05-26 10:13:18 -07:00
Bingus
413526ad09
Created "Packed" data structure for gradient data. 2023-05-25 10:49:26 -07:00
Bingus
a395e78596
Made gradient pack public for iced_graphics::gradient mod for use with GradientVertex2D. 2023-05-24 13:08:59 -07:00
Benoît du Garreau
dee8ede5be Update glam to 0.24 2023-05-22 17:23:42 +02:00
Héctor Ramón
cc5d11f1a6
Merge pull request #1846 from bungoboingo/feat/background-gradients
[Feature] Gradients for Backgrounds
2023-05-19 04:37:58 +02:00
Héctor Ramón Jiménez
9d25f98f0f
Reduce INITIAL_INSTANCES in wgpu::quad to 2_000 2023-05-19 04:07:53 +02:00
Héctor Ramón Jiménez
c888d0679b
Fix inconsistent pub use in wgpu::layer 2023-05-19 04:04:16 +02:00
Héctor Ramón Jiménez
e267e075cc
Avoid redundant buffer::Buffer import 2023-05-19 04:02:18 +02:00
Héctor Ramón Jiménez
f557b810f5
Keep image pipeline decoupled from quad in iced_wgpu 2023-05-19 03:59:58 +02:00
Héctor Ramón Jiménez
59663d2e45
Avoid packing gradient data for every vertex in iced_wgpu 2023-05-19 03:37:36 +02:00
Héctor Ramón Jiménez
4c1a082f04
Remove Builder abstractions for gradients 2023-05-19 03:32:21 +02:00
Héctor Ramón Jiménez
0ef5ab6c84
Remove dbg! leftovers in image::atlas 2023-05-11 20:19:37 +02:00
Héctor Ramón Jiménez
f02f0c01ea
Fix race condition when growing an image::Atlas 2023-05-11 20:18:36 +02:00
Bingus
6551a0b2ab
Added support for gradients as background variants + other optimizations. 2023-05-11 11:13:44 -07:00
Héctor Ramón Jiménez
cf434236e7
Enable doc_auto_cfg when generating documentation 2023-05-11 17:28:51 +02:00
Héctor Ramón Jiménez
de638f44a5
Write missing documentation in iced_wgpu 2023-05-11 15:37:56 +02:00
Héctor Ramón Jiménez
9a8b30d7e9
Clip text that exceeds section bounds in iced_wgpu 2023-05-08 16:41:42 +02:00
Héctor Ramón Jiménez
c6d9221ee4
Round paragraph position until we implement subpixel glyph positioning 2023-05-08 16:20:05 +02:00
Héctor Ramón Jiménez
91ef07e6eb
Warn about unsupported primitives in iced_wgpu 2023-05-08 14:51:53 +02:00
Héctor Ramón Jiménez
c189ef62a6
Use LineHeight::default in iced_wgpu::layer 2023-05-08 14:46:56 +02:00
Héctor Ramón Jiménez
9499a8f9e6
Support configurable LineHeight in text widgets 2023-05-04 18:39:31 +02:00
Héctor Ramón Jiménez
8e8808f0e1
Merge branch 'master' into advanced-text 2023-05-02 06:40:48 +02:00
Héctor Ramón Jiménez
edf3432bf5
Update glyphon and cosmic-text 2023-05-02 01:02:33 +02:00
Héctor Ramón Jiménez
4bd290afe7
Introduce text::Shaping enum and replace magic boolean 2023-05-02 01:02:32 +02:00
Héctor Ramón Jiménez
33b5a90019
Make basic text shaping the default shaping strategy 2023-05-02 01:02:13 +02:00
Héctor Ramón Jiménez
200a29c069
Fix unused import in triangle pipeline for Wasm target in iced_wgpu 2023-04-27 15:17:45 +02:00
Héctor Ramón Jiménez
d953d12c38
Fix incorrect wgpu version for Wasm builds in iced_wgpu 2023-04-26 16:48:41 +02:00
Héctor Ramón Jiménez
9c63eb7df5
Update tiny-skia and resvg 2023-04-26 16:46:27 +02:00
Héctor Ramón Jiménez
cc20baad6f
Use find(..) instead of filter(..).next() 2023-04-21 21:46:02 +02:00
Héctor Ramón Jiménez
3f0c226b74
Use point-free notation 2023-04-21 21:36:30 +02:00
David Huculak
cbb2ba38fa remove unused import 2023-04-20 21:38:52 -04:00
David Huculak
8122904ca4 wgpu 0.16 2023-04-20 21:28:47 -04:00
Héctor Ramón Jiménez
619ba9294d
Merge branch 'advanced-text' into incremental-rendering 2023-04-17 23:46:18 +02:00
Héctor Ramón Jiménez
e3730106e9
Update glyphon to latest dev 2023-04-17 23:44:26 +02:00
Héctor Ramón Jiménez
4bae457c37
Merge branch 'master' into advanced-text 2023-04-17 23:41:12 +02:00
Héctor Ramón Jiménez
c79cc2d2b3
Bump versions 🎉 2023-04-13 08:41:09 +02:00
Héctor Ramón Jiménez
b677345ac1
Get surface capabilities only once in iced_wgpu 2023-04-13 05:42:56 +02:00
Elham Aryanpur
d5453c62e9
Update wgpu to 0.15 2023-04-13 05:40:23 +02:00
Héctor Ramón Jiménez
d206b82ebb
Update glyphon 2023-04-08 07:35:16 +02:00
Héctor Ramón Jiménez
1872f7fa6d
Use *_from_env helpers from wgpu in iced_wgpu 2023-04-08 06:14:25 +02:00