summaryrefslogtreecommitdiffstats
path: root/wgpu (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Draw proper checkmark for `Checkbox` in `iced_wgpu`Libravatar Héctor Ramón Jiménez2019-11-143-11/+19
|
* Fix text bounds in `iced_wgpu` on nonintegral DPILibravatar Héctor Ramón Jiménez2019-11-142-2/+18
|
* Remove default styling of `Button`Libravatar Héctor Ramón Jiménez2019-11-131-22/+23
| | | | | - A background will only show if explicitly set. - `iced_wgpu` won't apply a `min_width` of 100 units anymore.
* Draft `Font` type and implement `Text::font`Libravatar Héctor Ramón Jiménez2019-11-135-28/+75
|
* Move text logic in `iced_wgpu` to a `text` moduleLibravatar Héctor Ramón Jiménez2019-11-136-82/+131
|
* 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-114-15/+35
| | | | | 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-1110-79/+121
|
* Draft new layout APILibravatar Héctor Ramón Jiménez2019-11-1010-140/+86
|
* 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.
* | Merge pull request #46 from memoryruins/from-arrayLibravatar Héctor Ramón2019-11-077-139/+49
|\ \ | |/ |/| impl From<Array> for Color
| * use Color's `From` impl in more placesLibravatar memoryruins2019-11-077-139/+49
| |
* | Update `wgpu` to `0.4` in `iced_wgpu`Libravatar Héctor Ramón Jiménez2019-11-071-2/+2
|/
* 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
|
* Fix panic in `Transformation::scale`Libravatar Héctor Ramón Jiménez2019-11-061-1/+1
|
* Remove hardcoded HiDPI scalingLibravatar Héctor Ramón Jiménez2019-11-061-1/+2
|
* Fix Tour for HiDPI (stub)Libravatar Matthias Fauconneau2019-11-061-2/+4
|
* Fix checkbox border radiusLibravatar Héctor Ramón Jiménez2019-11-051-1/+1
|
* Apply HiDPI scaling to quadsLibravatar Héctor Ramón Jiménez2019-11-056-32/+61
| | | | 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-053-16/+58
| | | | | 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-052-18/+19
|
* 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-054-72/+87
|\
| * Implement state-less scrolling in `TextInput`Libravatar Héctor Ramón Jiménez2019-11-051-56/+65
| |
| * Add horizontal offset to `Primitive::Clip`Libravatar Héctor Ramón Jiménez2019-11-054-17/+23
| |
* | Use `SystemSource` instead of `FontconfigSource`Libravatar Héctor Ramón Jiménez2019-11-031-2/+2
| |
* | Implement debug view and load system fontsLibravatar Héctor Ramón Jiménez2019-11-034-12/+92
| |
* | Move `Target` to its own moduleLibravatar Héctor Ramón Jiménez2019-11-0213-78/+96
| |
* | Draft `Metrics` and improve `Target` abstractionLibravatar Héctor Ramón Jiménez2019-11-021-30/+54
|/
* Merge branch 'feature/scrollables' into feature/text-inputLibravatar Héctor Ramón Jiménez2019-11-021-1/+1
|\
| * Add scrollable section to `tour`Libravatar Héctor Ramón Jiménez2019-11-021-1/+1
| |
* | Fix text measurement (needs further testing)Libravatar Héctor Ramón Jiménez2019-11-021-1/+1
| |
* | Render `TextInput` cursor inside the clipping areaLibravatar Héctor Ramón Jiménez2019-10-311-86/+87
| |
* | Implement cursor movement in `TextInput`Libravatar Héctor Ramón Jiménez2019-10-311-7/+28
| |
* | Merge branch 'feature/scrollables' into feature/text-inputLibravatar Héctor Ramón Jiménez2019-10-314-25/+20
|\|
| * Replace `nalgebra` with `glam`Libravatar Héctor Ramón Jiménez2019-10-314-25/+20
| | | | | | | | `glam` compiles much faster and leverages SIMD nicely.
* | Show text cursor in `TextInput`Libravatar Héctor Ramón Jiménez2019-10-301-2/+40
| |
* | Handle some `TextInput` eventsLibravatar Héctor Ramón Jiménez2019-10-304-20/+23
| |
* | Draft `TextInput` widget structureLibravatar Héctor Ramón Jiménez2019-10-303-16/+118
|/ | | | Also started a `todos` example to showcase it!
* Rename `Primitive::Scrollable` to `Clip`Libravatar Héctor Ramón Jiménez2019-10-293-3/+3
|
* Fix `Transformation` docsLibravatar Héctor Ramón Jiménez2019-10-291-11/+0
|
* Implement scrollbar interactions! :tada:Libravatar Héctor Ramón Jiménez2019-10-291-9/+78
|
* Stop leaking impl details in scrollable `Renderer`Libravatar Héctor Ramón Jiménez2019-10-291-4/+2
|
* Draw scrollbar on top of scrollable contentLibravatar Héctor Ramón Jiménez2019-10-292-39/+41
|
* 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-282-16/+11
|
* Draft text scrolling (no clipping yet!)Libravatar Héctor Ramón Jiménez2019-10-271-5/+28
|