ZIm/crates/gpui/src
Sunli 4fdda8d5a1
gpui: Improve path rendering & global multisample anti-aliasing (#29718)
Currently, the rendering path required creating a texture for each path,
which wasted a large amount of video memory. In our application, simply
drawing some charts resulted in video memory usage as high as 5G.

I removed the step of creating path textures and directly drew the paths
on the rendering target, adding post-processing global multi-sampling
anti-aliasing. Drawing paths no longer requires allocating any
additional video memory and also improves the performance of path
rendering.

Release Notes:

- N/A

---------

Co-authored-by: Jason Lee <huacnlee@gmail.com>
2025-07-02 09:41:42 -07:00
..
app Add Caps Lock support (#30470) 2025-06-18 00:43:33 +00:00
elements Add page up/down bindings to the Markdown preview (#33403) 2025-07-02 12:14:34 +03:00
keymap Sketch in a table for the keybindings UI (#32436) 2025-06-30 19:25:11 -04:00
platform gpui: Improve path rendering & global multisample anti-aliasing (#29718) 2025-07-02 09:41:42 -07:00
text_system Warn about unknown fields when editing settings json (#33678) 2025-06-30 23:34:25 +00:00
window gpui: Improve window.prompt to support ESC with non-English cancel text on macOS (#29538) 2025-05-30 15:26:27 +00:00
action.rs Migrate to schemars version 1.0 (#33635) 2025-06-30 21:07:28 +00:00
app.rs Sketch in a table for the keybindings UI (#32436) 2025-06-30 19:25:11 -04:00
arena.rs chore: Bump Rust version to 1.88 (#33439) 2025-06-26 20:54:19 +02:00
asset_cache.rs gpui: Relax AssetLogger trait bounds (#29450) 2025-04-29 12:43:54 -07:00
assets.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
bounds_tree.rs gpui: Optimize the ordering update in the BoundsTree (#31025) 2025-05-30 08:23:27 -07:00
color.rs Migrate to schemars version 1.0 (#33635) 2025-06-30 21:07:28 +00:00
colors.rs gpui: Add a standard text example (#30747) 2025-05-16 17:35:44 +02:00
element.rs Add initial element inspector for Zed development (#31315) 2025-05-23 23:08:59 +00:00
executor.rs Add a test for remote tool use by the agent (#30289) 2025-05-08 16:53:04 -04:00
geometry.rs Migrate to schemars version 1.0 (#33635) 2025-06-30 21:07:28 +00:00
global.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
gpui.rs Misc nitpicks, changes too small / unrelated to be in other PRs (#32768) 2025-06-15 19:51:04 +00:00
input.rs Implement character index for point (#23989) 2025-02-04 20:15:43 +00:00
inspector.rs Add a live Rust style editor to inspector to edit a sequence of no-argument style modifiers (#31443) 2025-05-26 17:43:57 +00:00
interactive.rs gpui: Simplify Action macros + support doc comments in actions! (#33263) 2025-06-24 04:34:51 +00:00
key_dispatch.rs gpui: Simplify Action macros + support doc comments in actions! (#33263) 2025-06-24 04:34:51 +00:00
keymap.rs gpui: Simplify Action macros + support doc comments in actions! (#33263) 2025-06-24 04:34:51 +00:00
path_builder.rs gpui: Improve path rendering & global multisample anti-aliasing (#29718) 2025-07-02 09:41:42 -07:00
platform.rs gpui: Improve path rendering & global multisample anti-aliasing (#29718) 2025-07-02 09:41:42 -07:00
prelude.rs Sketch in a table for the keybindings UI (#32436) 2025-06-30 19:25:11 -04:00
scene.rs gpui: Improve path rendering & global multisample anti-aliasing (#29718) 2025-07-02 09:41:42 -07:00
shared_string.rs Migrate to schemars version 1.0 (#33635) 2025-06-30 21:07:28 +00:00
shared_uri.rs Rework loading images from files (#7088) 2024-01-30 11:26:02 -05:00
style.rs Add a live Rust style editor to inspector to edit a sequence of no-argument style modifiers (#31443) 2025-05-26 17:43:57 +00:00
styled.rs Add a live Rust style editor to inspector to edit a sequence of no-argument style modifiers (#31443) 2025-05-26 17:43:57 +00:00
subscription.rs gpui: Replace Mutex with RefCell for SubscriberSet (#30907) 2025-05-19 11:08:04 +02:00
svg_renderer.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
taffy.rs gpui: Disable rounding in the layout engine (#31836) 2025-06-24 20:28:57 +00:00
test.rs Add seed argument to #[gpui::test] attribute macro (#26764) 2025-03-14 13:40:02 -03:00
text_system.rs Use ch-width (0) instead of em-width (m) for gutter width calculation (#32548) 2025-06-12 08:28:04 +03:00
util.rs chore: Bump Rust version to 1.88 (#33439) 2025-06-26 20:54:19 +02:00
view.rs Add initial element inspector for Zed development (#31315) 2025-05-23 23:08:59 +00:00
window.rs gpui: Improve path rendering & global multisample anti-aliasing (#29718) 2025-07-02 09:41:42 -07:00