Commit graph

1183 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
ab0ee1a8d0 Expose pane_grid::{Node, Content} in iced_glow 2020-05-29 02:24:09 +02:00
Héctor Ramón
01a4d65404
Merge pull request #363 from Imberflur/text-clone
Make the Text widget Clone even if the Renderer isn't
2020-05-29 02:14:09 +02:00
Héctor Ramón
8a864fcce9
Merge pull request #359 from hecrj/improvement/update-wgpu_glyph
Update `wgpu_glyph` and `glyph_brush`
2020-05-29 02:13:26 +02:00
Héctor Ramón Jiménez
0cde20b355 Merge branch 'master' into improvement/update-wgpu_glyph 2020-05-29 02:00:28 +02:00
Héctor Ramón Jiménez
67b6f044e8 Use published version of wgpu_glyph 2020-05-29 01:55:51 +02:00
Héctor Ramón Jiménez
e11b5c614f Revert "Target physical pixels for quads in iced_glow"
This reverts commit 45511a442f.
2020-05-28 22:57:30 +02:00
Héctor Ramón Jiménez
6de0a2c371 Use Sandbox in tour example 2020-05-28 22:50:40 +02:00
Héctor Ramón Jiménez
7f9813d4b3 Revert "Merge pull request #362 from hecrj/fix/target-quad-pixels"
This reverts commit 40501f630d, reversing
changes made to 5324eb1024.
2020-05-28 22:44:52 +02:00
Héctor Ramón
d3db055583
Merge pull request #354 from hecrj/feature/glow-renderer
OpenGL renderer and backend-agnostic graphics subcrate
2020-05-28 21:52:34 +02:00
Héctor Ramón Jiménez
709ed1f3f7 Fix iced_native mention of old window::Backend 2020-05-28 21:30:33 +02:00
Imbris
0a775191ab Loosen bounds on Text Clone impl 2020-05-27 22:12:38 -04:00
Héctor Ramón Jiménez
16c1261d82 Enable doc_cfg for docs.rs in iced_glow 2020-05-28 04:03:51 +02:00
Héctor Ramón
ead4186870
Merge pull request #361 from clarkmoody/pane-grid-spacing
Proper Pane Grid spacing
2020-05-28 03:45:22 +02:00
Héctor Ramón
40501f630d
Merge pull request #362 from hecrj/fix/target-quad-pixels
Align quads to physical pixels in `iced_wgpu`
2020-05-28 03:20:40 +02:00
Héctor Ramón Jiménez
4aa0d7a13a Write documentation for iced_glutin 2020-05-28 02:57:03 +02:00
Héctor Ramón Jiménez
ef28347f1c Write documentation for new iced_winit API 2020-05-28 02:49:32 +02:00
Héctor Ramón Jiménez
508128436c Write documentation for new iced_native API 2020-05-28 02:04:31 +02:00
Héctor Ramón Jiménez
b9d42a45a8 Write documentation for iced_glow 2020-05-28 01:46:17 +02:00
Héctor Ramón Jiménez
2ca7e3c4b0 Write documentation for iced_graphics 2020-05-28 01:40:30 +02:00
Héctor Ramón Jiménez
45511a442f Target physical pixels for quads in iced_glow 2020-05-27 23:17:21 +02:00
Héctor Ramón Jiménez
823ea15732 Update glyph_brush and glow_glyph 2020-05-27 23:09:27 +02:00
Clark Moody
858eafe22e Structured test cases 2020-05-27 14:24:33 -05:00
Héctor Ramón Jiménez
22ced3485e Introduce feature flags to enable iced_glow
Also keep `iced_wgpu` as the default renderer for the time being.
2020-05-27 05:05:13 +02:00
Héctor Ramón Jiménez
fbe3aa3cf4 Align quads to physical pixels in iced_wgpu 2020-05-27 00:23:42 +02:00
Clark Moody
9079014974 Tests for axis split 2020-05-26 16:47:29 -05:00
Clark Moody
334dd09817 Pane Grid spacing applied prior to rounding
On low-DPI screens, the rounding order of operations made it impossible
to produce an odd-pixel spacing. Specifying 1, for instance, produced
zero space between panes.

