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
Héctor Ramón Jiménez
f34407bfda
Implement Frame::fill and Frame::stroke
2020-02-12 07:08:49 +01:00
Héctor Ramón Jiménez
74dd79e97f
Rename current Path to path::Builder
2020-02-12 06:41:24 +01:00
Héctor Ramón Jiménez
f436f20eb8
Draft Canvas types and clock example
2020-02-12 03:47:36 +01:00
Héctor Ramón Jiménez
8daf798e57
Add canvas feature to iced_wgpu
...
And prepare `canvas` module
2020-02-11 23:14:25 +01:00
Héctor Ramón Jiménez
5f89fab9d7
Improve consistency in new iced_wgpu types
2020-02-09 05:31:42 +01:00
Héctor Ramón Jiménez
9a73c3a88d
Write documentation for new iced_wgpu types
2020-02-09 03:44:16 +01:00
Héctor Ramón Jiménez
8f0b59a4b2
Remove scale_factor from iced_wgpu::Viewport
2020-02-09 03:36:59 +01:00
Héctor Ramón Jiménez
f1e20a61f1
Allow iced_wgpu to render to any TextureView
2020-02-09 03:25:13 +01:00
Héctor Ramón Jiménez
7d9378752a
Increase precision of scale_factor in Windowed
2020-02-07 23:50:10 -05:00
Héctor Ramón Jiménez
fb4a7968ca
Update winit to 0.20
2020-02-07 23:34:32 -05:00
sumibi-yakitori
713ed3aca1
Custom fonts can be set in the text input.
2020-01-27 04:28:40 +09:00
Héctor Ramón Jiménez
1797e15b8c
Add default padding to Button
2020-01-22 11:17:07 +01:00
Héctor Ramón
1ef7d09ce8
Merge pull request #166 from hecrj/optional-image-support
...
Make `image` support optional in `iced_wgpu`
2020-01-21 00:52:53 +01:00
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
a30553ddbb
Forbid unsafe code and Rust 2018 idioms
2020-01-20 10:52:06 +01:00
Héctor Ramón Jiménez
e6aa25a103
Make layout bounds explicit in UserInterface
2020-01-10 03:10:58 +01:00
Héctor Ramón Jiménez
e45497dfd6
Move Debugger and Windowed to a better location
...
We move `renderer::Debugger` to `layout::Debugger` and
`renderer::Windowed` to `window::Renderer`.
2020-01-10 01:58:55 +01:00
Héctor Ramón Jiménez
7b278755fc
Write missing docs and reenable deny statements
2020-01-09 18:31:07 +01:00