Commit graph

766 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
ed7c327b48 Implement Default for keyboard::ModifiersState 2020-03-10 06:46:58 +01:00
Héctor Ramón Jiménez
4e0e50ae27 Fix Debug implementation of layer::cache::State 2020-03-10 06:46:11 +01:00
Héctor Ramón Jiménez
e4fbca59b4 Merge branch 'master' into feature/panes-widget 2020-03-10 06:12:06 +01:00
Héctor Ramón Jiménez
6151c52824 Rename Panes widget to PaneGrid 2020-03-10 02:57:13 +01:00
Héctor Ramón
5a91b52ef4
Merge pull request #214 from artursapek/artur/canvas-text
Implement text support in canvas widget
2020-03-09 00:48:51 +01:00
Héctor Ramón Jiménez
b4f970ee73 Implement Default for canvas::Text 2020-03-08 00:06:48 +01:00
Héctor Ramón Jiménez
e9194cbf4a Transform text position in Frame::fill_text
Also add a warning explaining its current limitations.
2020-03-08 00:06:04 +01:00
Héctor Ramón Jiménez
38d967c414 Take a slice in iced_wgpu::triangle pipeline 2020-03-07 23:47:55 +01:00
Héctor Ramón Jiménez
b74e7e7353 Implement Primitive::Cached 2020-03-07 23:45:54 +01:00
Héctor Ramón Jiménez
37f0d97159 Rename Frame::text to Frame::fill_text
This keeps the API similar to the Web Canvas API.
2020-03-07 22:28:57 +01:00
Héctor Ramón Jiménez
f35c9f25f0 Rename canvas::TextNode to canvas::Text 2020-03-07 22:27:02 +01:00
Artur Sapek
1bb8555691 implement text support in canvas widget 2020-03-06 22:01:21 -07:00
Héctor Ramón Jiménez
29219500b7 Update reqwest in pokedex example 2020-03-06 03:58:38 +01:00
Héctor Ramón
d817fe8e14
Merge pull request #91 from nvzqz/const-all-the-things
Make many functions `const`
2020-03-06 03:47:40 +01:00
Héctor Ramón Jiménez
f81827c151 Remove counterintuitive constant functions 2020-03-06 03:30:48 +01:00
Héctor Ramón Jiménez
15fad17f37 Implement panes::State::close 2020-03-05 03:12:45 +01:00
Héctor Ramón Jiménez
a6531c840b Implement Subscription::with 2020-03-05 02:08:53 +01:00
Héctor Ramón Jiménez
85ee2fc65a Merge branch 'master' into feature/panes-widget 2020-03-05 02:04:03 +01:00
Héctor Ramón Jiménez
3062c190bb Fix offsets in triangle pipeline
Yes, again...
2020-03-04 22:32:23 +01:00
Héctor Ramón Jiménez
cc310f71cc Add split hotkeys to panes example 2020-03-04 22:31:59 +01:00
Héctor Ramón Jiménez
58adfcd514 Fix Split::apply on vertical splits 2020-03-04 22:31:37 +01:00
Héctor Ramón Jiménez
d7f32d47ba Compute panes regions and focus on click 2020-03-04 22:01:57 +01:00
Héctor Ramón Jiménez
b6926d9ab4 Improve Debug implementation of cache::State 2020-03-04 21:56:59 +01:00
Héctor Ramón Jiménez
012b4adec7 Draft Panes widget and panes example 2020-03-04 04:10:26 +01:00
Héctor Ramón Jiménez
02091267bf Use new wgpu_glyph release in iced_wgpu 2020-03-03 00:07:30 +01:00
Héctor Ramón
0d4b6addcc
Merge pull request #211 from mrkgnao/master
Add support for loading already-decoded image pixels
2020-03-01 16:31:46 +01:00
Soham Chowdhury
eb7e3250d3 Note BGRA requirement in Handle::from_pixels docs 2020-03-01 06:44:06 +05:30
Soham Chowdhury
1841015428 Add support for loading already-decoded image pixels 2020-02-29 07:32:42 +05:30
Héctor Ramón Jiménez
96f75eae4d Fix offsets of buffer uploads in triangle pipeline 2020-02-28 19:38:17 +01:00
Héctor Ramón
bab7dbcaef
Merge pull request #154 from Maldela/atlas
Texture atlas
2020-02-28 15:17:16 +01:00
Héctor Ramón Jiménez
88d4cd0970 Remove unnecessary pub(crate) use 2020-02-28 14:41:07 +01:00
Héctor Ramón Jiménez
4e7159c22c Stop creating image pipeline when unnecessary 2020-02-28 14:38:42 +01:00
Héctor Ramón Jiménez
fc55e3a3df Move Atlas::deallocate after allocate 2020-02-26 20:50:32 +01:00
Héctor Ramón Jiménez
bb397cc668 Move Debug implementation for vector::Svg 2020-02-26 20:49:40 +01:00
Héctor Ramón Jiménez
271725faa5 Derive Debug for raster::Memory 2020-02-26 20:47:27 +01:00
Héctor Ramón Jiménez
deedf6e8b6 Make new texture module private for now 2020-02-26 20:36:52 +01:00
Héctor Ramón Jiménez
6cb7fb6d52 Remove unused code warnings in iced_wgpu::image 2020-02-26 20:35:39 +01:00
Héctor Ramón Jiménez
883a9f22e2 Add env_logger to svg example 2020-02-26 20:11:01 +01:00
Héctor Ramón Jiménez
d06d06e050 Deallocate atlas entries and remove padding 2020-02-26 20:10:19 +01:00
Héctor Ramón Jiménez
48d70280eb Fix multiple issues from the refactoring
- Update texture view on grow
- Fix atlas texture coordinates
- Fix fragmented uploads
2020-02-26 18:50:13 +01:00
Héctor Ramón Jiménez
c58d94f3fd Avoid creating a vertex buffer every frame 2020-02-26 12:55:04 +01:00
Héctor Ramón Jiménez
59d45a5440 Refactor texture atlas
- Split into multiple modules
- Rename some concepts
- Change API details
2020-02-26 12:34:34 +01:00
Héctor Ramón Jiménez
82f0a49062 Recompile image shaders 2020-02-25 13:27:43 +01:00
Malte Veerman
4617da2818 Implemented automatic deallocation of texture space for dropped allocations 2020-02-25 13:27:03 +01:00
Malte Veerman
8f9f44b9e8 When deallocating the last allocation in an allocator mark its layer as empty 2020-02-25 13:27:03 +01:00
Malte Veerman
2f695ef980 Updated shaders and removed debug_stub_derive dependency 2020-02-25 13:27:03 +01:00
Malte Veerman
c0996923c6 Batch image draw calls into one with multiple instances 2020-02-25 13:26:50 +01:00
Malte Veerman
3f38835105 Implement allocating large images across multiple texture array layers. 2020-02-25 13:26:50 +01:00
Malte Veerman
2f77a6bf5a Use array of atlases instead of one growing indefinitely. 2020-02-25 13:26:50 +01:00
Malte Veerman
8562a4c986 Fixed texture bleeding 2020-02-25 13:26:50 +01:00