This approach subtracts half the spacing from the first pane prior to
rounding and uses the whole spacing for the second pane size and
coordinate.
2020-05-26 16:24:18 -05:00
Héctor Ramón Jiménez
f5ee6d0e51 Update wgpu_glyph and glyph_brush 2020-05-25 21:49:16 +02:00
Héctor Ramón
5324eb1024
Merge pull request #358 from hecrj/improvement/pane-grid-ergonomics
Implement `State::layout` and `State::with_content` in `pane_grid`
2020-05-25 20:34:10 +02:00
Héctor Ramón Jiménez
230bd6f747 Write documentation for new pane_grid API 2020-05-23 01:51:34 +02:00
Héctor Ramón Jiménez
2ab7341fa5 Implement State::with_content in pane_grid 2020-05-22 21:56:50 +02:00
Héctor Ramón Jiménez
32b9c1fdbd Return new Split in pane_grid::State::split 2020-05-22 21:55:55 +02:00
Héctor Ramón Jiménez
c620e4dc4c Implement State::get in pane_grid 2020-05-22 21:55:45 +02:00
Héctor Ramón Jiménez
f3d54a0f33 Expose Node and State::layout for PaneGrid 2020-05-22 21:55:31 +02:00
Héctor Ramón Jiménez
d1f2a18439 Implement Clone for pane_grid::State 2020-05-22 21:55:18 +02:00
Héctor Ramón Jiménez
d6bf8955db Use published glow and glow_glyph versions 2020-05-22 19:17:07 +02:00
Héctor Ramón Jiménez
1dd79c4697 Use built-in OpenGL multisampling in iced_glow 2020-05-22 19:15:39 +02:00
Héctor Ramón Jiménez
6f71a8e3d5 Use get_uniform_location for wider compatibility 2020-05-22 05:55:28 +02:00
Héctor Ramón Jiménez
1b287cddaf Use git repository for glow_glyph 2020-05-22 05:35:36 +02:00
Héctor Ramón Jiménez
c5545c7a73 Implement MSAA for triangle meshes in iced_glow 2020-05-22 01:16:12 +02:00
Héctor Ramón Jiménez
bbfb1c040c Update to latest glow 2020-05-21 19:50:53 +02:00
Héctor Ramón Jiménez
2798d4935e Remove unused overlay_font in iced_glow 2020-05-21 19:09:16 +02:00
Héctor Ramón Jiménez
60dcfc354e Draft triangle pipeline in iced_glow 2020-05-21 19:07:33 +02:00
Héctor Ramón Jiménez
d54f17c6aa Simplify integration example with Program 2020-05-21 04:57:00 +02:00
Héctor Ramón Jiménez
ae5e2c6c73 Introduce Program and State 2020-05-21 04:27:31 +02:00
Héctor Ramón Jiménez
d77492c0c3 Avoid relying origin_upper_left
It seems to cause considerable glitches when resizing.
2020-05-21 01:01:47 +02:00
Héctor Ramón Jiménez
e0e4ee73fe Implement iced_glutin 🎉 2020-05-21 00:44:35 +02:00
Héctor Ramón Jiménez
a1a5fcfd46 Refactor Viewport and Compositor 2020-05-20 20:28:35 +02:00
Héctor Ramón Jiménez
720e7756f2 Move Layer to iced_graphics 2020-05-19 23:19:39 +02:00
Héctor Ramón Jiménez
e618091248 Merge unnecessary split widget modules 2020-05-19 21:00:40 +02:00
Héctor Ramón Jiménez
c2e0c52ce0 Move Antialiasing to iced_graphics 2020-05-19 20:34:17 +02:00