summaryrefslogtreecommitdiffstats
path: root/wgpu/src/text.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Create `iced_widget` subcrate and re-organize the whole codebaseLibravatar Héctor Ramón Jiménez2023-03-041-8/+6
|
* Implement `Canvas` support for `iced_tiny_skia`Libravatar Héctor Ramón Jiménez2023-03-011-1/+2
|
* Trim `Cache` every 300 frames in `text::Pipeline`Libravatar Héctor Ramón Jiménez2023-02-241-3/+13
|
* Collapse conditional and please `clippy`Libravatar Héctor Ramón Jiménez2023-02-241-0/+1
|
* Grow atlas in `text::Pipeline` when necessaryLibravatar Héctor Ramón Jiménez2023-02-241-18/+36
|
* Set scissoring properly in `text::Pipeline`Libravatar Héctor Ramón Jiménez2023-02-241-0/+8
|
* Reuse a `RenderPass` as much as possible in `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-02-241-27/+13
|
* Apply `ceil` to text bounds when drawingLibravatar Héctor Ramón Jiménez2023-02-241-2/+4
|
* Set `Attrs::monospaced` if `Font::Monospace` is selectedLibravatar Héctor Ramón Jiménez2023-02-241-10/+13
|
* Set a minimum `height` for `Buffer` of `size * 1.2`Libravatar Héctor Ramón Jiménez2023-02-241-1/+4
| | | | | This avoids text from misteriously disappearing, even if the user uses a `height` that isn't enough to fit the text.
* Stop truncating the `renderers` in `text::Pipeline`Libravatar Héctor Ramón Jiménez2023-02-241-1/+0
| | | | | We avoid recreating buffers this way, and the amount of layers should stay relatively low anyways.
* Avoid allocating `text_areas` in `text::Pipeline`Libravatar Héctor Ramón Jiménez2023-02-241-7/+4
|
* Stop reusing `SwashCache` in `text::Pipeline`Libravatar Héctor Ramón Jiménez2023-02-241-7/+1
| | | | | `SwashCache` can't be easily trimmed and it's not really getting us anything since `glyphon` already caches using a glyph atlas anyways.
* Disable `std` feature for `twox-hash` to fix Wasm buildLibravatar Héctor Ramón Jiménez2023-02-241-3/+8
|
* Fix `clippy` lints :tada:Libravatar Héctor Ramón Jiménez2023-02-241-6/+7
|
* Load `Iced-Icons.ttf` font in `text::Pipeline::new`Libravatar Héctor Ramón Jiménez2023-02-241-1/+7
|
* Use floating coordinates directly in `text::Pipeline`Libravatar Héctor Ramón Jiménez2023-02-241-7/+6
|
* Implement `font::load` command in `iced_native`Libravatar Héctor Ramón Jiménez2023-02-241-204/+266
|
* Overhaul `Font` type to allow font family selectionLibravatar Héctor Ramón Jiménez2023-02-241-4/+6
|
* Count `layout_runs` instead of using `visible_lines` in ↵Libravatar Héctor Ramón Jiménez2023-02-241-6/+7
| | | | `text::Pipeline::prepare`
* Implement `hit_test` for `text::Pipeline` in `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-02-241-6/+18
|
* Use `bounds` directly for `measure` in text pipelineLibravatar Héctor Ramón Jiménez2023-02-241-4/+1
|
* Avoid unnecessary `Vec` allocation in text pipelineLibravatar Héctor Ramón Jiménez2023-02-241-7/+5
|
* Trim text `render_cache` after rendering in `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-02-241-0/+2
|
* Implement basic text caching in `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-02-241-60/+141
|
* Convert sRGB to linear RGB for text in `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-02-241-2/+8
|
* Implement proper text alignment support in `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-02-241-5/+32
|
* Implement support for multiple text layers in `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-02-241-13/+32
|
* Draft `glyphon` implementation of text pipeline for `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-02-241-10/+150
|
* Remove `iced_glow`, `glyph-brush`, and `wgpu_glyph` dependenciesLibravatar Héctor Ramón Jiménez2023-02-241-245/+19
|
* Address Clippy lintsLibravatar Poly2022-07-091-1/+2
|
* Experimental wgpu WebGL backend supportLibravatar Vladyslav Nikonov2022-01-281-3/+7
| | | | | | | | - Added missing `draw_cache_align_4x4` call for `brush_glyph` on wasm32 target - Added WebGL support to `integratio_wgpu` example - Fixed test.yml CI workflow - Removed spir-v shader in `integration_wgpu`; Fixed formatting - Removed redundant `BoxStream` typedef
* Use `Iterator::min_by` instead of `fold` in `hit_test`Libravatar Héctor Ramón Jiménez2021-09-151-13/+11
|
* Use `Option` to encode empty text case in hit test methodsLibravatar Héctor Ramón Jiménez2021-09-151-8/+10
|
* Rename `HitTestResult` to `Hit`Libravatar Héctor Ramón Jiménez2021-08-261-7/+7
| | | | ... and also move it to a new `text` module in `iced_core`
* Implement textual hit testingLibravatar Tom2021-08-211-0/+92
|
* Add `text_multithreading` to `Settings` in `iced_glow` and `iced_wgpu`Libravatar Héctor Ramón Jiménez2021-07-221-3/+2
|
* feat: expose draw_cache_multithreadLibravatar Yusuf Bera Ertan2021-06-141-1/+3
|
* Touch support for `PaneGrid` and `PickList` (#650)Libravatar anunge2021-02-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * touch events properly parsed and converted to logical size, button working * scrolling with a nice touch * fixed application state level touch cursor. panel_grid is touchable now. * format glicthes fixes * format glitches * tight format * fixed pane grid * fixing with upstream * Remove unused `touch` module from `iced_core` * Remove unused `crate::text` import in `iced_native` * Remove redundant match branch in `iced_winit` * Keep removed line break in `UserInterface::update` * Compute `text_size` only when bounds contains cursor in `overlay::menu` Co-authored-by: Héctor Ramón Jiménez <hector0193@gmail.com>
* Update `wgpu` to `0.6` in `iced_wgpu`Libravatar Héctor Ramón Jiménez2020-08-271-0/+2
|
* Feature gate `font-kit` behind `"default_system_font"` feature.Libravatar Azriel Hoh2020-05-311-6/+11
|
* Merge branch 'master' into improvement/update-wgpu_glyphLibravatar Héctor Ramón Jiménez2020-05-291-17/+4
|\
| * Update `glyph_brush` and `glow_glyph`Libravatar Héctor Ramón Jiménez2020-05-271-16/+0
| |
| * Move `Layer` to `iced_graphics`Libravatar Héctor Ramón Jiménez2020-05-191-4/+0
| |
| * Move built-in fonts to `iced_graphics`Libravatar Héctor Ramón Jiménez2020-05-191-11/+2
| |
| * Move `font::Source` to `iced_graphics`Libravatar Héctor Ramón Jiménez2020-05-191-3/+1
| |
| * Draft new `iced_graphics` crate :tada:Libravatar Héctor Ramón Jiménez2020-05-191-1/+1
| |
* | Update `wgpu_glyph` and `glyph_brush`Libravatar Héctor Ramón Jiménez2020-05-251-46/+30
|/
* Change `&mut wgpu::Device` to `&wgpu::Device` (#299)Libravatar Lain-dono2020-04-161-2/+2
| | | | | * Change `&mut wgpu::Device` to `&wgpu::Device` * Fix for rustfmt
* Make output format of `iced_wgpu` configurableLibravatar Héctor Ramón Jiménez2020-02-241-2/+6
|