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
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
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
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 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
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
Malte Veerman
82e0675c07
Some small debug changes
2020-02-25 13:26:50 +01:00
Malte Veerman
743637ebda
Merged image and svg texture atlases into one owned by the image pipeline.
2020-02-25 13:26:50 +01:00
Malte Veerman
1bcfc9a5cc
Implemented a texture atlas for images and svgs.
2020-02-25 13:26:33 +01:00
Héctor Ramón Jiménez
be14aca075
Make output format of iced_wgpu configurable
2020-02-24 20:08:40 +01:00
FabianLars
c6c8cabdaf
moved cursor into own file
...
moved click tracking as a new State struct to input::mouse
made cursor field of text_input state private
brought back cursor type(Index, Selection) representation with a state enum
cleaned out some stuff (but not enough/all)
TODO: Documentation (sigh)
TODO: Editor struct
TODO: some (hopefully) small improvements here and there
2020-02-24 18:03:42 +01:00
FabianLars
190dcef155
Text Selection completely rewritten
2020-02-24 04:14:32 +01:00
FabianLars
b2344a852e
inital patch by Finnerale
2020-02-22 21:33:45 +01:00
Héctor Ramón Jiménez
126133ead7
Fix Clip primitive intersection in iced_wgpu
2020-02-22 18:25:43 +01:00
Héctor Ramón
17271eae67
Merge pull request #193 from hecrj/feature/canvas
...
Canvas widget for 2D graphics
2020-02-20 05:51:18 +01:00
Héctor Ramón Jiménez
9c067562fa
Write documentation for new canvas module
2020-02-18 08:48:54 +01:00
Héctor Ramón Jiménez
6922160423
Pull Checkbox default constants from its Renderer
2020-02-18 02:28:15 +01:00
Héctor Ramón Jiménez
fe61d2fd67
Request high performance adapter if MSAA is enabled
2020-02-15 10:45:45 +01:00
Héctor Ramón Jiménez
dadae12253
Implement MSAA for triangle pipeline in iced_wgpu
2020-02-15 10:08:27 +01:00
Héctor Ramón Jiménez
f5c80a6d75
Upgrade Mesh2D indices from u16 to u32
2020-02-14 05:42:19 +01:00
Héctor Ramón Jiménez
558abf648b
Add transform stack to canvas::Frame
2020-02-14 04:59:31 +01:00
Héctor Ramón Jiménez
76df374624
Implement additional methods in path::Builder
2020-02-14 02:23:41 +01:00
Héctor Ramón Jiménez
df90c478e2
Move layer::Cached to its own module
2020-02-13 03:45:07 +01:00
Héctor Ramón Jiménez
629153582f
Remove canvas::Data leftover
2020-02-12 09:24:22 +01:00
Héctor Ramón Jiménez
de8f06b512
Split Fill and Stroke into their own modules
2020-02-12 09:12:35 +01:00
Héctor Ramón Jiménez
578ea4abb8
Finish clock example
2020-02-12 08:49:42 +01:00