summaryrefslogtreecommitdiffstats
path: root/wgpu/src/renderer.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Draft `Font` type and implement `Text::font`Libravatar Héctor Ramón Jiménez2019-11-131-0/+2
|
* Move text logic in `iced_wgpu` to a `text` moduleLibravatar Héctor Ramón Jiménez2019-11-131-53/+17
|
* Load default font only in measurement cacheLibravatar Héctor Ramón Jiménez2019-11-111-6/+8
|
* Split text measurements cache from rendering cacheLibravatar Héctor Ramón Jiménez2019-11-111-12/+31
| | | | | This speeds up layouting in the most common scenario considerably! :tada:
* Draft custom layout engine based on `druid`Libravatar Héctor Ramón Jiménez2019-11-111-13/+14
|
* Draft new layout APILibravatar Héctor Ramón Jiménez2019-11-101-2/+2
|
* Merge pull request #47 from hecrj/improvement/text-performanceLibravatar Héctor Ramón2019-11-081-2/+3
|\ | | | | Improve text rendering performance in some scenarios
| * Increase initial size of text cache in `iced_wgpu`Libravatar Héctor Ramón Jiménez2019-11-071-0/+1
| | | | | | | | | | | | | | | | This reduces the amount of cache updates in general when text changes. The new cache should take 4MB of VRAM. I think this is reasonable for a modern GUI toolkit. In any case, we should be able to reduce this value in the future.
| * Align text position to pixel grid in `iced_wgpu`Libravatar Héctor Ramón Jiménez2019-11-071-2/+2
| | | | | | | | | | This avoids re-rasterizing glyphs and cache reuploads when the HiDPI factor is nonintegral.
* | use Color's `From` impl in more placesLibravatar memoryruins2019-11-071-6/+1
|/
* Floor layer coords to avoid excessive clippingLibravatar Héctor Ramón Jiménez2019-11-071-2/+2
|
* Fix integer overflow with nested clip primitivesLibravatar Héctor Ramón Jiménez2019-11-061-18/+25
|
* Apply HiDPI scaling to quadsLibravatar Héctor Ramón Jiménez2019-11-051-3/+4
| | | | The anti-aliasing strategy is pretty naive, but we will manage for now.
* Apply HiDPI to text, images, and clip primitivesLibravatar Héctor Ramón Jiménez2019-11-051-15/+38
| | | | | Quads are a bit trickier to handle. We may need to change the shaders a bit.
* Improve default font loadingLibravatar Héctor Ramón Jiménez2019-11-051-8/+11
|
* Use new `Layer` in `draw_overlay`Libravatar Héctor Ramón Jiménez2019-11-051-1/+1
|
* Merge branch 'master' into feature/performance-metricsLibravatar Héctor Ramón Jiménez2019-11-051-11/+17
|\
| * Add horizontal offset to `Primitive::Clip`Libravatar Héctor Ramón Jiménez2019-11-051-11/+17
| |
* | Implement debug view and load system fontsLibravatar Héctor Ramón Jiménez2019-11-031-12/+52
| |
* | Move `Target` to its own moduleLibravatar Héctor Ramón Jiménez2019-11-021-78/+12
| |
* | Draft `Metrics` and improve `Target` abstractionLibravatar Héctor Ramón Jiménez2019-11-021-30/+54
|/
* Draft `TextInput` widget structureLibravatar Héctor Ramón Jiménez2019-10-301-8/+14
| | | | Also started a `todos` example to showcase it!
* Rename `Primitive::Scrollable` to `Clip`Libravatar Héctor Ramón Jiménez2019-10-291-1/+1
|
* Draw scrollbar on top of scrollable contentLibravatar Héctor Ramón Jiménez2019-10-291-12/+17
|
* Issue draw calls only when necessaryLibravatar Héctor Ramón Jiménez2019-10-291-17/+21
|
* Implement text clipping (caching still broken)Libravatar Héctor Ramón Jiménez2019-10-281-13/+8
|
* Draft text scrolling (no clipping yet!)Libravatar Héctor Ramón Jiménez2019-10-271-5/+28
|
* Implement clipping for quadsLibravatar Héctor Ramón Jiménez2019-10-271-1/+2
|
* Remove `adapter` from `iced_wgpu::Renderer`Libravatar Héctor Ramón Jiménez2019-10-271-2/+0
|
* Implement clipping for imagesLibravatar Héctor Ramón Jiménez2019-10-271-6/+25
|
* Draft `Scrollable` widget (no clipping yet!)Libravatar Héctor Ramón Jiménez2019-10-251-28/+69
|
* Implement basic image rendering in `iced_wgpu`Libravatar Héctor Ramón Jiménez2019-10-231-1/+23
|
* Draft `Debugger` implementation in `iced_wgpu`Libravatar Héctor Ramón Jiménez2019-10-131-3/+30
|
* Handle mouse cursor in `iced_wgpu`Libravatar Héctor Ramón Jiménez2019-10-111-4/+3
|
* Rename `Renderer::Primitive` to `Renderer::Output`Libravatar Héctor Ramón Jiménez2019-10-111-5/+6
|
* Move `winit` logic from `iced` to `iced_winit`Libravatar Héctor Ramón Jiménez2019-10-091-5/+31
| | | | | | | | | | - Added new `renderer::Windowed` trait. This shoud allow users to easily try different renderers by simply changing one line. - Renamed `UserInterface` traits to `Application`, as the `run` method takes total control of the current thread. - Moved `MouseCursor` back to `iced_native`. The new `renderer::Windowed` trait returns one on `draw`. - Split `iced_native` renderer in multiple modules, for consistency.
* Make `iced_core::Button` customizableLibravatar Héctor Ramón Jiménez2019-10-081-10/+66
| | | | | | | Now it supports: - Any kind of content - Custom border radius - Custom background
* Use latest `wgpu`Libravatar Héctor Ramón Jiménez2019-10-071-11/+11
|
* Use `log` crate instead of `dbg!`Libravatar Héctor Ramón Jiménez2019-10-071-0/+2
|
* Render colored quadsLibravatar Héctor Ramón Jiménez2019-10-071-2/+28
|
* Rename `Box` primitive to `Quad`Libravatar Héctor Ramón Jiménez2019-10-071-2/+2
|
* Make `tour` a simple example instead of a crateLibravatar Héctor Ramón Jiménez2019-10-061-1/+1
|
* Draft `Box` primitiveLibravatar Héctor Ramón Jiménez2019-10-061-0/+3
|
* Modularize `iced_wgpu`Libravatar Héctor Ramón Jiménez2019-10-051-0/+167